Create a new initialization knob named never_cache_ssh_connection.
This boolean is False by default allowing multiple ssh connections
to the Nexus switch to be cached as it behaves today. When there
are multiple neutron processes/controllers and/or non-neutron ssh(xml)
connections, this is an issue since processes hold onto a connection
while the Nexus devices supports a maximum of 8 sessions. As a result,
further ssh connections will fail. In this case, the boolean should be
set to True causing each connection to be closed when a neutron event
is complete.
Change-Id: I61ec303856b757dd8d9d43110fec8e7844ab7c6d
Closes-bug: #1491108
(cherry picked from commit 23551a4198c61e2e25a6382f27d47b0665f054b8)
Reviewed: https:/ /review. openstack. org/220633 /git.openstack. org/cgit/ openstack/ networking- cisco/commit/ ?id=d400749e43e 9d5a1fc92683b40 159afce81edc95
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit d400749e43e9d5a 1fc92683b40159a fce81edc95
Author: Carol Bouchard <email address hidden>
Date: Thu Sep 3 15:19:48 2015 -0400
Create knob to prevent caching ssh connection
Create a new initialization knob named never_cache_ ssh_connection. controllers and/or non-neutron ssh(xml)
This boolean is False by default allowing multiple ssh connections
to the Nexus switch to be cached as it behaves today. When there
are multiple neutron processes/
connections, this is an issue since processes hold onto a connection
while the Nexus devices supports a maximum of 8 sessions. As a result,
further ssh connections will fail. In this case, the boolean should be
set to True causing each connection to be closed when a neutron event
is complete.
Change-Id: I61ec303856b757 dd8d9d43110fec8 e7844ab7c6d e25a6382f27d47b 0665f054b8)
Closes-bug: #1491108
(cherry picked from commit 23551a4198c61e2