yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #88307
[Bug 1960902] Re: Wallaby ovb fs001 failing on tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_building_state
*** This bug is a duplicate of bug 1940812 ***
https://bugs.launchpad.net/bugs/1940812
I think this is a duplicate of in nova
https://bugs.launchpad.net/nova/+bug/1940812 Fix for wallaby is up for
review
** This bug has been marked a duplicate of bug 1940812
UnboundLocalError: local variable 'instance_uuid' referenced before assignment
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1960902
Title:
Wallaby ovb fs001 failing on
tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_building_state
Status in OpenStack Compute (nova):
New
Status in tripleo:
Triaged
Bug description:
Reporting due the fact the test fails, and on the failure says this is
a nova internal error and should be reported as bug:
Logs:
https://logserver.rdoproject.org/49/39449/2/check/periodic-tripleo-ci-centos-9-ovb-3ctlr_1comp-featureset001-wallaby/6607433/logs/
Error on tempest side:
ft1.3: tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_building_state[id-9e6e0c87-3352-42f7-9faf-5d6210dbd159]testtools.testresult.real._StringException: pythonlogging:'': {{{
2022-02-14 17:49:07,053 254588 INFO [tempest.lib.common.rest_client] Request (DeleteServersTestJSON:test_delete_server_while_in_building_state): 201 POST https://10.0.0.5:13000/v3/auth/tokens 0.474s
2022-02-14 17:49:07,054 254588 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}
Body: <omitted>
Response - Headers: {'date': 'Mon, 14 Feb 2022 22:49:06 GMT', 'server': 'Apache', 'content-length': '5989', 'x-subject-token': '<omitted>', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-07da4513-88c6-4ade-a4f7-b1f8b75595c2', 'content-type': 'application/json', 'connection': 'close', 'status': '201', 'content-location': 'https://10.0.0.5:13000/v3/auth/tokens'}
Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "10d3ad43a61641ce8182ca7275eadae3", "name": "tempest-DeleteServersTestJSON-1760533763-project", "password_expires_at": null}, "audit_ids": ["lZA50RCXTlqRxKgejUylog"], "expires_at": "2022-02-14T23:49:07.000000Z", "issued_at": "2022-02-14T22:49:07.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "833c1ddd2dfb4db8a31719eba1705a4b", "name": "tempest-DeleteServersTestJSON-1760533763"}, "is_domain": false, "roles": [{"id": "69eeb16b59ff4b6f9cb6e2eb34025513", "name": "reader"}, {"id": "946f9c5be3ca413c9f8ae3261ed391c5", "name": "member"}], "catalog": [{"endpoints": [{"id": "20fa93c3887648949dfeb21c594b7c0b", "interface": "admin", "region_id": "regionOne", "url": "http://172.17.0.173:9696", "region": "regionOne"}, {"id": "a710cf1fd64e4293bb60d54e29074a99", "interface": "public", "region_id": "regionOne", "url": "https://10.0.0.5:13696", "region": "regionOne"}, {"id": "f7f132e73d1243f984bd2d4a6db0bedb", "interface": "internal", "region_id": "regionOne", "url": "http://172.17.0.173:9696", "region": "regionOne"}], "id": "0bce0bee2c80453d9b8fe1d47b36a2d0", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "3c2c1cdd6852421d9905869844fabd34", "interface": "internal", "region_id": "regionOne", "url": "http://172.17.0.173:8000/v1", "region": "regionOne"}, {"id": "d948ad8956a642d5a016f164c8d53c8f", "interface": "admin", "region_id": "regionOne", "url": "http://172.17.0.173:8000/v1", "region": "regionOne"}, {"id": "e7fa7141606c428a9c582ecd93100f3e", "interface": "public", "region_id": "regionOne", "url": "https://10.0.0.5:13005/v1", "region": "regionOne"}], "id": "247706a8fccf414e8e79aed9573e4e4c", "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"id": "3847d57ab18a413a99629fabf6cfbf95", "interface": "internal", "region_id": "regionOne", "url": "http://172.17.0.173:8778/placement", "region": "regionOne"}, {"id": "73f48d783ddd4c658399e9c5ca4e4524", "interface": "admin", "region_id": "regionOne", "url": "http://172.17.0.173:8778/placement", "region": "regionOne"}, {"id": "ae5a64a560c54899a1d56ec8755e4692", "interface": "public", "region_id": "regionOne", "url": "https://10.0.0.5:13778/placement", "region": "regionOne"}], "id": "3b3d32f96dc2455fa19ebaa1fe46a318", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "47412821c43b464790d3b9310a27f298", "interface": "internal", "region_id": "regionOne", "url": "http://172.17.0.173:8776/v3/833c1ddd2dfb4db8a31719eba1705a4b", "region": "regionOne"}, {"id": "ae54f76d2c2a4e518ac09c38094e36d0", "interface": "public", "region_id": "regionOne", "url": "https://10.0.0.5:13776/v3/833c1ddd2dfb4db8a31719eba1705a4b", "region": "regionOne"}, {"id": "cead87f50b9040658aa8897f38cb8ff0", "interface": "admin", "region_id": "regionOne", "url": "http://172.17.0.173:8776/v3/833c1ddd2dfb4db8a31719eba1705a4b", "region": "regionOne"}], "id": "53dc49ca65b447ba943e5def068e8859", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1b82f0b12b474c75bb9c3e4d31fe5ec4", "interface": "public", "region_id": "regionOne", "url": "https://10.0.0.5:13004/v1/833c1ddd2dfb4db8a31719eba1705a4b", "region": "regionOne"}, {"id": "4de7f50a1d4a45f2abdc199c8784f3d5", "interface": "internal", "region_id": "regionOne", "url": "http://172.17.0.173:8004/v1/833c1ddd2dfb4db8a31719eba1705a4b", "region": "regionOne"}, {"id": "c348518313c9481fb3e390f9fa477fa0", "interface": "admin", "region_id": "regionOne", "url": "http://172.17.0.173:8004/v1/833c1ddd2dfb4db8a31719eba1705a4b", "region": "regionOne"}], "id": "61b1e5f006b148208ab2bb9d41677a99", "type": "orchestration", "name": "heat"}, {"endpoints": [{"id": "062af5935553457a97ebaa5b618db721", "interface": "public", "region_id": "regionOne", "url": "https://10.0.0.5:13774/v2.1", "region": "regionOne"}, {"id": "9a9672aa449b400a9dc0227eb8b48644", "interface": "admin", "region_id": "regionOne", "url": "http://172.17.0.173:8774/v2.1", "region": "regionOne"}, {"id": "f597b7205a0f4c66bbbc1b5973f3283b", "interface": "internal", "region_
2022-02-14 17:49:07,055 254588 INFO [tempest.lib.common.fixed_network] (DeleteServersTestJSON:test_delete_server_while_in_building_state) Found network {'id': 'a4c77bad-08b1-45a3-bf1d-f5997ffd2e86', 'name': 'tempest-DeleteServersTestJSON-887033841-network', 'tenant_id': '833c1ddd2dfb4db8a31719eba1705a4b', 'admin_state_up': True, 'mtu': 1292, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '833c1ddd2dfb4db8a31719eba1705a4b', 'qos_policy_id': None, 'port_security_enabled': True, 'dns_domain': '', 'router:external': False, 'provider:network_type': 'geneve', 'provider:physical_network': None, 'provider:segmentation_id': 23558, 'availability_zone_hints': [], 'is_default': False, 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'l2_adjacency': True, 'tags': [], 'created_at': '2022-02-14T22:48:32Z', 'updated_at': '2022-02-14T22:48:32Z', 'revision_number': 1} available for tenant
2022-02-14 17:49:07,797 254588 INFO [tempest.lib.common.rest_client] Request (DeleteServersTestJSON:test_delete_server_while_in_building_state): 202 POST https://10.0.0.5:13774/v2.1/servers 0.741s
2022-02-14 17:49:07,797 254588 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.1', 'X-Auth-Token': '<omitted>'}
Body: {"server": {"name": "tempest-DeleteServersTestJSON-server-2132727203", "imageRef": "03d61b87-cd25-4a56-be70-f979ae38f558", "flavorRef": "c7fb8a3e-0c6d-47bf-9a6a-fcb8d1f6605e", "networks": [{"uuid": "a4c77bad-08b1-45a3-bf1d-f5997ffd2e86"}]}}
Response - Headers: {'date': 'Mon, 14 Feb 2022 22:49:07 GMT', 'server': 'Apache', 'content-length': '372', 'location': 'https://10.0.0.5:13774/v2.1/servers/3a221a14-4f12-45ce-a181-f2486b4123e0', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-e900e488-a1ba-4df5-bc1a-2295b203ce54', 'x-compute-request-id': 'req-e900e488-a1ba-4df5-bc1a-2295b203ce54', 'content-type': 'application/json', 'connection': 'close', 'status': '202', 'content-location': 'https://10.0.0.5:13774/v2.1/servers'}
Body: b'{"server": {"id": "3a221a14-4f12-45ce-a181-f2486b4123e0", "links": [{"rel": "self", "href": "https://10.0.0.5:13774/v2.1/servers/3a221a14-4f12-45ce-a181-f2486b4123e0"}, {"rel": "bookmark", "href": "https://10.0.0.5:13774/servers/3a221a14-4f12-45ce-a181-f2486b4123e0"}], "OS-DCF:diskConfig": "MANUAL", "security_groups": [{"name": "default"}], "adminPass": "dJ3TYhJpCx32"}}'
2022-02-14 17:49:08,136 254588 INFO [tempest.lib.common.rest_client] Request (DeleteServersTestJSON:test_delete_server_while_in_building_state): 200 GET https://10.0.0.5:13774/v2.1/servers/3a221a14-4f12-45ce-a181-f2486b4123e0 0.337s
2022-02-14 17:49:08,137 254588 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.1', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {'date': 'Mon, 14 Feb 2022 22:49:07 GMT', 'server': 'Apache', 'content-length': '1265', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version,Accept-Encoding', 'x-openstack-request-id': 'req-832d1a9a-f0cb-4a01-97af-8df4ca4a555d', 'x-compute-request-id': 'req-832d1a9a-f0cb-4a01-97af-8df4ca4a555d', 'content-type': 'application/json', 'connection': 'close', 'status': '200', 'content-location': 'https://10.0.0.5:13774/v2.1/servers/3a221a14-4f12-45ce-a181-f2486b4123e0'}
Body: b'{"server": {"id": "3a221a14-4f12-45ce-a181-f2486b4123e0", "name": "tempest-DeleteServersTestJSON-server-2132727203", "status": "BUILD", "tenant_id": "833c1ddd2dfb4db8a31719eba1705a4b", "user_id": "10d3ad43a61641ce8182ca7275eadae3", "metadata": {}, "hostId": "", "image": {"id": "03d61b87-cd25-4a56-be70-f979ae38f558", "links": [{"rel": "bookmark", "href": "https://10.0.0.5:13774/images/03d61b87-cd25-4a56-be70-f979ae38f558"}]}, "flavor": {"id": "c7fb8a3e-0c6d-47bf-9a6a-fcb8d1f6605e", "links": [{"rel": "bookmark", "href": "https://10.0.0.5:13774/flavors/c7fb8a3e-0c6d-47bf-9a6a-fcb8d1f6605e"}]}, "created": "2022-02-14T22:49:07Z", "updated": "2022-02-14T22:49:08Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://10.0.0.5:13774/v2.1/servers/3a221a14-4f12-45ce-a181-f2486b4123e0"}, {"rel": "bookmark", "href": "https://10.0.0.5:13774/servers/3a221a14-4f12-45ce-a181-f2486b4123e0"}], "OS-DCF:diskConfig": "MANUAL", "progress": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": null, "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": []}}'
2022-02-14 17:49:08,432 254588 INFO [tempest.lib.common.rest_client] Request (DeleteServersTestJSON:test_delete_server_while_in_building_state): 500 DELETE https://10.0.0.5:13774/v2.1/servers/3a221a14-4f12-45ce-a181-f2486b4123e0 0.282s
2022-02-14 17:49:08,433 254588 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.1', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {'date': 'Mon, 14 Feb 2022 22:49:08 GMT', 'server': 'Apache', 'content-length': '191', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-e76cac67-295f-4ad8-90f0-cdf317db6b30', 'x-compute-request-id': 'req-e76cac67-295f-4ad8-90f0-cdf317db6b30', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close', 'status': '500', 'content-location': 'https://10.0.0.5:13774/v2.1/servers/3a221a14-4f12-45ce-a181-f2486b4123e0'}
Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n<class \'UnboundLocalError\'>"}}'
}}}
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/tempest/api/compute/servers/test_delete_server.py", line 44, in test_delete_server_while_in_building_state
self.client.delete_server(server['id'])
File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/servers_client.py", line 160, in delete_server
resp, body = self.delete("servers/%s" % server_id)
File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 330, in delete
return self.request('DELETE', url, extra_headers, headers, body)
File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/base_compute_client.py", line 47, in request
resp, resp_body = super(BaseComputeClient, self).request(
File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 703, in request
self._error_checker(resp, resp_body)
File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 879, in _error_checker
raise exceptions.ServerFault(resp_body, resp=resp,
tempest.lib.exceptions.ServerFault: Got server fault
Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'UnboundLocalError'>
Nova api log:
https://logserver.rdoproject.org/49/39449/2/check/periodic-tripleo-ci-
centos-9-ovb-3ctlr_1comp-featureset001-wallaby/6607433/logs/overcloud-
controller-1/var/log/extra/podman/containers/nova_api/log/nova/nova-
api.log.txt.gz
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi [req-e76cac67-295f-4ad8-90f0-cdf317db6b30 10d3ad43a61641ce8182ca7275eadae3 833c1ddd2dfb4db8a31719eba1705a4b - default default] Unexpected exception in API method: UnboundLocalError: local variable 'instance_uuid' referenced before assignment
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/objects/instance.py", line 653, in destroy
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi db_inst = db.instance_destroy(self._context, self.uuid,
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/db/api.py", line 555, in instance_destroy
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi return IMPL.instance_destroy(context, instance_uuid,
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/db/sqlalchemy/api.py", line 178, in wrapper
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi return f(*args, **kwargs)
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi ectxt.value = e.inner_exc
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi self.force_reraise()
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi raise self.value
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi return f(*args, **kwargs)
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/db/sqlalchemy/api.py", line 221, in wrapped
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi return f(context, *args, **kwargs)
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/db/sqlalchemy/api.py", line 1173, in instance_destroy
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi raise exception.ConstraintNotMet()
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi nova.exception.ConstraintNotMet: Constraint not met.
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi During handling of the above exception, another exception occurred:
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/compute/api.py", line 2236, in _delete
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi if self._delete_while_booting(context, instance):
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/compute/api.py", line 2178, in _delete_while_booting
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi instance.destroy()
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 226, in wrapper
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi return fn(self, *args, **kwargs)
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/objects/instance.py", line 658, in destroy
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi raise exception.ObjectActionError(action='destroy',
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi nova.exception.ObjectActionError: Object action destroy failed because: host changed
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi During handling of the above exception, another exception occurred:
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/api/openstack/wsgi.py", line 658, in wrapped
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi return f(*args, **kwargs)
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/api/openstack/compute/servers.py", line 1068, in delete
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi self._delete(req.environ['nova.context'], req, id)
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/api/openstack/compute/servers.py", line 881, in _delete
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi self.compute_api.delete(context, instance)
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/compute/api.py", line 226, in inner
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi return function(self, context, instance, *args, **kwargs)
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/compute/api.py", line 153, in inner
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi return f(self, context, instance, *args, **kw)
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/compute/api.py", line 2563, in delete
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi self._delete_instance(context, instance)
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/compute/api.py", line 2554, in _delete_instance
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi self._delete(context, instance, 'delete', self._do_delete,
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi File "/usr/lib/python3.9/site-packages/nova/compute/api.py", line 2278, in _delete
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi self._local_delete_cleanup(context, instance_uuid)
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi UnboundLocalError: local variable 'instance_uuid' referenced before assignment
2022-02-14 22:49:08.412 17 ERROR nova.api.openstack.wsgi
2022-02-14 22:49:08.420 17 INFO nova.api.openstack.wsgi [req-e76cac67-295f-4ad8-90f0-cdf317db6b30 10d3ad43a61641ce8182ca7275eadae3 833c1ddd2dfb4db8a31719eba1705a4b - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'UnboundLocalError'>
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1960902/+subscriptions