RDO Install openstack on CentOS6.3

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

Refer URL:
http://openstack.redhat.com/

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:
http://openstack.redhat.com/forum/discussion/143/rdo-quantum-error-device-or-resource-busy/p1

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)


你可能感兴趣的:(centos,openstack,deploy,Grizzly,RDO)