Browse Source

manila: set "host" to "hostgroup"

when running manila-share under control of pacemaker, as
is done for cinder-volume service in the same circumstance.

Change-Id: Ic97f01913bae2a388c962a38fa175eb1d763cdcb
Depends-On: Ie31f2d5ccf458f5fcfe8bec5f2c37f45070cfde2
Closes-Bug: #1712842
(cherry picked from commit 8fa6c6e58c)
(cherry picked from commit 1f3cb179b8)
(cherry picked from commit 87d4bdf693)
tags/5.3.3
Tom Barron 2 years ago
parent
commit
657e347940

+ 3
- 0
puppet/services/pacemaker/manila-share.yaml View File

@@ -37,5 +37,8 @@ outputs:
37 37
       config_settings:
38 38
         map_merge:
39 39
           - get_attr: [ManilaShareBase, role_data, config_settings]
40
+          - manila::share::manage_service: false
41
+            manila::share::enabled: false
42
+            manila::host: hostgroup
40 43
       step_config: |
41 44
         include ::tripleo::profile::pacemaker::manila

+ 9
- 0
releasenotes/notes/add-hostgroup-default-for-host-parameter-02e3d48de1f69765.yaml View File

@@ -0,0 +1,9 @@
1
+---
2
+fixes:
3
+  - Set "host" parameter in manila.conf to 'hostgroup' when running
4
+    manila share service under pacemaker.  This labels instances of
5
+    the service on different nodes with the same "host" as cinder does
6
+    in this circumstance so that the instances are considered by
7
+    OpenStack to provide the same service and manila share is able to
8
+    maintain management of shares on the backend after failover and
9
+    failback.

Loading…
Cancel
Save