Fix network connectivity issues

Master node needs an outbound internet connection to download repository
metadata during admin node bootstrap process. We need to wait until it
starts building docker containers, then enable the connection and wait
until the bootstrap process completes.

This change depends on another patch, which makes 'dockerctl build all'
much more verbose (https://review.openstack.org/#/c/261062/36).

Change-Id: Ibcc50bb47bd95dc1675aaf1abddbac375a434e2a
Depends-On: I77a1d3a32633390c1fe37bbeb81da5d0996972df
Closes-Bug: 1525967
This commit is contained in:
Dmitry Bilunov 2015-12-29 12:08:13 +03:00
parent e61354ccd2
commit d0a4d33caa
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ wait_for_product_vm_to_download() {
# Loop until master node gets successfully installed
maxdelay=3000
while ! wait_for_line_in_puppet_bootstrap $ip $username $password "$prompt" "dockerctl build all|^Fuel.*complete" "^Fuel.*FAILED"; do
while ! wait_for_line_in_puppet_bootstrap $ip $username $password "$prompt" "build docker containers finished.|^Fuel.*complete" "^Fuel.*FAILED"; do
sleep 5
((waited += 5))
if (( waited >= maxdelay )); then