Unable to spawn VM using OVSvApp VDdrvier

Bug #1496857 reported by Romil Gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-vsphere
Fix Committed
Undecided
Romil Gupta

Bug Description

2015-09-16 00:24:30.741 ERROR nova.compute.manager [req-74c2607e-1be5-4daa-b68c-ae7b725c7e82 tempest-TestNetworkBasicOps-838330275 tempest-TestNetworkBasicOps-1813527537] [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] Instance failed to spawn
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] Traceback (most recent call last):
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/opt/stack/nova/nova/compute/manager.py", line 2155, in _build_resources
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] yield resources
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/opt/stack/nova/nova/compute/manager.py", line 2025, in _build_and_run_instance
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] block_device_info=block_device_info)
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/opt/stack/nova/nova/virt/vmwareapi/ovsvapp_vc_driver.py", line 67, in spawn
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] self._create_virtual_nic(instance, image_info, network_info, vm_ref)
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/opt/stack/nova/nova/virt/vmwareapi/ovsvapp_vc_driver.py", line 108, in _create_virtual_nic
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] portgroup_name)
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/opt/stack/nova/nova/virt/vmwareapi/ovsvapp_vc_driver.py", line 164, in _wait_and_get_portgroup_details
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] "runtime.host")
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 627, in _call_method
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] return self.invoke_api(module, method, self.vim, *args, **kwargs)
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/usr/local/lib/python2.7/dist-packages/oslo_vmware/api.py", line 347, in invoke_api
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] return _invoke_api(module, method, *args, **kwargs)
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/usr/local/lib/python2.7/dist-packages/oslo_vmware/api.py", line 122, in func
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] return evt.wait()
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 121, in wait
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] return hubs.get_hub().switch()
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 294, in switch
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] return self.greenlet.switch()
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/usr/local/lib/python2.7/dist-packages/oslo_vmware/common/loopingcall.py", line 123, in _inner
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] idle = self.f(*self.args, **self.kw)
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/usr/local/lib/python2.7/dist-packages/oslo_vmware/api.py", line 95, in _func
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] result = f(*args, **kwargs)
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] File "/usr/local/lib/python2.7/dist-packages/oslo_vmware/api.py", line 289, in _invoke_api
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] api_method = getattr(module, method)
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819] AttributeError: 'module' object has no attribute 'get_dynamic_property'
2015-09-16 00:24:30.741 TRACE nova.compute.manager [instance: 996ff310-9d9f-41a5-908a-53fd5cff0819]

Romil Gupta (romilg)
Changed in networking-vsphere:
assignee: nobody → Romil Gupta (romilg)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-vsphere (master)

Fix proposed to branch: master
Review: https://review.openstack.org/224731

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (master)

Reviewed: https://review.openstack.org/224731
Committed: https://git.openstack.org/cgit/openstack/networking-vsphere/commit/?id=82e8f842978cff684537c5b6cba523914b8c4ea2
Submitter: Jenkins
Branch: master

commit 82e8f842978cff684537c5b6cba523914b8c4ea2
Author: Romil Gupta <email address hidden>
Date: Thu Sep 17 06:35:11 2015 -0700

    OVSvApp: Replace get_dynamic_property with get_object_property

    get_dynamic_property is doing the same thing as
    get_object_property in oslo.vmware which is available from ver.
    0.11.0. This patch removes the duplicate code in Nova.

    Closes-Bug: 1496857

    Reference:
    https://github.com/openstack/nova/commit/ebcabfc71c513b775241b4243c3e1da3fd703827

    Change-Id: I36eb4b0b071ea01010e97e2e896efbcc50140ec0

Changed in networking-vsphere:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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