yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03893
[Bug 1183192] Re: VMware VC Driver does not honor hw_vif_model from glance
** 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/1183192
Title:
VMware VC Driver does not honor hw_vif_model from glance
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Running nova 2013.1 from ubuntu packages...
In grizzly we have the ability to set glance metadata for an image but
the VC driver does not honor hw_vif_model.
See http://bugs.launchpad.net/openstack-manuals/+bug/1153470
example:
# glance image-update \
--property hw_disk_bus=ide \
--property hw_cdrom_bus=ide \
--property hw_vif_model=e1000 \
f16-x86_64-openstack-sda
Created an image in glance and set hw_vif_model=e1000.
glance image-show 0545467e-b4e8-4161-88f4-f8042c092d10
+-------------------------------+--------------------------------------+
| Property | Value |
+-------------------------------+--------------------------------------+
| Property 'hw_vif_model' | e1000 |
| Property 'hypervisor_type' | vmware |
| Property 'vmware_adaptertype' | lsiLogic |
| Property 'vmware_disktype' | preallocated |
| Property 'vmware_ostype' | ubuntu64Guest |
| checksum | 6a8dfdd18bb2d6dfcac8c3dd7ced9971 |
| container_format | ovf |
| created_at | 2013-05-09T00:41:47 |
| deleted | False |
| disk_format | vmdk |
| id | 0545467e-b4e8-4161-88f4-f8042c092d10 |
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | ESXi5.0 |
| owner | 26af345b8c5b4cf881a68eb3151febd9 |
| protected | False |
| size | 17179869184 |
| status | active |
| updated_at | 2013-05-16T21:02:02 |
+-------------------------------+--------------------------------------+
Deploy an instance of this image and set nova-compute to debug.
In nova-compute.log:
, {u'instance_uuid': u'72
58c294-f72b-4374-a70b-6e71733618b3', u'deleted': 0, u'created_at': u'2013-05-22T22:49:28.000000', u'updated_at': None, u'value': u'vmware', u'key': u'image_hypervisor_typ
e', u'deleted_at': None, u'id': 18692}, {u'instance_uuid': u'7258c294-f72b-4374-a70b-6e71733618b3', u'deleted': 0, u'created_at': u'2013-05-22T22:49:28.000000', u'updated_at': None, u'value': u'e1000', u'key': u'image_hw_vif_model',
We can see that the metadata is passed to nova-compute as expected.
Looking on ESX host that the instance gets deployed on, the Adapter
Type is always set to Flexible.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1183192/+subscriptions