← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1916588] [NEW] Delete instance in build state result in HTTP 500: nova.exception.ConstraintNotMet: Constraint not met.

 

Public bug reported:

We see this happened 6 times in the last 7 days in the
test_delete_server_while_in_building_state[id-9e6e0c87-3352-42f7-9faf-
5d6210dbd159] tempest test in various jobs.

Signature:
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_building_state%5C%22%20AND%20message%3A%5C%22FAILED%5C%22

A bit more specific signature but it has some false positives too:
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22nova.exception.ConstraintNotMet%3A%20Constraint%20not%20met%5C%22

Traceback from the API log from
https://zuul.opendev.org/t/openstack/build/4f9f062d16d947e282c2c281be795c02/log/controller/logs/screen-n-api.txt#9874
:

[None req-2c4ec2c7-41d3-4598-bb6f-ba6db90dce9a tempest-
DeleteServersTestJSON-358270281 tempest-
DeleteServersTestJSON-358270281-project] Unexpected exception in API
method: AttributeError: 'NoneType' object has no attribute 'uuid'

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi Traceback
(most recent call last):

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/objects/instance.py", line 653, in destroy

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     db_inst
= db.instance_destroy(self._context, self.uuid,

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/db/api.py", line 555, in instance_destroy

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     return
IMPL.instance_destroy(context, instance_uuid,

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/db/sqlalchemy/api.py", line 178, in wrapper

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     return
f(*args, **kwargs)

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/usr/local/lib/python3.8/dist-packages/oslo_db/api.py", line 154, in
wrapper

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
ectxt.value = e.inner_exc

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/usr/local/lib/python3.8/dist-packages/oslo_utils/excutils.py", line
227, in __exit__

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
self.force_reraise()

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/usr/local/lib/python3.8/dist-packages/oslo_utils/excutils.py", line
200, in force_reraise

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     raise
self.value

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/usr/local/lib/python3.8/dist-packages/oslo_db/api.py", line 142, in
wrapper

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     return
f(*args, **kwargs)

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/db/sqlalchemy/api.py", line 221, in wrapped

Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     return
f(context, *args, **kwargs)

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/db/sqlalchemy/api.py", line 1165, in
instance_destroy

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     raise
exception.ConstraintNotMet()

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
nova.exception.ConstraintNotMet: Constraint not met.

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi During
handling of the above exception, another exception occurred:

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi Traceback
(most recent call last):

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/compute/api.py", line 2219, in _delete

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     if
self._delete_while_booting(context, instance):

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/compute/api.py", line 2159, in
_delete_while_booting

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
instance.destroy()

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/usr/local/lib/python3.8/dist-packages/oslo_versionedobjects/base.py",
line 226, in wrapper

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     return
fn(self, *args, **kwargs)

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/objects/instance.py", line 658, in destroy

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     raise
exception.ObjectActionError(action='destroy',

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
nova.exception.ObjectActionError: Object action destroy failed because:
host changed

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi During
handling of the above exception, another exception occurred:

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi Traceback
(most recent call last):

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/api/openstack/wsgi.py", line 658, in wrapped

Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     return
f(*args, **kwargs)

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/api/openstack/compute/servers.py", line 987, in
delete

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
self._delete(req.environ['nova.context'], req, id)

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/api/openstack/compute/servers.py", line 801, in
_delete

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
self.compute_api.delete(context, instance)

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/compute/api.py", line 228, in inner

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     return
function(self, context, instance, *args, **kwargs)

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/compute/api.py", line 155, in inner

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     return
f(self, context, instance, *args, **kw)

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/compute/api.py", line 2541, in delete

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
self._delete_instance(context, instance)

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/compute/api.py", line 2532, in _delete_instance

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
self._delete(context, instance, 'delete', self._do_delete,

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/compute/api.py", line 2256, in _delete

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
self._local_delete_cleanup(context, instance)

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
"/opt/stack/nova/nova/compute/api.py", line 2173, in
_local_delete_cleanup

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
context, instance.uuid)

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
AttributeError: 'NoneType' object has no attribute 'uuid'

Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi

** Affects: nova
     Importance: High
         Status: Confirmed


** Tags: gate-failure

** Tags added: gate-failure

** Changed in: nova
       Status: New => Confirmed

** Changed in: nova
   Importance: Undecided => High

-- 
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/1916588

Title:
  Delete instance in build state result in HTTP 500:
  nova.exception.ConstraintNotMet: Constraint not met.

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  We see this happened 6 times in the last 7 days in the
  test_delete_server_while_in_building_state[id-9e6e0c87-3352-42f7-9faf-
  5d6210dbd159] tempest test in various jobs.

  Signature:
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_building_state%5C%22%20AND%20message%3A%5C%22FAILED%5C%22

  A bit more specific signature but it has some false positives too:
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22nova.exception.ConstraintNotMet%3A%20Constraint%20not%20met%5C%22

  Traceback from the API log from
  https://zuul.opendev.org/t/openstack/build/4f9f062d16d947e282c2c281be795c02/log/controller/logs/screen-n-api.txt#9874
  :

  [None req-2c4ec2c7-41d3-4598-bb6f-ba6db90dce9a tempest-
  DeleteServersTestJSON-358270281 tempest-
  DeleteServersTestJSON-358270281-project] Unexpected exception in API
  method: AttributeError: 'NoneType' object has no attribute 'uuid'

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi Traceback
  (most recent call last):

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/objects/instance.py", line 653, in destroy

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  db_inst = db.instance_destroy(self._context, self.uuid,

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/db/api.py", line 555, in instance_destroy

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  return IMPL.instance_destroy(context, instance_uuid,

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 178, in wrapper

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  return f(*args, **kwargs)

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/usr/local/lib/python3.8/dist-packages/oslo_db/api.py", line 154, in
  wrapper

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  ectxt.value = e.inner_exc

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/usr/local/lib/python3.8/dist-packages/oslo_utils/excutils.py", line
  227, in __exit__

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  self.force_reraise()

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/usr/local/lib/python3.8/dist-packages/oslo_utils/excutils.py", line
  200, in force_reraise

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     raise
  self.value

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/usr/local/lib/python3.8/dist-packages/oslo_db/api.py", line 142, in
  wrapper

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  return f(*args, **kwargs)

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 221, in wrapped

  Feb 22 23:04:53.682322 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  return f(context, *args, **kwargs)

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 1165, in
  instance_destroy

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     raise
  exception.ConstraintNotMet()

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  nova.exception.ConstraintNotMet: Constraint not met.

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi During
  handling of the above exception, another exception occurred:

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi Traceback
  (most recent call last):

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/compute/api.py", line 2219, in _delete

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     if
  self._delete_while_booting(context, instance):

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/compute/api.py", line 2159, in
  _delete_while_booting

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  instance.destroy()

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/usr/local/lib/python3.8/dist-
  packages/oslo_versionedobjects/base.py", line 226, in wrapper

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  return fn(self, *args, **kwargs)

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/objects/instance.py", line 658, in destroy

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi     raise
  exception.ObjectActionError(action='destroy',

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  nova.exception.ObjectActionError: Object action destroy failed
  because: host changed

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi During
  handling of the above exception, another exception occurred:

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi Traceback
  (most recent call last):

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/api/openstack/wsgi.py", line 658, in wrapped

  Feb 22 23:04:53.682873 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  return f(*args, **kwargs)

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/api/openstack/compute/servers.py", line 987, in
  delete

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  self._delete(req.environ['nova.context'], req, id)

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/api/openstack/compute/servers.py", line 801, in
  _delete

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  self.compute_api.delete(context, instance)

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/compute/api.py", line 228, in inner

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  return function(self, context, instance, *args, **kwargs)

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/compute/api.py", line 155, in inner

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  return f(self, context, instance, *args, **kw)

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/compute/api.py", line 2541, in delete

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  self._delete_instance(context, instance)

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/compute/api.py", line 2532, in _delete_instance

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  self._delete(context, instance, 'delete', self._do_delete,

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/compute/api.py", line 2256, in _delete

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  self._local_delete_cleanup(context, instance)

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi   File
  "/opt/stack/nova/nova/compute/api.py", line 2173, in
  _local_delete_cleanup

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  context, instance.uuid)

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi
  AttributeError: 'NoneType' object has no attribute 'uuid'

  Feb 22 23:04:53.683990 ubuntu-focal-vexxhost-ca-ymq-1-0023140447
  devstack@n-api.service[66784]: ERROR nova.api.openstack.wsgi

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1916588/+subscriptions