Traceback is logged when the network node info is omitted in ml2_cisco.ini file

Bug #1424838 reported by Danny Choi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-cisco
Fix Committed
Undecided
Unassigned

Bug Description

When the Network node info is omitted in the ml2_conf.ini file, traceback is logged during stack.sh and when the first VM is launched.

Snippet of the local.conf:

#Nexus Switch
[ml2_mech_cisco_nexus:172.20.231.5]
qa5 = port-channel:1,port-channel:2
qa6 = port-channel:1
qa11 = port-channel:1
physnet = physnet1
ssh_port = 22
username = admin
password = CTO1234!
nve_src_intf = 2

NOTE: qa4 is the Network node connecting to port-channel 1

============================================================

2015-02-22 18:44:22.438 DEBUG neutron.plugins.ml2.drivers.cisco.nexus.mech_cisco_nexus [req-725b6891-0cc8-4096-b528-8f819fe8346f None None] Attempting to bin
d port 2d4495da-99e5-4b5e-9b58-1d08ad78a5fe on network 4586e487-7ce9-4dcb-af29-d86179df38cd from (pid=10577) bind_port /opt/stack/neutron/neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco
_nexus.py:651
2015-02-22 18:44:22.439 ERROR neutron.plugins.ml2.managers [req-725b6891-0cc8-4096-b528-8f819fe8346f None None] Mechanism driver cisco_nexus failed in _bind_
port_level
2015-02-22 18:44:22.439 TRACE neutron.plugins.ml2.managers Traceback (most recent call last):
2015-02-22 18:44:22.439 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/managers.py", line 614, in _bind_port_level
2015-02-22 18:44:22.439 TRACE neutron.plugins.ml2.managers driver.obj.bind_port(context)
2015-02-22 18:44:22.439 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus.py", line 657, in bind_port
2015-02-22 18:44:22.439 TRACE neutron.plugins.ml2.managers host_connections = self._get_switch_info(host_id)
2015-02-22 18:44:22.439 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus.py", line 206, in _get_switch_info
2015-02-22 18:44:22.439 TRACE neutron.plugins.ml2.managers raise excep.NexusComputeHostNotConfigured(host=host_id)
2015-02-22 18:44:22.439 TRACE neutron.plugins.ml2.managers NexusComputeHostNotConfigured: Connection to qa4 is not configured.
2015-02-22 18:44:22.439 TRACE neutron.plugins.ml2.managers
2015-02-22 18:44:22.440 WARNING neutron.plugins.ml2.managers [req-725b6891-0cc8-4096-b528-8f819fe8346f None None] Failed to bind port 2d4495da-99e5-4b5e-9b58

Tags: nexus
Danny Choi (dannchoi)
tags: added: nexus
Revision history for this message
Danny Choi (dannchoi) wrote :

Cannot reproduce problem with Kilo, nova-manse version: 2015.2.

Revision history for this message
Rich Curran (rcurran) wrote :

Fix committed to staging/junoplus via https://review.gerrithub.io/#/c/217450/.
Ported to stackforge.

Changed in networking-cisco:
status: New → 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.