One Month! 12 commits and 82 reviews in OpenStack.

One month earlier, i had submitted my first patch to OpenStack through OpenStack-Manuals with the help of Tom and by the encouragement of Kushal Das and Sankarshan to dive deep into the system and learn more about OpenStack. After first patch, Anne and Ajaeger taught me to search bugs and assign it to myself and submit the patches. Many times i got -1 on my reviews but Lana Nermina, Gpocentek, Slong and Sarob encouraged me to go ahead and fix the Review and get +1 on the review and get it merged. After submission of three patches, Anne has taught me to “How to Review the Openstack-Manuals Review?”. From there my new journey to OpenStack begins. While solving bugs and submitting review, i got a chance to interact with lots of OpenStack core contributors (Steve Baker, Mrunge, Emilien Macchi, Koolhead17, Daine Fleming, Steve gordon) guiding and teaching me lots of things related to different component starting from Heat, Swift, Horizon, Nova etc. During this period, I have made 12 Commits and 82 reviews in OpenStack-Manuals till today i.e.20th Nov, 2013. The reviews and commits are found on Stackalytics. It is very less. I have to work hard and learn more in order to contribute more. Thank you all the peoples who helped me to reach that stage.

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: 10.65.193.182_nova.pp
    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: 10.65.193.182_neutron.pp
    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.