Merge "Partially revert "Set resource class during upgrade""

This commit is contained in:
Jenkins 2017-08-22 15:34:23 +00:00 committed by Gerrit Code Review
commit 7f924cf30f
1 changed files with 1 additions and 9 deletions

View File

@ -116,15 +116,7 @@ function create {
}
function verify {
local side="$1"
if [[ "$side" = "post-upgrade" ]]; then
nodes=$(openstack --os-baremetal-api-version 1.9 baremetal node list --provision-state active -f value -c UUID)
# Trigger nova flavor migration code for active instances.
for node_id in $nodes; do
openstack --os-baremetal-api-version 1.21 baremetal node set $node_id --resource-class baremetal
done
fi
:
}
function verify_noapi {