ML2 cisco_nexus MD: If configured, close ssh sessions
Most (if not all) Nexus switches have a limit of eight ssh sessions open
at one time. With the openstack/neutron introduction of rpc and api workers
(setting these variables results in additional neutron-server processes
being forked) when more than eight processes are in use (including one for
the parent neutron-server process) the ssh limit on the nexus switches is
exceeded and exceptions are taken. More importantly is that communication
to the nexus switches can not be made for the nineth (or above) processes.
This nexus switch limitation will be fixed by closing each session after
each event if the overall number of processes is >= eight.
Change-Id: Ie953c955c6e045a1b252e6973f53b38284833f37
Closes-Bug: #1454734
(cherry picked from commit 1eec7fb821e4d75fb6f875f9edeb2977bfcd88ef)
Reviewed: https:/ /review. openstack. org/209249 /git.openstack. org/cgit/ openstack/ networking- cisco/commit/ ?id=77d4a60fbce 7f81275c3cdd9fe c3b28a1ca0c57c
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 77d4a60fbce7f81 275c3cdd9fec3b2 8a1ca0c57c
Author: Rich Curran <email address hidden>
Date: Wed Jul 1 13:06:07 2015 -0400
ML2 cisco_nexus MD: If configured, close ssh sessions
Most (if not all) Nexus switches have a limit of eight ssh sessions open
at one time. With the openstack/neutron introduction of rpc and api workers
(setting these variables results in additional neutron-server processes
being forked) when more than eight processes are in use (including one for
the parent neutron-server process) the ssh limit on the nexus switches is
exceeded and exceptions are taken. More importantly is that communication
to the nexus switches can not be made for the nineth (or above) processes.
This nexus switch limitation will be fixed by closing each session after
each event if the overall number of processes is >= eight.
Change-Id: Ie953c955c6e045 a1b252e6973f53b 38284833f37 fb6f875f9edeb29 77bfcd88ef)
Closes-Bug: #1454734
(cherry picked from commit 1eec7fb821e4d75