Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
OpenStack on Fedora 19

OpenStack

In this document I describe the steps to setup OpenStack cloud on Fedora 19

Setup

First, install OpenStack on Fedora 19

RDO Quick Start -

Second, download a Fedora 19 qcow2 image

Here are the list of commands:

$ sudo yum install -y http://rdo.fedorapeople.org/openstack/openstack-grizzly/rdo-release-grizzly.rpm
$ sudo yum install -y openstack-packstack
$ packstack --allinone

If you encounter the keystone server failure, issue the following command and then re-run packastack:

$ sudo chown keystone:keystone /var/log/keystone/keystone.log
$ sudo packstack --answer-file=/home/tuxdna/packstack-answers-20130721-023126.txt

Check all the openstack services

# source /root/keystonerc_root
# openstack-status

For Fedora 19, you also need to fix Qpid server configuration because Fedora 19 Qpidd configuration parameters are different

# sudo yum install qpid-cpp-server-ha

Now update the /etc/qpidd.conf. Replace cluster-mechanism with ha-mechanism

OpenStack Installation Issues

I encountered few issues during installations:

Removed some lines from /usr/lib/python2.7/site-packages/packstack/puppet/templates/nova_compute.pp:

exec {'load_kvm': user => 'root', command => '/bin/sh /etc/sysconfig/modules/kvm.modules' }
Class['nova::compute']-> Exec["load_kvm"]

Replaced mysql-server with mariadb-server in /usr/lib/python2.7/site-packages/packstack/puppet/modules/mysql/manifests/params.pp

Enable SELinux in permissive mode - edit /etc/selinux/config and set SELINUX to permissive.

Update the wrong configuration of Apache Server:

$ yumdownloader httpd

Extract httpd rpm from Nautilus ( right click and extract ), then copy required files. And restart Apache server.

$ rpm2cpio httpd-2.4.4-6.fc19.x86_64.rpm | cpio -idmv
$ sudo cp etc/httpd/conf/httpd.conf etc/httpd/conf/httpd.conf
$ service httpd restart

When you login to the dashboard, username is 'admin' and password is same as "CONFIG_KEYSTONE_ADMIN_PW=" in you packstack-answers file.

I found solutions to most of the issues in these links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment