Copying the Ceph configuration file to OpenStack

Copy the Ceph configuration file to OpenStack nodes so that they can locate and connect to the Ceph cluster.

Before you begin

Before you begin, make sure that you have the following prerequisites in place:

  1. Prerequisites defined in Installing and configuring Ceph for OpenStack.
  2. Root access to the Ceph Monitor node.
  3. Root access to the OpenStack nodes.

About this task

OpenStack services require the Ceph configuration file to identify the Ceph cluster monitors and connection settings. This file must be present on each OpenStack node that communicates with Ceph.

Procedure

  1. Copy the Ceph configuration file from a Ceph monitor node to all OpenStack nodes.
    scp /etc/ceph/ceph.conf OPENSTACK_NODES:/etc/ceph/

    Replace OPENSTACK_NODES with the hostnames or IP addresses of the OpenStack nodes.

  2. Verify that the Ceph configuration file exists on each OpenStack node.

    Confirm that the /etc/ceph/ceph.conf file is present and readable.

Results

The Ceph configuration file is available on all required OpenStack nodes. OpenStack services can now locate and connect to the Ceph cluster.