OpenStack Neutron (virtual network service)

Cisco plugin unit tests are failing

Reported by Shweta P on 2012-03-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
High
Shweta P
quantum (Ubuntu)
Undecided
Unassigned
Nominated for Precise by Yolanda Robla

Bug Description

Some of the cisco unit tests are failing with a few common erros listed below

----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/git_src/quantum/quantum/plugins/cisco/tests/unit/test_l2networkApi.py", line 613, in test_unplug_interface
    port_dict[const.PORT_ID], vif_id)
  File "/root/git_src/quantum/quantum/plugins/cisco/l2network_plugin.py", line 261, in plug_interface
    db.validate_port_ownership(tenant_id, net_id, port_id)
  File "/root/git_src/quantum/quantum/plugins/cisco/db/api.py", line 310, in validate_port_ownership
    port_get(port_id, net_id)
  File "/root/git_src/quantum/quantum/plugins/cisco/db/api.py", line 176, in port_get
    network_get(net_id)
  File "/root/git_src/quantum/quantum/plugins/cisco/db/api.py", line 116, in network_get
    raise q_exc.NetworkNotFound(net_id=net_id)
NetworkNotFound: Network 30bce2fa-d1cb-4d48-bc2c-5e691badc5ec could not be found

======================================================================
ERROR: test_list_all_networks (quantum.plugins.cisco.tests.unit.test_nexus_plugin.TestNexusPlugin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/git_src/quantum/quantum/plugins/cisco/tests/unit/test_nexus_plugin.py", line 259, in test_list_all_networks
    self.tearDownNetwork(tenant_id, new_net_dict2[const.NET_ID])
  File "/root/git_src/quantum/quantum/plugins/cisco/tests/unit/test_nexus_plugin.py", line 307, in tearDownNetwork
    self._cisco_nexus_plugin.delete_network(tenant_id, network_dict_id)
  File "/root/git_src/quantum/quantum/plugins/cisco/nexus/cisco_nexus_plugin.py", line 103, in delete_network
    self._nexus_ssh_port)
  File "/root/git_src/quantum/quantum/plugins/cisco/nexus/cisco_nexus_network_driver.py", line 138, in delete_vlan
    self.disable_vlan(man, vlan_id)
  File "/root/git_src/quantum/quantum/plugins/cisco/nexus/cisco_nexus_network_driver.py", line 72, in disable_vlan
    mgr.edit_config(target='running', config=confstr)
  File "/usr/lib/python2.6/site-packages/ncclient/manager.py", line 76, in wrapper
    return self.execute(op_cls, *args, **kwds)
  File "/usr/lib/python2.6/site-packages/ncclient/manager.py", line 130, in execute
    raise_mode=self._raise_mode).request(*args, **kwds)
  File "/usr/lib/python2.6/site-packages/ncclient/operations/edit.py", line 58, in request
    return self._request(node)
  File "/usr/lib/python2.6/site-packages/ncclient/operations/rpc.py", line 294, in _request
    raise self._reply.error
RPCError: ERROR: None of the VLANs exist

Shweta P (shweta-ap05) on 2012-03-13
Changed in quantum:
assignee: nobody → Shweta P (shweta-ap05)
Changed in quantum:
status: New → In Progress
importance: Undecided → High
milestone: none → essex-rc1

Reviewed: https://review.openstack.org/5332
Committed: http://github.com/openstack/quantum/commit/ad07e743cb10ffeb31895670e0d073a4217b1dea
Submitter: Jenkins
Branch: master

commit ad07e743cb10ffeb31895670e0d073a4217b1dea
Author: Shweta P <email address hidden>
Date: Mon Mar 12 19:13:31 2012 -0400

    bug 954538
    Fix for the cisco unit tests

    Change-Id: I81e95e91245ba5215f7d8b94ac7aa5ebdd58d976

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-03-19
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in quantum:
milestone: essex-rc1 → 2012.1
Changed in quantum (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers