Browse Source

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
Dmitry Bilunov 3 years ago
parent
commit
d0a4d33caa
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      functions/product.sh

+ 1
- 1
functions/product.sh View File

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

Loading…
Cancel
Save