Friday, June 27, 2014

openstack:My first bug (nova)

choose a bug from launchpad and


  •  login as non root(njain) to your devstack vm
  •  cd /home/njain/projects/devstack 
  •  source openrc admin admin 
  • ./rejoin-stack.sh
  • Test a command ( nova aggregate-list)
  • if things don't work try ./unstack.sh ./stack.sh 
  • if you get : Policy doesn't allow  then make sure you source openrc admin admin no as demo
  • CTRL A D will exit from screen 
  • CTRL A 5 will take you to nova api server
  • work on your code test it and write text cases
  •  git config --list (git config --global --add gitreview.username "neetu")
  • git remote update
  • git chekout -b "new"
  • git review -s
  •  ./run_tests.sh
  • git commit -m ""    
  • if you want to revert ..git  checkout HEAD filename
  • if you want to go back  git rebase -i UUID
  • git commit --ammend
  • git review
  • checkout your changesin launchpad and assign  reviewers if you know any
In devstack, logs of openstack services are attached with linux screens. you can find them by running following command
screen -x stack
you can traverse forward through screens by pressing CTRL a n and backwards with CTRL a p
to restart a particular service, go to the relevant screen, press CTRL c (it will kill the process) and rerun the last command ( press up Arrow then Enter )

No comments:

Post a Comment