yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64273
[Bug 1693654] [NEW] Boot from volume fails when cross_az_attach=False with: ObjectActionError: Object action obj_load_attr failed because: attribute id not lazy-loadable
Public bug reported:
Seen here:
http://logs.openstack.org/74/467674/3/check/gate-tempest-dsvm-neutron-
full-ubuntu-
xenial/0e1987b/logs/screen-n-api.txt.gz?level=TRACE#_May_25_21_03_25_417326
May 25 21:03:25.417326 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api [req-ef4c65a8-2285-4972-acfd-f2039f62c343 tempest-TestVolumeBootPattern-1076491733 tempest-TestVolumeBootPattern-1076491733] Failed BDM validation for volume: ccb49a7c-41e2-4b63-aa55-5d9964de2fec
May 25 21:03:25.417504 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api Traceback (most recent call last):
May 25 21:03:25.417676 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/opt/stack/new/nova/nova/compute/api.py", line 1412, in _validate_bdm
May 25 21:03:25.417852 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api context, volume_id, instance)
May 25 21:03:25.417997 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/opt/stack/new/nova/nova/compute/api.py", line 3711, in _check_attach_and_reserve_volume
May 25 21:03:25.418154 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api instance=instance)
May 25 21:03:25.418308 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/opt/stack/new/nova/nova/volume/cinder.py", line 290, in check_availability_zone
May 25 21:03:25.418507 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api "instance": instance['id'],
May 25 21:03:25.418666 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 759, in __getitem__
May 25 21:03:25.418817 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api return getattr(self, name)
May 25 21:03:25.418982 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 67, in getter
May 25 21:03:25.419146 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api self.obj_load_attr(name)
May 25 21:03:25.419290 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/opt/stack/new/nova/nova/objects/instance.py", line 1029, in obj_load_attr
May 25 21:03:25.419446 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api reason='attribute %s not lazy-loadable' % attrname)
May 25 21:03:25.419598 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api ObjectActionError: Object action obj_load_attr failed because: attribute id not lazy-loadable
May 25 21:03:25.419755 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api
The instance isn't created in the API since Ocata so there is no
instance.id field.
** Affects: nova
Importance: High
Assignee: Matt Riedemann (mriedem)
Status: In Progress
** Affects: nova/ocata
Importance: High
Status: Confirmed
** Tags: api availability-zones cinder
** Also affects: nova/ocata
Importance: Undecided
Status: New
** Changed in: nova/ocata
Status: New => Confirmed
** Changed in: nova/ocata
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/1693654
Title:
Boot from volume fails when cross_az_attach=False with:
ObjectActionError: Object action obj_load_attr failed because:
attribute id not lazy-loadable
Status in OpenStack Compute (nova):
In Progress
Status in OpenStack Compute (nova) ocata series:
Confirmed
Bug description:
Seen here:
http://logs.openstack.org/74/467674/3/check/gate-tempest-dsvm-neutron-
full-ubuntu-
xenial/0e1987b/logs/screen-n-api.txt.gz?level=TRACE#_May_25_21_03_25_417326
May 25 21:03:25.417326 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api [req-ef4c65a8-2285-4972-acfd-f2039f62c343 tempest-TestVolumeBootPattern-1076491733 tempest-TestVolumeBootPattern-1076491733] Failed BDM validation for volume: ccb49a7c-41e2-4b63-aa55-5d9964de2fec
May 25 21:03:25.417504 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api Traceback (most recent call last):
May 25 21:03:25.417676 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/opt/stack/new/nova/nova/compute/api.py", line 1412, in _validate_bdm
May 25 21:03:25.417852 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api context, volume_id, instance)
May 25 21:03:25.417997 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/opt/stack/new/nova/nova/compute/api.py", line 3711, in _check_attach_and_reserve_volume
May 25 21:03:25.418154 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api instance=instance)
May 25 21:03:25.418308 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/opt/stack/new/nova/nova/volume/cinder.py", line 290, in check_availability_zone
May 25 21:03:25.418507 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api "instance": instance['id'],
May 25 21:03:25.418666 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 759, in __getitem__
May 25 21:03:25.418817 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api return getattr(self, name)
May 25 21:03:25.418982 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 67, in getter
May 25 21:03:25.419146 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api self.obj_load_attr(name)
May 25 21:03:25.419290 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api File "/opt/stack/new/nova/nova/objects/instance.py", line 1029, in obj_load_attr
May 25 21:03:25.419446 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api reason='attribute %s not lazy-loadable' % attrname)
May 25 21:03:25.419598 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api ObjectActionError: Object action obj_load_attr failed because: attribute id not lazy-loadable
May 25 21:03:25.419755 ubuntu-xenial-ovh-bhs1-8994148 nova-api[18329]: ERROR nova.compute.api
The instance isn't created in the API since Ocata so there is no
instance.id field.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1693654/+subscriptions
Follow ups