In my previous post, I share How to Install OpenStack kilo on VirtualBox via DevStack. I aware the openstack release kilo at early of 2015. Here, I would like to share how to set up the newest openstack release - kilo. All the steps I took is exactly same with juno version as my previous post.
I skip virtualbox setup and jump into the kilo installation first.
# sudo apt-get update
# sudo apt-get upgrade
# sudo apt-get dist-upgrade
# sudo reboot
# sudo apt-get install git
# git clone -b stable/kilo https://github.com/openstack-dev/devstack.git
I was trying to customize the installation via local.conf but it's not working properly in kilo. just fyi the cli as below. You can skip if you have concern.
But, if you remove local.conf you just have default installation which includes Nova, Glance, Cinder, Horizon and Keystone.
For other modules, such as Swift,Neutron, Heat, Celometer, Tempest ... etc won't be there.
-------------------
# cd devstack
# wget https://dl.dropboxusercontent.com/u/44260569/local.conf
# wget https://dl.dropboxusercontent.com/u/44260569/localrc_kilo
# mv localrc_kio localrc
# sudo apt-get upgrade
# sudo apt-get dist-upgrade
# sudo apt-get install git
# git clone -b stable/kilo https://github.com/openstack-dev/devstack.git
I was trying to customize the installation via local.conf but it's not working properly in kilo. just fyi the cli as below. You can skip if you have concern.
But, if you remove local.conf you just have default installation which includes Nova, Glance, Cinder, Horizon and Keystone.
For other modules, such as Swift,
-------------------
# cd devstack
# wget https://dl.dropboxusercontent.com/u/44260569/local.conf
-------------------
PS: I comment neutron in local.conf first since it fail on creating private IPv4 subnet. I'm not sure what's happen. I'm working on it right now. If you know how to solve it, please drop any comment.
Ref: https://bugs.launchpad.net/devstack/+bug/1417410
# ./stack.sh
Ref: https://bugs.launchpad.net/devstack/+bug/1417410
The installation is done and display the login credential in output.
# source openrc
try display nova
# nova list
try horizon
First awareness from my observation is menu bar is different from juno which is all located at left hand side.
try to display system information
w/o local.conf
with local.conf( w/ neutron, celometer, heat and swift )
try create a vm.
display vm result
Last, here is the youtube video fyi. Again, this is only general installation w/o additional components such as swift, neutron ...etc.
Reference:
Hello,
ReplyDeleteAfter using these steps, i got only compute node but I want to install openstack using all the components (Nova, Neutron, Glance, Keystone, etc). Is there any steps that how to install other components after installing devstack?
Except Neutron, Nova, Glance and Keystone should be default. If you include local.conf in devstack folder, and run stack.sh the components you would like should be there.
DeleteHere has some examples to edit local.rc or local.conf.
http://blog.phymata.com/2013/12/18/devstack-havana-on-the-rackspace-cloud/
https://wiki.openstack.org/wiki/NeutronDevstack
http://docs.openstack.org/developer/devstack/stackrc.html
https://github.com/openstack-dev/devstack/tree/master
Thank you, this was really helpful. I had a pre-existing installation of mysql having chosen the LAMP install when I installed my 15.04 server. So the script was using the wrong root password for some steps. I changed the stackrc file to the correct password but that was the only change I needed to make. 100% success.
ReplyDeleteSorry, I updated the local.conf file.
DeleteWhy sorry, you were helping ! Thanks man :)
DeleteBTW, thanks for sharing for stackrc.
Hello Chianing,
ReplyDeleteDid you figure out the error with the subnets ?
I'd really appreciate f you could share what helped you resolve the issue.
Thanks
I am getting below error while stacking,
ReplyDeleteerror: pathspec 'stable/kilo' did not match any file(s) known to git
and it exits.
Please let me know how can I resolve this.