{"id":2463,"date":"2014-05-12T09:27:39","date_gmt":"2014-05-12T09:27:39","guid":{"rendered":"http:\/\/blog.cloudthat.com\/?p=2463"},"modified":"2024-06-25T11:14:28","modified_gmt":"2024-06-25T11:14:28","slug":"try-openstack-icehouse-with-rdo","status":"publish","type":"blog","link":"https:\/\/www.cloudthat.com\/resources\/blog\/try-openstack-icehouse-with-rdo","title":{"rendered":"Try OpenStack Icehouse with RDO"},"content":{"rendered":"<p>OpenStack&#8217;s 9th release Icehouse is here and I decided to give it a spin. I will be performing the installation on RHEL 6.5 and\u00a0what better way to try out OpenStack than Red Hat&#8217;s RDO. For starters RDO is a community version of Red Hat Enterprise Linux OpenStack Platform. Read more about <a href=\"https:\/\/openstack.redhat.com\/Main_Page\" target=\"_blank\" rel=\"noopener\">RDO here<\/a>.<\/p>\n<p>I encountered a lot of errors during the installation and it was not as straight forward as mentioned in the RDO quick start guide. So the steps outlined here along with the changes is a result of my experience with the installation process. I performed some additional pre-requisites and ran some additional commands to ensure a smooth installation. The changes are highlighted in bold.<\/p>\n<h2>Pre-requisites:<\/h2>\n<ul>\n<li>A desktop\/laptop with decent CPU, RAM &amp; HDD. Most newer machines with Core i3 &amp; above with 4GB RAM would suffice.<\/li>\n<li><span style=\"line-height: 13px;\">A hypervisor like VMware Workstation, VMware Player or Virtualbox<\/span><\/li>\n<li>A Linux Virtual Machine or a Linux distro to create one. For Icehouse Red Hat 6.5 is recommended. Distros like Fedora (20 or above), or similar ones\u00a0based on Red Hat or Fedora like Cent OS (6.5 recommended), Scientific Linux will also do. I will be installing it on Red Hat EL 6.5 as mentioned earlier.<\/li>\n<li><strong>I would highly recommend that if using Red Hat, register the machine on RHN network. For those that don&#8217;t have one, you can get a 30 day trial but you need to use a corporate email address.\u00a0<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Step 1:<\/h3>\n<p>Get a Linux Virtual Machine ready. If you don&#8217;t have one, use of the compatible distributions to create one. Be sure to provide at least 2GB RAM, 2 CPU cores and most importantly make sure &#8220;<em>H\/W Virtualization like Intel VT-x\/EPT or AMD-V\/RVI<\/em>&#8221; is enabled\/checked in the virtual machine properties.<\/p>\n<p><a href=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/Capture1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2467\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/Capture1-300x100.png\" alt=\"HWVirt\" width=\"300\" height=\"100\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><em>NAT<\/em> worked fine for me but if you end up facing some issues with networking during installation or post installation change the networking mode to &#8220;<em>Bridged<\/em>&#8220;.<\/p>\n<p><a href=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/Capture2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2468\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/Capture2-300x63.png\" alt=\"Network\" width=\"300\" height=\"63\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Once the virtual machine is ready, launch it.<\/p>\n<p>&nbsp;<\/p>\n<h3>Step 2:<\/h3>\n<p>After logging on to the Virtual Machine, open a terminal and run the below commands in order.<\/p>\n<p>&nbsp;<\/p>\n<pre><strong>sudo setenforce permissive<\/strong><\/pre>\n<p>This command is to ask SELinux not to enforce policies. I would recommend using this instead of disabling SELinux completely.<\/p>\n<p>&nbsp;<\/p>\n<pre><strong>sudo yum update -y<\/strong><\/pre>\n<p>The above command updates the current packages in the distribution. Mine was already the latest so there was nothing to do.<\/p>\n<p>&nbsp;<\/p>\n<pre><strong>sudo yum install -y https:\/\/rdo.fedorapeople.org\/rdo-release.rpm<\/strong><\/pre>\n<p>This command installs the RDO repositories needed for the successful installation of OpenStack.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Additional step:<\/strong><\/p>\n<pre><strong><em>sudo yum-config-manager --enable rhel-6-server-optional-rpms<\/em><\/strong><\/pre>\n<p><strong>This command enables the optional RPMs which contains some of the dependency packages like\u00a0<em>rubygems<\/em>\u00a0and\u00a0<em>rubygem-json<\/em>.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<pre><strong>sudo yum install -y openstack-packstack<\/strong><\/pre>\n<p>Next step is to install the packstack utility which uses Puppet to deploy various components of OpenStack either in a single machine or multiple machines over network using SSH.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Additional step:<\/strong><\/p>\n<pre><strong><em>sudo yum install -y puppet<\/em><\/strong><\/pre>\n<p><strong>This command installs\u00a0<em>Puppet<\/em>. I encountered numerous errors on multiple occasions during the installation related to\u00a0<em>Puppet<\/em>, including a point where it failed to install\u00a0<em>Puppet<\/em>\u00a0properly too. So I decided to install it separately before starting the\u00a0<em>Packstack<\/em>\u00a0installation.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<pre><strong>packstack --allinone<\/strong><\/pre>\n<p>This starts the OpenStack Icehouse installation.<\/p>\n<p>&nbsp;<\/p>\n<p>Once installation is complete, you will get a summary with the IP address of the Horizon Dashboard and some other services. The successful completion will look something like this screenshot below.<\/p>\n<p><a href=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/Openstackicehousesuccess.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2471\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/Openstackicehousesuccess.png\" alt=\"Openstackicehousesuccess\" width=\"300\" height=\"133\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>Step 3:<\/h3>\n<p>You are now ready to test drive OpenStack Icehouse. Open a browser and point it to the IP address for Horizon Dashboard noted earlier. The default login is &#8220;<span style=\"text-decoration: underline;\"><strong>admin<\/strong><\/span>&#8221; and in order to get the password for the first time login, open a terminal and run the commands below as root:<\/p>\n<pre><strong>cat ~\/keystonerc_admin<\/strong><\/pre>\n<p>This will printout the keystone credential details for admin user, note down the password.<\/p>\n<p><a href=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/OSI-Password.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2472\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/OSI-Password.png\" alt=\"OSI-Password\" width=\"300\" height=\"80\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Enter username and password at the Horizon Dashboard login screen and sing in.<\/p>\n<p><a href=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/OSI-Login.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2473\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/OSI-Login-266x300.png\" alt=\"OSI-Login\" width=\"266\" height=\"300\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Overview of the fresh setup.<\/p>\n<p><a href=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/OSI-Overview.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2474\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/OSI-Overview.png\" alt=\"OSI-Overview\" width=\"300\" height=\"119\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>We are now ready to play around with OpenStack Icehouse. This was a simple one machine installation. RDO can also be used for multiple machine installation of course with some modifications and tweaks.<\/p>\n<p>&nbsp;<\/p>\n<p>If you are interested in learning more about OpenStack and getting some hands-on, we offer Red Hat OpenStack Administration (CL210) course. If you are interested, click\u00a0<a href=\"https:\/\/cloudthat.in\/course\/red-hat-openstack-administration-cl210\/\">here<\/a>\u00a0for more details and to fill out the form. And we will get back to you.<\/p>\n<p>If you liked the post, please share and keep coming back for more articles around OpenStack.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"author":220,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"open","template":"","blog_category":[3607,3614,3615],"user_email":"sangram@cloudthat.in","published_by":"324","primary-authors":"","secondary-authors":"","acf":[],"_links":{"self":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog\/2463"}],"collection":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/users\/220"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/comments?post=2463"}],"version-history":[{"count":1,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog\/2463\/revisions"}],"predecessor-version":[{"id":43428,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog\/2463\/revisions\/43428"}],"wp:attachment":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/media?parent=2463"}],"wp:term":[{"taxonomy":"blog_category","embeddable":true,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog_category?post=2463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}