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:
Tom Barron 2018-07-08 05:11:48 -04:00
parent c8afb38641
commit 1efe4f0aaa
1 changed files with 1 additions and 1 deletions

View File

@ -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'