Merge "devstack: allow nodes to be already MANAGEABLE in exercise"

This commit is contained in:
Jenkins 2015-09-24 16:54:45 +00:00 committed by Gerrit Code Review
commit 7039d96aaa

View File

@ -76,7 +76,9 @@ for uuid in $nodes; do
for p in cpus cpu_arch memory_mb local_gb; do for p in cpus cpu_arch memory_mb local_gb; do
ironic node-update $uuid remove properties/$p > /dev/null || true ironic node-update $uuid remove properties/$p > /dev/null || true
done done
ironic node-set-provision-state $uuid manage if ! ironic node-show $uuid | grep provision_state | grep -iq manageable; then
ironic node-set-provision-state $uuid manage
fi
done done
openstack baremetal introspection rule purge openstack baremetal introspection rule purge