Centos openstack + cinder + ceph

If you are looking to run OpenStack with ceph as the backing storage for cinder, you will need the following.

  1. yum -y install openstack-cinder
  2. Follow the instructions at http://ceph.com/docs/master/rbd/rbd-openstack/
  3. Create the firewall rules to allow compute nodes to connect to cinder-volumes
  4. You might run into the following error while attaching
    internal error unable to execute QEMU command '__com.redhat_drive_add': Device 'drive-virtio-disk1' could not be initialized
    This is because qemu in CentOS does not have rbd build in by default.
  5. To solve this problem, download qemukvm and qemu-img from http://ceph.com/packages/ceph-extras/rpm/.
  6. Install the packages, e.g.
    rpm --oldpackage -Uvh qemu-kvm- qemu-img-

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s