RDO Install openstack on CentOS6.3

I try RDO to install openstack on CentOS6.3, and record the steps here.

Refer URL:

Env : CentOS6.3 X86_64

Install Steps:
1. Config Repo:
a) Only leave /etc/yum.repo.d/CentOS-Base.repo, and remove other *.repo
b) yum install http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
   Then we will have the following repo:
    -rw-r--r-- 1 root root  957 Nov  5  2012 epel.repo
    -rw-r--r-- 1 root root 1056 Nov  5  2012 epel-testing.repo
c) yum install -y http://rdo.fedorapeople.org/openstack/openstack-grizzly/rdo-release-grizzly.rpm
   Then we will have the following repo:
    -rw-r--r-- 1 root root  244 Jul 13 14:44 rdo-release.repo

2. Upgrade kernel:
yum upgrade kernel
=============================================================================================================================
 Package                    Arch              Version                                     Repository                    Size
=============================================================================================================================
Installing:
 kernel                     x86_64            2.6.32-358.111.1.openstack.el6              openstack-grizzly             26 M
Updating for dependencies:
 kernel-firmware            noarch            2.6.32-358.111.1.openstack.el6              openstack-grizzly             11 M
Transaction Summary
=============================================================================================================================

3. yum install -y openstack-packstack

4. Reboot and use new kernel

5. packstack --allinone

6. login dashboard http://127.0.0.1  
User /Password is in file /root/keystonerc_admin

Known Issue:
1. following error log:
RuntimeError: Command: ['sudo', '/usr/bin/quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'link', 'set', 'qg-dd9483f7-7d', 'address', 'fa:16:3e:a9:07:58']Exit code: 2Stdout: ''Stderr: 'RTNETLINK answers: Device or resource busy\n'
Refer URL:

Solution:
--- /usr/lib/python2.6/site-packages/quantum/agent/linux/interface.py
+++ /usr/lib/python2.6/site-packages/quantum/agent/linux/interface.py
@@ -174,7 +174,9 @@
                                internal=internal)
 
             ns_dev = ip.device(device_name)
+            ns_dev.link.set_down()
             ns_dev.link.set_address(mac_address)
+            ns_dev.link.set_up()
 
             if self.conf.network_device_mtu:
                 ns_dev.link.set_mtu(self.conf.network_device_mtu)

/etc/init.d/quantum-dhcp-agent restart

2. Make sure dnsmasq version >= 2.59 (CentOS default version is 2.48, this will have some issue)


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值