AttributeError: 'module' object has no attribute 'VIF_TYPE_OTHER'

Bug #1678742 reported by Aman Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-vsphere
Fix Released
Undecided
Aman Kumar

Bug Description

2017-04-03 05:51:14.022370 | --- import errors ---
2017-04-03 05:51:14.022396 | Failed to import test module: networking_vsphere.tests.unit.ml2.test_ovsvapp_mech_driver
2017-04-03 05:51:14.022410 | Traceback (most recent call last):
2017-04-03 05:51:14.022452 | File "/home/jenkins/workspace/gate-networking-vsphere-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path
2017-04-03 05:51:14.022469 | module = self._get_module_from_name(name)
2017-04-03 05:51:14.022509 | File "/home/jenkins/workspace/gate-networking-vsphere-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
2017-04-03 05:51:14.022520 | __import__(name)
2017-04-03 05:51:14.022543 | File "networking_vsphere/tests/unit/ml2/test_ovsvapp_mech_driver.py", line 54, in <module>
2017-04-03 05:51:14.022557 | portbindings.HOST_ID: 'fake_host'}
2017-04-03 05:51:14.022575 | AttributeError: 'module' object has no attribute 'HOST_ID'
2017-04-03 05:51:14.022580 |
2017-04-03 05:51:14.022601 | Failed to import test module: networking_vsphere.tests.unit.ml2.test_ovsvapp_rpc
2017-04-03 05:51:14.022623 | Traceback (most recent call last):
2017-04-03 05:51:14.022663 | File "/home/jenkins/workspace/gate-networking-vsphere-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path
2017-04-03 05:51:14.022677 | module = self._get_module_from_name(name)
2017-04-03 05:51:14.022717 | File "/home/jenkins/workspace/gate-networking-vsphere-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
2017-04-03 05:51:14.022727 | __import__(name)
2017-04-03 05:51:14.022748 | File "networking_vsphere/tests/unit/ml2/test_ovsvapp_rpc.py", line 53, in <module>
2017-04-03 05:51:14.022763 | class TestFakePortContext(base.FakePortContext):
2017-04-03 05:51:14.022787 | File "networking_vsphere/tests/unit/ml2/test_ovsvapp_rpc.py", line 54, in TestFakePortContext
2017-04-03 05:51:14.022800 | VIF_TYPE = portbindings.VIF_TYPE_OTHER
2017-04-03 05:51:14.022818 | AttributeError: 'module' object has no attribute 'VIF_TYPE_OTHER'

Revision history for this message
Aman Kumar (amank) wrote :
Changed in networking-vsphere:
assignee: nobody → Aman Kumar (amank)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (master)

Reviewed: https://review.openstack.org/452608
Committed: https://git.openstack.org/cgit/openstack/networking-vsphere/commit/?id=8a8729f04734ab7585f22a9f4fd6badfe9b10c71
Submitter: Jenkins
Branch: master

commit 8a8729f04734ab7585f22a9f4fd6badfe9b10c71
Author: Aman Kumar <email address hidden>
Date: Thu Mar 23 13:47:32 2017 -0700

    use neutron_lib's portbindings api-def

    Neutron-lib 1.1.0 is now out and contains the portbindings
    API definition (as per commit [1]). This patch moves neutron
    references over to the neutron-lib version.

    References: https://review.openstack.org/#/c/422210

    Change-Id: I8cd721018ca78b45de107e5b4977e34dc3853254
    Closes-Bug: #1678742

Changed in networking-vsphere:
status: In Progress → Fix Released
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.