From 65df9acaf8a34cb213104ec9396d15b6be8f3ddb Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Fri, 8 Feb 2019 16:02:13 -0600 Subject: [PATCH] Nova: Move ceph config to remain on host Change-Id: I786f9fec553eb8b65faa5b8b022d6c971f7dfba1 Signed-off-by: Pete Birley --- nova/templates/bin/_ceph-keyring.sh.tpl | 2 ++ nova/templates/daemonset-compute.yaml | 24 ++++++++++++++++++------ 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/nova/templates/bin/_ceph-keyring.sh.tpl b/nova/templates/bin/_ceph-keyring.sh.tpl index d7007d566d..4af83a48ca 100644 --- a/nova/templates/bin/_ceph-keyring.sh.tpl +++ b/nova/templates/bin/_ceph-keyring.sh.tpl @@ -19,6 +19,8 @@ limitations under the License. set -ex export HOME=/tmp +cp -vf /etc/ceph/ceph.conf.template /etc/ceph/ceph.conf + KEYRING=/etc/ceph/ceph.client.${CEPH_CINDER_USER}.keyring {{- if .Values.conf.ceph.cinder.keyring }} cat > ${KEYRING} <