← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1772088] Re: ServerShowV254Test.test_rebuild_server fails with OrphanedObjectError in cells v1

 

** Changed in: nova
       Status: In Progress => Fix Released

** Also affects: nova/queens
   Importance: Undecided
       Status: New

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

Title:
  ServerShowV254Test.test_rebuild_server fails with OrphanedObjectError
  in cells v1

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) queens series:
  In Progress

Bug description:
  Seen here:

  http://logs.openstack.org/00/549300/33/check/nova-
  cells-v1/fa9aa6c/logs/screen-n-cell-
  child.txt.gz?level=TRACE#_May_18_17_09_57_950092

  May 18 17:09:57.950092 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging [None req-613da9d7-ea06-4bc6-b709-a70c1f2cc534 tempest-ServerShowV254Test-1265048581 tempest-ServerShowV254Test-1265048581] Error processing message locally: OrphanedObjectError: Cannot call obj_load_attr on orphaned Instance object
  May 18 17:09:57.950290 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging Traceback (most recent call last):
  May 18 17:09:57.950453 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging   File "/opt/stack/new/nova/nova/cells/messaging.py", line 189, in _process_locally
  May 18 17:09:57.950606 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging     resp_value = self.msg_runner._process_message_locally(self)
  May 18 17:09:57.950759 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging   File "/opt/stack/new/nova/nova/cells/messaging.py", line 1289, in _process_message_locally
  May 18 17:09:57.950917 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging     return fn(message, **message.method_kwargs)
  May 18 17:09:57.951089 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging   File "/opt/stack/new/nova/nova/cells/messaging.py", line 943, in rebuild_instance
  May 18 17:09:57.951240 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging     files_to_inject, **kwargs)
  May 18 17:09:57.951397 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging   File "/opt/stack/new/nova/nova/cells/messaging.py", line 814, in _call_compute_api_with_obj
  May 18 17:09:57.951556 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging     instance.refresh()
  May 18 17:09:57.951713 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging   File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 226, in wrapper
  May 18 17:09:57.951891 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging     return fn(self, *args, **kwargs)
  May 18 17:09:57.952050 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging   File "/opt/stack/new/nova/nova/objects/instance.py", line 868, in refresh
  May 18 17:09:57.952214 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging     elif self[field] != current[field]:
  May 18 17:09:57.952371 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging   File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 774, in __getitem__
  May 18 17:09:57.952527 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging     return getattr(self, name)
  May 18 17:09:57.952684 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging   File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 67, in getter
  May 18 17:09:57.952853 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging     self.obj_load_attr(name)
  May 18 17:09:57.953011 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging   File "/opt/stack/new/nova/nova/objects/instance.py", line 1072, in obj_load_attr
  May 18 17:09:57.953169 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging     objtype=self.obj_name())
  May 18 17:09:57.953327 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging OrphanedObjectError: Cannot call obj_load_attr on orphaned Instance object
  May 18 17:09:57.953493 ubuntu-xenial-inap-mtl01-0004089915 nova-cells[28513]: ERROR nova.cells.messaging 

  The test merged in tempest on May 17:

  https://review.openstack.org/#/c/563851/

  There is a patch to fix it here:

  https://review.openstack.org/569461

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


References