Openstack(1)Installation

本文详细介绍了如何在Ubuntu 14.04虚拟机上使用DevStack安装OpenStack的过程,包括安装环境、获取代码、配置及常见错误解决方法。安装完成后,提供了一系列实例来展示如何使用novaclient命令行工具,并提供了默认用户的登录信息。此外,还指导了如何在重启服务器后重新启动堆栈服务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值