Add /etc/ceph into pacemaker bundles
authorGiulio Fidente <gfidente@redhat.com>
Mon, 28 Aug 2017 07:56:18 +0000 (09:56 +0200)
committerEmilien Macchi <emilien@redhat.com>
Wed, 30 Aug 2017 12:49:43 +0000 (12:49 +0000)
We missed to mount the Ceph config files into the docker/pacemaker
profiles.

Change-Id: I23b6890b4cf7f1e6fe84b6be280dde82218275fc
Closes-Bug: #1713421
(cherry picked from commit b18ae72c6aaad9eb98d7e4490a6572441f63b9a1)

manifests/profile/pacemaker/cinder/backup_bundle.pp
manifests/profile/pacemaker/cinder/volume_bundle.pp
manifests/profile/pacemaker/manila/share_bundle.pp

index 2a82c3e..9c897af 100644 (file)
@@ -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',
+          },
         },
       }
     }
index 8d58036..2b0411f 100644 (file)
@@ -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',
+          },
         },
       }
     }
index 0e6c60c..0893bf0 100644 (file)
@@ -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',
+          },
         },
       }
     }