Fix newly-introduced 'Wait until nodes will be manageable' task
In change I5a35ca95c5f0e7b295f7bcf76e2ebb530e73c1a0 we added the 'Wait until nodes will be manageable' in order to cope for slow environments. That change always assumed that step_introspect is set to true. When step_introspect is set to false, then tripleo_overcloud_node_import_provide is set to true and that means that the nodes get imported with 'openstack overcloud node import instackenv.json --provide'. Having --provide means the nodes will show up with 'available' and not 'manageable'. Change-Id: I1d31343161b6a228426f3b63f477ed839a2fbef9
This commit is contained in:
parent
08081fafba
commit
a585b509b1
|
@ -61,7 +61,7 @@
|
|||
- name: Wait until nodes will be manageable
|
||||
shell: >-
|
||||
set -o pipefail &&
|
||||
openstack --os-cloud undercloud baremetal node list -f value -c "Provisioning State" | grep -v manageable
|
||||
openstack --os-cloud undercloud baremetal node list -f value -c "Provisioning State" | grep -v -e manageable -e available
|
||||
register: result
|
||||
until: result.stdout == ''
|
||||
failed_when: result.rc == 0
|
||||
|
|
Loading…
Reference in New Issue