Bug 1376077

Summary: pick-up fix for Nexus threads prematurely terminating sessions
Product: Red Hat OpenStack Reporter: caboucha
Component: openstack-neutronAssignee: Assaf Muller <amuller>
Status: CLOSED NOTABUG QA Contact: Toni Freger <tfreger>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: amuller, chrisw, nyechiel, srevivo, tfreger
Target Milestone: ---   
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: During port scaling, ML2 Plugin Nexus MD Driver threads closing connections before other thread complete. Consequence: Nexus limit of 8 connections exceeded. Fix: Added locks to threads to prevent thread from interfering with other threads operations.
Story Points: ---
Clone Of: 1376063 Environment:
Last Closed: 2016-09-14 15:28:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1376063, 1376080, 1376081    
Bug Blocks: 1376069, 1376073, 1376076, 1376086    

Description caboucha 2016-09-14 15:26:50 UTC
+++ This bug was initially created as a clone of Bug #1376063 +++

Description of problem:
Please incorporate the Nexus MD ML2 Plugin Solution for OSP8:
https://review.openstack.org/#/c/358817/

There exists a neutron process with both a Nexus replay thread and a config thread. These threads share the same ssh session. When they are talking to Nexus at the same time, I saw one thread closing the nexus ssh session before the other thread was complete resulting in unexpected errors.

Version-Release number of selected component (if applicable):

How reproducible:
Very much so with scale and replay configured

Steps to Reproduce:
1. Scale Ml2 Port traffic
2. Replay configured in ml2_conf_cisco.ini file (switch_heartbeat_time = 30)
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from  on 2016-09-14 11:23:11 EDT ---

The following is the correct patchset for OSP9 as 349748 was abandoned.
https://review.openstack.org/350770