From b18ae72c6aaad9eb98d7e4490a6572441f63b9a1 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Mon, 28 Aug 2017 09:56:18 +0200 Subject: [PATCH] Add /etc/ceph into pacemaker bundles We missed to mount the Ceph config files into the docker/pacemaker profiles. Change-Id: I23b6890b4cf7f1e6fe84b6be280dde82218275fc Closes-Bug: #1713421 --- manifests/profile/pacemaker/cinder/backup_bundle.pp | 5 +++++ manifests/profile/pacemaker/cinder/volume_bundle.pp | 5 +++++ manifests/profile/pacemaker/manila/share_bundle.pp | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/manifests/profile/pacemaker/cinder/backup_bundle.pp b/manifests/profile/pacemaker/cinder/backup_bundle.pp index 2a82c3e86..9c897af1d 100644 --- a/manifests/profile/pacemaker/cinder/backup_bundle.pp +++ b/manifests/profile/pacemaker/cinder/backup_bundle.pp @@ -134,6 +134,11 @@ class tripleo::profile::pacemaker::cinder::backup_bundle ( 'target-dir' => '/var/log/cinder', 'options' => 'rw', }, + 'ceph-cfg-dir' => { + 'source-dir' => '/etc/ceph', + 'target-dir' => '/etc/ceph', + 'options' => 'ro', + }, }, } } diff --git a/manifests/profile/pacemaker/cinder/volume_bundle.pp b/manifests/profile/pacemaker/cinder/volume_bundle.pp index 8d58036ee..2b0411f5e 100644 --- a/manifests/profile/pacemaker/cinder/volume_bundle.pp +++ b/manifests/profile/pacemaker/cinder/volume_bundle.pp @@ -134,6 +134,11 @@ class tripleo::profile::pacemaker::cinder::volume_bundle ( 'target-dir' => '/var/log/cinder', 'options' => 'rw', }, + 'ceph-cfg-dir' => { + 'source-dir' => '/etc/ceph', + 'target-dir' => '/etc/ceph', + 'options' => 'ro', + }, }, } } diff --git a/manifests/profile/pacemaker/manila/share_bundle.pp b/manifests/profile/pacemaker/manila/share_bundle.pp index 0e6c60c72..0893bf070 100644 --- a/manifests/profile/pacemaker/manila/share_bundle.pp +++ b/manifests/profile/pacemaker/manila/share_bundle.pp @@ -129,6 +129,11 @@ class tripleo::profile::pacemaker::manila::share_bundle ( 'target-dir' => '/var/log/manila', 'options' => 'rw', }, + 'ceph-cfg-dir' => { + 'source-dir' => '/etc/ceph', + 'target-dir' => '/etc/ceph', + 'options' => 'ro', + }, }, } }