The day when I hunted down 14 bugs myself on #openstack-Doc Bug’s Day.

The Documentation of any project is the best place to learn about their components especially its working and hacking on it.On 20th Dec, 2013 The OpenStack Documentation team had organized the OpenStack-Doc Bug’s Day. The OpenStack Documenatation consists of OpenStack Manuals and API-site Bugs (more than 450 in number). The day started as usual just like any other day. But the motive was different today. We had to achieve a Goal. The goal was to hunt down 100 bugs at least. I had a target for myself to solve 10 bugs in 24 hours. My first bug hunting started at 11:00 A:M (IST). Solving a bug is not so easy, it requires information gathering and searching for appropriate contents to fix the bug and finally test and verify on the system while submitting. The bug squashing already had started by Anne Gentle, Tom Fifield, Lana, Matt and Nermina. As the day passed, with every successful hunting process the bug numbers went on decreasing. Due to this tough bug hunting, I have learnt a lot of things related to Installation and Configuration of OVS Plug in, neutron, Keystone and Nova. I have also learnt how to write documentation from reviews and updates in the particular components and plug ins configuration like KVS. I have also learnt how to display questions and answers in doc book from Anne. After lunch, Andreas started reviewing the patch. By the evening I have had solved 7 bugs and was still in search to solve more. After that I started reviewing the reviews submitted by others. I also got the help of Tim Bell, Scott Radvan, Deepti Navale, Brucer, Diane Fleming during bug solving. Just before the first light of Dec 21, I was able to solve 14 bugs out of which 9 of them are now merged and 5 are still in progress. During that day, I also made a small contribution to keystone, Thanks to Tom Fifield and Morgan Fainberg for this. And Finally, the toll was 100 squashed Bugs. The day was totally awesome for me and we achieved the Goal. Congratulations to all of them for making this happen. It was a great day for me while hunting bugs in a virtual battle through learning and getting lots of strategic approaches from great OpenStack Doc leaders (Tom, Anne and Andreas). After this day, now I have 50 commits for Icehouse release in OpenStack under my name.
My OpenStack Review-board and Stackalytics report is here. Bug’s Day status is here.

Thanks for reading.

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
  • 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.