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
tags/8.0.0.0b1
Tom Barron 2 years ago
parent
commit
8fa6c6e58c

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

@@ -52,5 +52,8 @@ outputs:
52 52
       config_settings:
53 53
         map_merge:
54 54
           - get_attr: [ManilaShareBase, role_data, config_settings]
55
+          - manila::share::manage_service: false
56
+            manila::share::enabled: false
57
+            manila::host: hostgroup
55 58
       step_config: |
56 59
         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