summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMathias Ewald <mewald@evoila.de>2016-07-20 06:02:18 +0000
committerMathias Ewald <mewald@evoila.de>2016-07-27 20:25:00 +0000
commitffafebf87c56d66363317a5495ccc3c7ae64fdcd (patch)
treeba24b7604867f42418e524e1460bf5076f139e91 /doc
parentda61508db8eb2c54ef7e9198d848667d288dfc13 (diff)
downloadkolla-ffafebf87c56d66363317a5495ccc3c7ae64fdcd.tar.gz
kolla-ffafebf87c56d66363317a5495ccc3c7ae64fdcd.zip
External Ceph - Implementation Nova
Introduced nova backend selection flag for Ceph and priority if multiple backends are configured Add mechanism to deploy arbitrary ceph.conf and keyring files into nova-compute and nova-libvirt containers Added documentation Change-Id: Id010ca9cc2d914e5358ef79edeb600a28220dd4b Implements: blueprint external-ceph
Diffstat (limited to 'doc')
-rw-r--r--doc/external-ceph-guide.rst32
1 files changed, 29 insertions, 3 deletions
diff --git a/doc/external-ceph-guide.rst b/doc/external-ceph-guide.rst
index 230919163..45f165a03 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.