← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1463655] Re: test_model_kvm_bogus fails with ImageMetaProps object

 

** Changed in: nova
       Status: Incomplete => Invalid

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

Title:
  test_model_kvm_bogus fails with ImageMetaProps object

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  test_model_kvm_bogus is testing against a non valid network model value.
  When trying to use the ImageMetaProps object with the image_meta from the test it fails.

  2015-06-08 21:58:49.682 |     Traceback (most recent call last):
  2015-06-08 21:58:49.682 |       File "nova/tests/unit/virt/libvirt/test_vif.py", line 519, in test_model_kvm_bogus
  2015-06-08 21:58:49.682 |         image_meta)
  ......
  ......
  ......
  2015-06-08 21:58:49.684 |       File "nova/virt/osinfo.py", line 119, in __init__
  2015-06-08 21:58:49.684 |         image_meta = objects.ImageMeta.from_dict(image_meta)
  2015-06-08 21:58:49.684 |       File "nova/objects/image_meta.py", line 80, in from_dict
  2015-06-08 21:58:49.684 |         image_meta.get("properties", {}))
  2015-06-08 21:58:49.684 |       File "nova/objects/image_meta.py", line 382, in from_dict
  2015-06-08 21:58:49.685 |         obj._set_attr_from_current_names(image_props)
  2015-06-08 21:58:49.685 |       File "nova/objects/image_meta.py", line 362, in _set_attr_from_current_names
  2015-06-08 21:58:49.685 |         setattr(self, key, image_props[key])
  2015-06-08 21:58:49.685 |       File "nova/objects/base.py", line 74, in setter
  2015-06-08 21:58:49.685 |         field_value = field.coerce(self, name, value)
  2015-06-08 21:58:49.685 |       File "nova/objects/fields.py", line 203, in coerce
  2015-06-08 21:58:49.685 |         return self._type.coerce(obj, attr, value)
  2015-06-08 21:58:49.685 |       File "nova/objects/fields.py", line 480, in coerce
  2015-06-08 21:58:49.685 |         return super(VIFModel, self).coerce(obj, attr, value)
  2015-06-08 21:58:49.685 |       File "nova/objects/fields.py", line 284, in coerce
  2015-06-08 21:58:49.685 |         raise ValueError(msg)
  2015-06-08 21:58:49.686 |     ValueError: Field value acme is invalid

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


References