Fixup the start of swift services
Seems the conditional has changed and we should pickup the tripleo::profile::base::swift::storage::enable_swift_storage hiera data. After controller nodes are upgraded the swift services were down even though there was no stand-alone swift node (the current conditional was failing as that hiera isn't set any more) Closes-Bug: 1638821 Change-Id: Id1383c1e54f9cae13fd375e90da525230e5d23eb
This commit is contained in:
parent
d106161466
commit
a7af5b90e4
@ -284,7 +284,7 @@ function systemctl_swift {
|
||||
services=$(systemctl | grep openstack-swift- | grep running | awk '{print $1}')
|
||||
;;
|
||||
start)
|
||||
enable_swift_storage=$(hiera -c /etc/puppet/hiera.yaml 'enable_swift_storage')
|
||||
enable_swift_storage=$(hiera -c /etc/puppet/hiera.yaml tripleo::profile::base::swift::storage::enable_swift_storage)
|
||||
if [[ $enable_swift_storage != "true" ]]; then
|
||||
services=( openstack-swift-proxy )
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user