Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1344457 - restart swift when service is inactive #83

Merged
merged 1 commit into from
Aug 30, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/egon/undercloud/commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def self.OSP8_no_registration_no_packages

# Temporarily deal with BZ#1319795
retry_count=0
while ! systemctl is-active openstack-swift-* >/dev/null && (( retry_count < retries )); do
while ! systemctl is-active openstack-swift-* --all >/dev/null && (( retry_count < retries )); do
echo \"Swift services not started, retrying.\"
let retry_count+=1; sudo openstack-service restart swift; sleep 60;
done
Expand Down