在CentOS 6.5 上 使用redhat RDO packstack安装 openstack icehouse

之前自己按照指南上装了好几次都出错了,后来发现了redhat RDO packstack 方式,安装成功了。


 

http://openstack.redhat.com/Quickstart

 

 

 Please name the host with a fully qualified domain name rather than a short-form nameto avoid DNS issues with Packstack.

# vi  /etc/hosts

 

# 127.0.0.1

#

 

  127.0.0.1 hostname

 

 sudo yum update -y
sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm

 

reboot.

 

sudo yum install -y openstack-packstack

 

packstack --allinone

 

 

installation successful

Additional information:

 * Anew answerfile was created in: /root/packstack-answers-20140601-050232.txt

 *Time synchronization installation was skipped. Please note that unsynchronizedtime on server instances might be problem for some OpenStack components.

 *Did not create a cinder volume group, one already existed

 *File /root/keystonerc_admin has been created on OpenStack client host192.168.1.20. To use the command line tools you need to source the file.

 * Toaccess the OpenStack Dashboard browse to http://192.168.1.20/dashboard .

Please, find your login credentials storedin the keystonerc_admin in your home directory.

 * Touse Nagios, browse to http://192.168.1.20/nagios username : nagiosadmin,password : a35344dc01ad45ee

 *The installation log file is available at:/var/tmp/packstack/20140601-050232-nSNyWK/openstack-setup.log

 *The generated manifests are available at:/var/tmp/packstack/20140601-050232-nSNyWK/manifests

 

Cat keystonerc_admin

export OS_USERNAME=admin

export OS_TENANT_NAME=admin

export OS_PASSWORD=00539d19e3b04a9d

export OS_AUTH_URL=http://192.168.1.20:5000/v2.0/


登录,

 

已经有了一个public network (172.24.4.224/28),这个网络是连在主机的br-ex上的,

添加一个private网络(172.16.0.1/24),这个是给VM使用的,

 

spacer.gif

 

然后添加一个路由器,网关设置为public network 172.24.4.228

spacer.gif

然后给这个路由器添加Private网络的接口,172.16.0.1

spacer.gif

 

然后在镜像那里启动实例,网络选择private_subnet, 下载私钥。

 

在网络拓扑那里显示就是这样的:


public - 172.24.4.228 - router10 - private 172.16.0.1 - vm 172.16.0.3

spacer.gif

 

 

 

打开console

spacer.gif

 

spacer.gif

 

spacer.gif

 

Sudo vi /etc/resolv.conf 设置dnsping baidu 通了。

spacer.gif

 

 


你可能感兴趣的:(packstack,RDO)