Openstack(1)Installation

Openstack(1)Installation

1. Devstack Installation
Prepare ubuntu14.04 on my VM machine
Install git
>sudo apt-get install git

Fetch and get the codes
>git clone https://github.com/openstack-dev/devstack.git
>/home/carl/book/devstack
>./stack.sh 

Error Message
ERROR: (OperationalError) (1071, 'Specified key was too long; max key length is 767 bytes') 'CREATE INDEX ix_snapshot_tenant ON snapshot (tenant)' ()

Solution:
>export no_proxy="localhost,127.0.0.1,10.0.2.15"
No use, and it seem to me that it have something to do with my mysql version 5.6.20.

So I will prepare a clean ubuntu system and try again.
After a long time, it is installed on that VM.
Horizon is now available at http://10.190.191.150/ Keystone is serving at http://10.190.191.150:5000/v2.0/ Examples on using novaclient command line is in exercise.sh The default users are: admin and demo The password: kaishi This is your host ip: 10.190.191.150 2014-08-06 20:48:25.747 | WARNING: Q_AGENT_EXTRA_AGENT_OPTS is used You are using Q_AGENT_EXTRA_AGENT_OPTS to pass configuration into /etc/neutron/neutron.conf. Please convert that configuration in localrc to a /etc/neutron/neutron.conf section in local.conf: Q_AGENT_EXTRA_AGENT_OPTS will be removed early in the 'K' development cycle [[post-config|/$Q_PLUGIN_CONF_FILE]] [DEFAULT] tunnel_types=vxlan 2014-08-06 20:48:25.750 | stack.sh completed in 1050 seconds.

Then I can use admin/kaishi and demo/kaishi to login in that system.

If I reboot the server, I need to run the command as follow to start the stack services.
>/home/carl/download/install/devstack/rejoin-stack.sh

http://ubuntu-stack/admin/

follow the book
http://docs.openstack.org/user-guide-admin/content/openstack_user_guide.html

References:
http://www.openstack.org/software/start/
http://agenge.com/blog/2013/11/10/openstack-install-with-deploy-for-havana/
http://8366.iteye.com/blog/1757658
http://blog.xuite.net/dain198/study/61914788-Openstack+Ubuntu+12.04+%E5%BF%AB%E9%80%9F%E6%9E%B6%E8%A8%AD+(by+DevStack)+%E4%BB%A5%E5%8F%8A%E5%BE%8C%E7%BA%8C%E8%A8%AD%E5%AE%9A+(%E4%B8%8A)

http://devstack.org/configuration.html
http://airekans.github.io/cloud-computing/2013/07/25/devstack-installation/
http://docs.openstack.org/

http://www.ubuntu.com/download/cloud/install-ubuntu-cloud
http://askubuntu.com/questions/459590/open-stack-installation-on-ubuntu-14-04
admin console
http://docs.openstack.org/user-guide-admin/content/

猜你喜欢

转载自sillycat.iteye.com/blog/2101167