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.
Fix proposed to branch: master /review. openstack. org/468232
Review: https:/