Cisco: Nexus plugin should not be invoked for port update if it is not configured

Bug #1387846 reported by Abhishek Raut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Abhishek Raut
Icehouse
New
Undecided
Unassigned

Bug Description

The Nexus switch is being invoked to update port when it is not configured. Only the N1KV plugin should be invoked.

Affects only stable/icehouse. Nexus plugin is removed in Juno.

2014-10-30 22:30:12.448 25182 ERROR neutron.plugins.cisco.models.virt_phy_sw_v2 [-] Unable to update port '' on Nexus switch
2014-10-30 22:30:12.448 25182 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2 Traceback (most recent call last):
2014-10-30 22:30:12.448 25182 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2 File "/usr/lib/python2.7/site-packages/neutron/plugins/cisco/models/virt_phy_sw_v2.py", line 395, in update_port
2014-10-30 22:30:12.448 25182 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2 vlan_id = self._get_segmentation_id(old_port['network_id'])
2014-10-30 22:30:12.448 25182 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2 File "/usr/lib/python2.7/site-packages/neutron/plugins/cisco/models/virt_phy_sw_v2.py", line 151, in _get_segmentation_id
2014-10-30 22:30:12.448 25182 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2 raise cexc.NetworkSegmentIDNotFound(net_id=network_id)
2014-10-30 22:30:12.448 25182 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2 NetworkSegmentIDNotFound: Segmentation ID for network 6d660e29-99b4-4f2f-b28c-1d98ffb07545 is not found.
2014-10-30 22:30:12.448 25182 TRACE neutron.plugins.cisco.models.virt_phy_sw_v2
2014-10-30 22:30:12.458 25182 INFO neutron.api.v2.resource [req-1d20f673-af78-4d95-bebf-3f6a23f4effe None] update failed (client error): Segmentation ID for network 6d660e29-99b4-4f2f-b28c-1d98ffb07545 is not found.

Abhishek Raut (abhraut)
Changed in neutron:
assignee: nobody → Abhishek Raut (abhraut)
tags: added: in-stable-icehouse
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/132110

Changed in neutron:
status: New → In Progress
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/icehouse)

Reviewed: https://review.openstack.org/132110
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=f4c9c942b698f555f97183d88fa4a683b907742c
Submitter: Jenkins
Branch: stable/icehouse

commit f4c9c942b698f555f97183d88fa4a683b907742c
Author: Abhishek Raut <email address hidden>
Date: Wed Oct 29 03:09:09 2014 -0700

    Cisco: update_port should only invoke n1kv and not nexus plugin

    Update port method should not invoke the nexus plugin when it is
    not configured with n1kv plugin. This patch adds a condition to the
    update_port method making sure that nexus plugin is invoked only
    when it is configured in cisco_plugins.ini file. This bug is only
    targeted for the stable/icehouse release since the nexus monolithic
    plugin code has been removed from Juno release onwards.

    Change-Id: I67f023e8610975d9636124e9f82336b5ab407c16
    Closes-bug: #1387846

Abhishek Raut (abhraut)
Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-3 → 2015.1.0
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.