diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-03-10 15:25:56 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-03-10 15:25:56 +0000 |
commit | 31ffe53d75dd81a9ff083224f0ae7d509ae77f96 (patch) | |
tree | 205ae47bcb7673d7f62a84a9fe0444866c5e3761 | |
parent | d11ddf1d3139511e017dbeeee22519a9cfc99822 (diff) | |
parent | d9ee847ec1d8184dde77e15d33be46c9eae8a421 (diff) |
Merge "Upgrades: object storage node upgrade fix"
-rw-r--r-- | extraconfig/tasks/major_upgrade_object_storage.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/extraconfig/tasks/major_upgrade_object_storage.sh b/extraconfig/tasks/major_upgrade_object_storage.sh index 0f6d091e..931f4f42 100644 --- a/extraconfig/tasks/major_upgrade_object_storage.sh +++ b/extraconfig/tasks/major_upgrade_object_storage.sh @@ -14,17 +14,18 @@ cat > $UPGRADE_SCRIPT << ENDOFCAT function systemctl_swift { - action=$1 + action=\$1 for S in openstack-swift-account-auditor openstack-swift-account-reaper openstack-swift-account-replicator openstack-swift-account \ openstack-swift-container-auditor openstack-swift-container-replicator openstack-swift-container-updater openstack-swift-container \ - openstack-swift-object-auditor openstack-swift-object-replicator openstack-swift-object-updater openstack-swift-object openstack-swift-proxy; do - systemctl $action $S + openstack-swift-object-auditor openstack-swift-object-replicator openstack-swift-object-updater openstack-swift-object; do + systemctl \$action \$S done } systemctl_swift stop +yum -y install python-zaqarclient # needed for os-collect-config yum -y update systemctl_swift start |