Fix bootstrap_host_exec check for manila_share
The hiera check for bootstrap node was using 'manila-share'
for service name, which returns nil. Changing the service
name to 'manila_share', the hiera lookup for
'manila_share_short_bootstrap_node_name' succeeds.
Change-Id: Id3c001f8f0ee9dc156f22a027f66516d6812f51a
(cherry picked from commit 25f93efd8c
)
This commit is contained in:
parent
c8afb38641
commit
1efe4f0aaa
|
@ -159,7 +159,7 @@ outputs:
|
|||
user: root
|
||||
command:
|
||||
- '/usr/bin/bootstrap_host_exec'
|
||||
- 'manila-share'
|
||||
- 'manila_share'
|
||||
- str_replace:
|
||||
template:
|
||||
'if /usr/sbin/pcs resource show openstack-manila-share; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT openstack-manila-share; echo "openstack-manila-share restart invoked"; fi'
|
||||
|
|
Loading…
Reference in New Issue