Category Archives: devstack
Openstack DevStack for Beginners
To test some new features of Openstack, development api needs , fast and fresh Openstack installations you need devstack
For example you would like to test OVN or Magnum on Openstack
When you fallow the devstack link its enough to have fresh Ubuntu 16.04 and update all packages. Documentation inform you to create stack user and this user need to have password-less sudo right. To do this my default user is always “noroot” (its a username which set installation time of Ubuntu) i added related config to sudoers file. Pls be careful ” when you copy past from blog.
sudo su
echo “noroot ALL=(ALL) NOPASSWD: ALL” >> /etc/sudoers
After you clone openstack “git clone https://git.openstack.org/openstack-dev/devstack” most important file is local.conf actually this files is not available you should create under your clone folder , it should be /devstack . I find out this document from slideshare very helpful pls read it.
For clone point of view if you need to have specific version of Openstack then you should describe branch like belwo
git clone https://git.openstack.org/openstack-dev/devstack -b stable/liberty
Note : After installation over to see what version of Openstack is running you can do something like below
First way is go via git ;
noroot@devstack:~/devstack$ git branch -la
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/stable/kilo
remotes/origin/stable/liberty
remotes/origin/stable/mitaka
Here i understood that i am running with Newton !
Second way is go via packages ;
Here some links (1 , 2) , people always checking “nova-manage –version” to see the where they are .
After you create related file pls add content of below inside, now you know with which pass login to dashboard or access to mysql.
[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD