Thursday, June 5, 2014

Devstack running joys !!!

I have been using devstack for understanding how openstack components work.

1) it works awesome ..instead of invidual installations you have everything installed for you
2) screens lets you see what is going on  in real time
GNU Screen provides the same functions as the DEC VT100 terminal, plus other aggregates. If you have no experience with this terminal, make sure to write down the following shortcuts.
Attach to a screenscreen -r stack
Switch screensctrl+a <screen no.> (e.g. ctrl+a 1)
Scroll in a screenctrl+a esc and up/down arrows to scroll
List screensctrl+a " and select the screen with up/down arrows
Next screenctrl+a n
Detach from the screenctrl+a d

3) you can edit any code on /opt/stack 
    i just print whatever i am investigating ..and its super easy to debug that ways 

4) any command you want to test just run help!   ex nova help
    if you are looking for a specific command but do not have the complete syntax or want to see all related commands  try this :- 
 for ex i want all metadata related command in nova 
nova help|grep metadata 

njain@njain3:/opt/stack/python-novaclient$ nova help|grep metadata
    aggregate-set-metadata
                        Update the metadata associated with the aggregate.
    image-meta          Set or Delete metadata on an image.
    meta                Set or Delete metadata on a server.
    host-meta           Set or Delete metadata on all instances of a host.

5) want to contribute check out 
https://wiki.openstack.org/wiki/How_To_Contribute 

6) I will soon get a bug from launchpad and try to contribute as a developer!!



    

No comments:

Post a Comment