summaryrefslogtreecommitdiffstats
path: root/nova/notifications.py
diff options
context:
space:
mode:
authorMatthew Treinish <treinish@linux.vnet.ibm.com>2013-02-27 15:30:07 -0500
committerMatthew Treinish <treinish@linux.vnet.ibm.com>2013-02-28 17:18:15 -0500
commit0ce8d40cc47580d202c8b5fd25d263bff78f7e8d (patch)
tree79ce561cc91503864a082b057eca423f7a91d1c5 /nova/notifications.py
parent7be9e64fe20e4c45966bae63165ced4413af2605 (diff)
downloadnova-0ce8d40cc47580d202c8b5fd25d263bff78f7e8d.tar.gz
nova-0ce8d40cc47580d202c8b5fd25d263bff78f7e8d.tar.xz
nova-0ce8d40cc47580d202c8b5fd25d263bff78f7e8d.zip
Fallback coverage backdoor telnet connection to lo
This commit adds a fallback condition for the telnet connection. If trying to establish a connection to the backdoor fails with ECONNREFUSED the extension will then try to connect to the same port on the lo device. Eventlet backdoors currently open on the lo interface and this is to cover the common (and CI) use case where the hostname doesn't resolve to 127.0.0.1. Using the fallback was done to avoid adding a new config option to specify that the hostname that is in the DB for the service doesn't resolve to the lo device, and that the extension should use just use localhost. Change-Id: I0321db68cbccf0cddf13d91a77dfb744bb456d87
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions