[Pcmk-cloud] Updating to Essex-4 for future development
Steven Dake
sdake at redhat.com
Thu Mar 15 19:35:53 CET 2012
Hi,
In order for us to properly move to our new model of having a gold
image, we need keypair injection to work. Unfortunately keypair
injection is broken in F16 (but works in F17).
Following are the steps to get your system up to latest Essex-4 Release:
1. Stop all your openstack services.
2. Drop the databases used by Diablo
mysql
drop database mysql;
exit
rm /var/lib/glance/glance.sqlite
3. disable rabbitmq-server (Essex uses the qpid amqp server)
systemctl stop rabbitmq-server.service
systemctl disable rabbitmq-server.service
4. Enable qpid
systemctl start qpidd.service
systemctl enable qpidd.service
5. download all RPMS from to one directory on your system such as
Downloads/openstack:
source url is:
http://repos.fedorapeople.org/repos/apevec/openstack-preview/fedora-16/
6. Install the RPMs
rpm -Uvh Downloads/openstack/*rpm
7. Setup the database and configuration as per:
http://fedoraproject.org/wiki/Getting_started_with_OpenStack_Nova
Specifically I did the following:
openstack-nova-db-setup
nova-manage user app_wordpress sdake
nova-manage project create app_wordpress sdake
nova-manage network create sdake 10.0.0.0/24 1 256 -bridge=br0
--bridge_interface=em1
8. Setup your wordpress project (this part we should automate):
cd /var/lib/pacemaker-cloud
mkdir app_wordpress
cd app_wordpress
nova-manage project zipfile app_wordpress sdake
unzip nova.zip
chown sdake:sdake *
rm nova.zip
9. Create a jeos:
rm -f /var/lib/libvirt/images/*gold*.{qcow2|dsk}
jeos_create app_wordpress sdake F16 x86_64 (patch coming soon)
Some general other guides:
http://fedoraproject.org/wiki/Test_Day:2012-03-08_OpenStack_Test_Day
Enjoy
-steve
More information about the Pcmk-cloud
mailing list