overcloud-deploy: add variable for hypervisor_wait
The overcloud-deploy.sh script first spins while waiting for hypervisor resources to become available. In deployed-server environments this will never be true, causing the job to spin indefinitely. This commit makes this an optional component with a hypervisor_wait variable. Change-Id: I9cc019185ccc6564aea3b5f46249c10ed8518dbb
This commit is contained in:
parent
9c833fa675
commit
0988ac6663
|
@ -90,3 +90,6 @@ overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
|||
|
||||
# enable IPv6 on overcloud deployment
|
||||
overcloud_ipv6: false
|
||||
|
||||
# Wait for hypervisor in the deployment script
|
||||
hypervisor_wait: true
|
||||
|
|
|
@ -14,6 +14,7 @@ set -eux
|
|||
|
||||
source {{ working_dir }}/stackrc
|
||||
|
||||
{% if hypervisor_wait|bool %}
|
||||
### --stop_docs
|
||||
# Wait until there are hypervisors available.
|
||||
while true; do
|
||||
|
@ -22,6 +23,7 @@ while true; do
|
|||
break
|
||||
fi
|
||||
done
|
||||
{% endif %}
|
||||
|
||||
### --start_docs
|
||||
|
||||
|
|
Loading…
Reference in New Issue