← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1223402] Re: Cisco nexus plugin fails to create vlan on a previously used switch

 

** Also affects: networking-cisco
   Importance: Undecided
       Status: New

** No longer affects: neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1223402

Title:
  Cisco nexus plugin fails to create vlan on a previously used switch

Status in networking-cisco:
  New

Bug description:
  When reconfiguring quantum from scratch with a cisco nexus switch that
  was previously used in a quantum setup, creating a VLAN might fail
  with:

  QuantumClientException: Failed to configure Nexus: 
   <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
          <configure>
            <__XML__MODE__exec_configure>
              <vlan>
                <vlan-id-create-delete>
                  <__XML__PARAM_value>582</__XML__PARAM_value>
                  <__XML__MODE_vlan>
                    <name>
                      <vlan-name>q-582</vlan-name>
                    </name>
                  </__XML__MODE_vlan>
                </vlan-id-create-delete>
              </vlan>
            </__XML__MODE__exec_configure>
          </configure>
        </config>
  . Reason: ERROR: VLAN with the same name exists

  The workaround for this is pretty easy. Just delete (even renaming
  seems to be enough) all the vlans that quantum is supposed to manage
  on the switch using the configuration console.

  But couldn't the nexus plugin also simply overwrite the exisiting VLAN
  in case it already exists on the switch but not it the database?

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-cisco/+bug/1223402/+subscriptions