Partially revert "Set resource class during upgrade"
This reverts part of commit 30bc3c0933
.
On master, when upgrading from pike to queens in grenade, we already
create all the nodes with a resource class being set, so no need to
update it. We still pass the parameters to verify and verify_noapi as
that's what grenade does.
Change-Id: Ic7c3218fe95ef9f73d358216831158a1ec025fba
This commit is contained in:
parent
30bc3c0933
commit
63f803c4a9
@ -93,15 +93,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 {
|
||||
|
Loading…
Reference in New Issue
Block a user