lost and found ( for me ? )

install OpenStack Grizzly in CentOS6 VM which is running within KVM

Here is how to install openstack grizzly as a “all in one node” in a CentOS VM running within KVM.

KVM host info
# tail -1 /etc/lsb-release ;uname -ri;qemu-system-x86_64 --version
DISTRIB_DESCRIPTION="Ubuntu 13.04"
3.8.0-27-generic x86_64
QEMU emulator version 1.4.0 (Debian 1.4.0+dfsg-1expubuntu4), Copyright (c) 2003-2008 Fabrice Bellard

CentOS VM has one vCPU, 2GB Memory, 15GB HDD and one NIC.

configure nested VM
VM’s xml file of that VM
on the KVM host
# virsh dumpxml 50 | grep cpu
 <vcpu placement='static'>1</vcpu>
 <cpu mode='host-passthrough'>
 </cpu>

on the VM
# egrep '(vmx|svm)' /proc/cpuinfo
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc up arch_perfmon rep_good unfair_spinlock pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm

install repository ( on the VM )

# cat /etc/yum.repos.d/rdo-release.repo
[openstack-grizzly]
name=OpenStack Grizzly Repository
baseurl=http://repos.fedorapeople.org/repos/openstack/openstack-grizzly/epel-6/
enabled=1
skip_if_unavailable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RDO-Grizzly
priority=98

install packstack
# yum install -y openstack-packstack

install grizzly
# packstack --allinone --os-quantum-install=n

192.168.110.215_postscript.pp :                                      [ DONE ]
                          [ DONE ]

**** Installation completed successfully ******

access to the dashboard (Web interface Horizon)
user: admin
password : you can find credentials in /root/keystonerc_admin file.

 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.