ESX(i) VIFs and mac addresses

Bug #839383 reported by Vincent Caron
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Sateesh

Bug Description

Diablo version is
2011.3-dev (2011.3-nova-milestone-tarball:tarmac-20110825234031-sqwfb0kwnj0aw26t)

When I try to run an instance on my ESX server, I have got the following message in nova-compute.log :
2011-09-01 15:41:25,538 ERROR nova.compute.manager [-] Instance '7' failed to spawn. Is virtualization enabled in the BIOS? Details: 'Instance' object
 has no attribute 'mac_addresses'
(nova.compute.manager): TRACE: Traceback (most recent call last):
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.7/nova/compute/manager.py", line 440, in _run_instance
(nova.compute.manager): TRACE: network_info, block_device_info)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.7/nova/virt/vmwareapi_conn.py", line 130, in spawn
(nova.compute.manager): TRACE: self._vmops.spawn(context, instance, network_info)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.7/nova/virt/vmwareapi/vmops.py", line 189, in spawn
(nova.compute.manager): TRACE: network_obj)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.7/nova/virt/vmwareapi/vm_util.py", line 65, in get_vm_create_spec
(nova.compute.manager): TRACE: if instance['mac_addresses']:
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.7/nova/db/sqlalchemy/models.py", line 76, in __getitem__
(nova.compute.manager): TRACE: return getattr(self, key)
(nova.compute.manager): TRACE: AttributeError: 'Instance' object has no attribute 'mac_addresses'

The method 'get_vm_create_spec' in the module 'nova.virt.vmwareapi.vm_util.py' has not been updated with the multi-vifs feature.

Related branches

Revision history for this message
Sateesh (sateesh-chodapuneedi) wrote :

Fix is in progress for this issue. This issue will be addressed as part of fixing 831497.
Related bug is 831497 is being addressed at this moment.

Changed in nova:
assignee: nobody → Sateesh (sateesh-chodapuneedi)
Revision history for this message
Sateesh (sateesh-chodapuneedi) wrote :

@Vincent: Can you tell me the nova revision you are using?

Revision history for this message
Vincent Caron (vcaron70) wrote :

My nova revision is the last diablo 4 milestone :
2011.3-nova-milestone-tarball:tarmac-20110825234031-sqwfb0kwnj0aw26t

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → High
status: New → In Progress
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.3
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.