Comment 2 for bug 1413822

Revision history for this message
Danny Choi (dannchoi) wrote :

2015-02-14 17:57:56.824 ERROR neutron.plugins.ml2.managers [req-01c58ade-d1d0-4bbf-b192-6cfea8cd0356 None None] Mechanism driver 'cisco_nexus' failed in update_port_postcommit
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers Traceback (most recent call last):
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/managers.py", line 299, in _call_on_drivers
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers getattr(driver.obj, method_name)(context)
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/openstack/common/lockutils.py", line 272, in inner
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers return f(*args, **kwargs)
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus.py", line 620, in update_port_postcommit
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers self._configure_host_entries, vni)
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus.py", line 529, in _port_action_vlan
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers func(vlan_id, device_id, host_id, vni, is_provider)
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus.py", line 383, in _configure_host_entries
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers vni)
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus.py", line 336, in _configure_port_binding
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers vni)
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/drivers/cisco/nexus/nexus_network_driver.py", line 322, in create_and_trunk_vlan
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers self.create_vlan(nexus_host, vlan_id, vlan_name, vni)
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/drivers/cisco/nexus/nexus_network_driver.py", line 239, in create_vlan
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers allowed_exc_strs=["VLAN with the same name exists"])
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers File "/opt/stack/neutron/neutron/plugins/ml2/drivers/cisco/nexus/nexus_network_driver.py", line 113, in _edit_config
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers exc=e)

2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers NexusConfigFailed: Failed to configure Nexus switch: 172.20.231.5 XML: <<<<<<<

2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers <configure>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers <__XML__MODE__exec_configure>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers <vlan>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers <vlan-id-create-delete>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers <__XML__PARAM_value>300</__XML__PARAM_value>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers <__XML__MODE_vlan>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers <name>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers <vlan-name>abcdefghijklmnopqrstuvwxyz012300</vlan-name>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers </name>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers <vn-segment>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers <vlan-vnsegment>16777212</vlan-vnsegment>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers </vn-segment>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers </__XML__MODE_vlan>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers </vlan-id-create-delete>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers </vlan>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers </__XML__MODE__exec_configure>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers </configure>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers </config>
2015-02-14 17:57:56.824 TRACE neutron.plugins.ml2.managers . Reason: Syntax error while parsing 'vn-segment 16777212'