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:
We will use
ceph-node1
to install Ceph binaries onos-node1
usingceph-deploy
, as we have done earlier in Chapter 1, Ceph – Introduction and Beyond. To do this, we should set up ssh password-less login toos-node1
. The root password is again the same (vagrant
):$ vagrant ssh ceph-node1 $ sudo su - # ping os-node1 -c 1 # ssh-copy-id root@os-node1
Next, we will install Ceph packages to
os-node1
usingceph-deploy
:# cd /etc/ceph # ceph-deploy install os-node1
Push the Ceph configuration file,
ceph.conf
, fromceph-node1
toos-node1
. This configuration file helps clients reach the Ceph monitor and OSD machines. Please note that...