OpenStack nodes should be configured as Ceph clients in order to access the Ceph cluster. To do this, install Ceph packages on OpenStack nodes and make sure it can access the Ceph cluster.
In this recipe, we are going to configure OpenStack as a Ceph client, which will be later used to configure Cinder, Glance, and Nova:
- Install
ceph-common
the Ceph client-side package in OpenStack node and then copyceph.conf
fromceph-node1
to the OpenStack node –os-nod1
. - Create an SSH tunnel between the monitor node
ceph-node1
and OpenStackos-node1
:
- Copy the Ceph repository file from
ceph-node1
toos-node1
:
- Install
ceph-common
package inos-node1
:
- Once it completes, you will have the following message:
- Copy
ceph.conf
fromceph-node1
toos-node1
:
- Create Ceph pools for Cinder, Glance, and Nova from monitor node
ceph-node1
. You may use any available pool, but it's recommended that you create separate pools for OpenStack components:
# ceph osd pool create...