From 017e87bb70970c722621e3cae268de960eabdc41 Mon Sep 17 00:00:00 2001 From: Roger Luethi Date: Sat, 7 Dec 2019 14:07:48 +0100 Subject: [PATCH] setup_nova_compute: remove workaround (no longer needed) Change-Id: I912e20c83aa3a048c8fe6d1ea9bd0dd21652bacd --- .../scripts/ubuntu/setup_nova_compute.sh | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/labs/osbash/scripts/ubuntu/setup_nova_compute.sh b/labs/osbash/scripts/ubuntu/setup_nova_compute.sh index 3cb7b750..a75f4d55 100755 --- a/labs/osbash/scripts/ubuntu/setup_nova_compute.sh +++ b/labs/osbash/scripts/ubuntu/setup_nova_compute.sh @@ -142,24 +142,4 @@ openstack image list echo "Checking the cells and placement API are working successfully." echo "on controller node: nova-status upgrade check" -rc=0 -node_ssh controller "sudo nova-status upgrade check" || rc=$? -if [ $rc -eq 1 ]; then - cat << EXPLAIN -nova-status upgrade check returned $rc. We ignore this error because starting -with OpenStack Rocky, we get an erroneous warning like this: - - Check: Resource Providers - Result: Warning - Details: There are no compute resource providers in the Placement - service but there are 1 compute nodes in the deployment. - This means no compute nodes are reporting into the - Placement service and need to be upgraded and/or fixed. - See - https://docs.openstack.org/nova/latest/user/placement.html - for more details. - -The ability of the training cluster to allocate resources and launch -VMs is not affected by this. -EXPLAIN -fi +node_ssh controller "sudo nova-status upgrade check"