From 71d2bc13eaf12337efea2cfc0d7f1eeb7f34b2a2 Mon Sep 17 00:00:00 2001 From: Egon Rijpkema Date: Thu, 13 Sep 2018 16:13:21 +0200 Subject: [PATCH] make rbd secrets a variable secret to be set here. --- cinder_storage/write_conf.sh | 12 ++++++------ nova_compute/write_conf.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cinder_storage/write_conf.sh b/cinder_storage/write_conf.sh index 3314278..15b7385 100755 --- a/cinder_storage/write_conf.sh +++ b/cinder_storage/write_conf.sh @@ -30,11 +30,11 @@ password = $CINDER_PASSWORD lock_path = /var/lib/cinder/tmp [RBD-backend] -volume_backend_name=RBD-backend -rbd_pool=volumes -rbd_user=volumes -rbd_secret_uuid=d0db6ba7-a0c9-4da6-b0bc-aa7846325333 -volume_driver=cinder.volume.drivers.rbd.RBDDriver -rbd_ceph_conf=/etc/ceph/ceph.conf +volume_backend_name = RBD-backend +rbd_pool = volumes +rbd_user = volumes +rbd_secret_uuid = $RBD_SECRET_UUID +volume_driver = cinder.volume.drivers.rbd.RBDDriver +rbd_ceph_conf = /etc/ceph/ceph.conf EOF diff --git a/nova_compute/write_conf.sh b/nova_compute/write_conf.sh index 68b6930..8620fbf 100755 --- a/nova_compute/write_conf.sh +++ b/nova_compute/write_conf.sh @@ -127,7 +127,7 @@ images_type = rbd images_rbd_pool = volumes images_rbd_ceph_conf = /etc/ceph/ceph.conf rbd_user = volumes -rbd_secret_uuid = d0db6ba7-a0c9-4da6-b0bc-aa7846325333 +rbd_secret_uuid = $RBD_SECRET_UUID [vnc]