Skip to content

Commit

Permalink
Merge pull request #74 from jmontleon/wait-for-swift
Browse files Browse the repository at this point in the history
BZ#1344457 ensure swift is up before trying to check for/upload plan
  • Loading branch information
tzumainn committed Jul 13, 2016
2 parents 6072475 + 23959bc commit 8f32cb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/egon/undercloud/commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ def self.OSP8_no_registration_no_packages
sudo sed -i -- \"s/#baremetal_scheduler_default_filters/baremetal_scheduler_default_filters/g\" /etc/nova/nova.conf
sudo service openstack-nova-scheduler restart
while ! swift stat; do echo "Swift is not ready. Sleeping for 30 seconds."; sleep 30; done
if ! [ $(swift list | grep overcloud) ]; then
cp -r /usr/share/openstack-tripleo-heat-templates .
Expand Down

0 comments on commit 8f32cb6

Please sign in to comment.