RDO-havana on Fedora 19.

This week, i was trying to solve a bug in openstack-manuals related to heat component of Openstack. It propels me to try heat on RDO. RDO is an OpenStack distribution for deployment on RHEL and related linux distro. For that, I have created a VM of Fedora 19 with 2GB RAM, 2 CPUs and 50GB hard disk space. Below are the following steps that i have documented during my successful installation of RDO-Havana on Fedora 19.

  • Set the Hostname to openstack : – $ sudo hostname openstack
  • Install the latest RDO Havana Repo: – $ sudo yum install -y http://rdo.fedorapeople.org/openstack-havana/rdo-release-havana.rpm
  • Do a system Update on Fedora 19: – $ sudo yum -y update
  • Install the packstack installer: – $ sudo yum install -y openstack-packstack
  • For a single node OpenStack deployment of RDO using packstack: – $ packstack –allinone 

It will install all the components of Openstack in 15 Minutes and generates an answer file packstack –answer-file packstack-answers-20131114-143042.txt (it is different for others.) in that current directory. During installation i have got two errors, which is finally resolved.

  • ERROR : Error appeared during Puppet run:
    Error: /usr/sbin/tuned-adm profile virtual-host returned 2 instead of one of [0]  

The Following error is solved by running the following command and again running the answer file.

  1. $ sudo systemctl restart tuned
  2. Re-run the answer file: – $ packstack –answer-file packstack-answers-20131114-143042.txt
  • ERROR : Error appeared during Puppet run:
    Error: Could not start Service[openvswitch]: Execution of ‘/sbin/service openvswitch start’ returned 1:  

The reason behind this error is: Openvswitch service is dead. To fix it, run the following command and re-run the answer file.

  1. $ sudo mkdir /var/lock/subsys
  2. Re-run the answer file: – $ packstack –answer-file packstack-answers-20131114-143042.txt

And finally, openstack is installed successfully after fixing these errors. After that i checked the status of different openstack component using the command. $ openstack-status and found that openstack-dashboard is showing 500 and my dashbaord in the browser is showing “Something went wrong!. An unexpected error has occured.”. To fix this problem, i have runned the following commands:

  • Edit /etc/openstack-dashboard/local_settings and add one of the following in the end: – ALLOWED_HOSTS = [‘*’]
  • # systemctl disable firewalld
  • # systemctl enable iptables
  • # systemctl restart iptables
  • # service httpd restart

Finally i am logged in to the openstack-dashboard by using username and password. Here the OpenStack fun begins. Thanks to Praveenkumar, KushalDas, Mrunge, Sankarshan, xqueralt, red_trela and SteveBaker for helping me in successful installation.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s