yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42642
[Bug 1506465] Re: VMware: unable to deploy debian image with liberty
** Changed in: nova
Status: Fix Committed => Fix Released
--
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/1506465
Title:
VMware: unable to deploy debian image with liberty
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) liberty series:
Fix Committed
Bug description:
A debian image loaded in and used in Kilo is unable to be used in
liberty.
nicira@htb-1n-eng-dhcp8:~$ nova image-show debian-2.6.32-i686
+-----------------------------+--------------------------------------+
| Property | Value |
+-----------------------------+--------------------------------------+
| OS-EXT-IMG-SIZE:size | 1073741824 |
| created | 2015-10-15T11:19:33Z |
| id | 34d8aa13-fbad-44ad-90c9-4d259abb0a2a |
| metadata hw_vif_model | e1000 |
| metadata vmware_adaptertype | |
| metadata vmware_disktype | preallocated |
| minDisk | 0 |
| minRam | 0 |
| name | debian-2.6.32-i686 |
| progress | 100 |
| status | ACTIVE |
| updated | 2015-10-15T11:19:49Z |
+-----------------------------+--------------------------------------+
The trace from the API is:
2015-10-15 11:25:48.118 ERROR nova.api.openstack.extensions [req-ca854e8c-68fe-47f6-9ce0-c2a5083b417d demo demo] Unexpected exception in API method
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions Traceback (most recent call last):
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions return f(*args, **kwargs)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/api/validation/__init__.py", line 73, in wrapper
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions return func(*args, **kwargs)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/api/validation/__init__.py", line 73, in wrapper
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions return func(*args, **kwargs)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/api/openstack/compute/servers.py", line 602, in create
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions **create_kwargs)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/hooks.py", line 149, in inner
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions rv = f(*args, **kwargs)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/compute/api.py", line 1562, in create
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions check_server_group_quota=check_server_group_quota)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/compute/api.py", line 1162, in _create_instance
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions auto_disk_config, reservation_id, max_count)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/compute/api.py", line 921, in _validate_and_build_base_options
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions image_meta = objects.ImageMeta.from_dict(boot_meta)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/objects/image_meta.py", line 107, in from_dict
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions image_meta.get("properties", {}))
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/objects/image_meta.py", line 459, in from_dict
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions obj._set_attr_from_legacy_names(image_props)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/objects/image_meta.py", line 397, in _set_attr_from_legacy_names
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions setattr(self, "hw_scsi_model", vmware_adaptertype)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 71, in setter
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions field_value = field.coerce(self, name, value)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/fields.py", line 189, in coerce
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions return self._type.coerce(obj, attr, value)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/objects/fields.py", line 272, in coerce
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions return super(SCSIModel, self).coerce(obj, attr, value)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/fields.py", line 284, in coerce
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions raise ValueError(msg)
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions ValueError: Field value is invalid
2015-10-15 11:25:48.118 TRACE nova.api.openstack.extensions
The reason for this is that the default adapter type is set as ""
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1506465/+subscriptions
References