diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-08-03 15:29:36 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-08-03 15:29:36 +0000 |
| commit | 63d448fe2e110d1ef908645cedbb2431f5ffe216 (patch) | |
| tree | 11044517fcc92e5999b3ba9ce642bedfdc688731 /doc | |
| parent | ec4e8092d9b06fdf44543addc0751b8b76599495 (diff) | |
| parent | ffafebf87c56d66363317a5495ccc3c7ae64fdcd (diff) | |
| download | kolla-63d448fe2e110d1ef908645cedbb2431f5ffe216.tar.gz kolla-63d448fe2e110d1ef908645cedbb2431f5ffe216.zip | |
Merge "External Ceph - Implementation Nova"
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/external-ceph-guide.rst | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/doc/external-ceph-guide.rst b/doc/external-ceph-guide.rst index b560ab218..fcd1bdbab 100644 --- a/doc/external-ceph-guide.rst +++ b/doc/external-ceph-guide.rst @@ -14,7 +14,7 @@ Requirements * An existing installation of Ceph * Existing Ceph storage pools * Existing credentials in Ceph for OpenStack services to connect to Ceph -(Glance, Cinder) +(Glance, Cinder, Nova) Enabling External Ceph ====================== @@ -62,11 +62,9 @@ Step 1 is done by using Kolla's INI merge mechanism: Create a file in [glance_store] stores = rbd default_store = rbd - rbd_store_chunk_size = 8 rbd_store_pool = images rbd_store_user = glance rbd_store_ceph_conf = /etc/ceph/ceph.conf - rados_connect_timeout = 0 [image_format] container_formats = bare @@ -151,3 +149,31 @@ cinder-volume and cinder-backup directories: key = AQAg5YRXpChaGRAAlTSCleesthCRmCYrfQVX1w== It is important that the files are named ceph.client*. + +Nova +------ + +In ``/etc/kolla/global.yml`` set + +:: + + nova_backend_ceph: "yes" + +Put ceph.conf and keyring file into ``/etc/kolla/config/nova``: + +:: + + $ ls /etc/kolla/config/nova + ceph.client.nova.keyring ceph.conf + +Configure nova-compute to use Ceph as the ephemeral backend by creating ``/etc/kolla/config/nova/nova-compute.conf`` and adding the following contents: + +:: + + [libvirt] + images_rbd_pool=vms + images_type=rbd + images_rbd_ceph_conf=/etc/ceph/ceph.conf + rbd_user=nova + +NOTE: rbd_user might vary depending on your environment. |
