[stable/7.0]Add timeout for keystone client in proxy checker
Add 10 seconds timeout for Keystone client initialization
during HTTP proxy check, because otherwise it could hang
forever.
Also check that find_proxy returns IP address before
using it.
Change-Id: I4fabe0f5fee3d2acc3e7e2387ac858b2c56493c7
Closes-bug: #1499415
(cherry picked from commit 0e7bc3d9e08f9b83f49b532613748790e4b4d84b)
Reviewed: https:/ /review. openstack. org/237925 /git.openstack. org/cgit/ openstack/ fuel-ostf/ commit/ ?id=1d0fe68fd84 608d9a7821d199d 12c2bd157fdcf3
Committed: https:/
Submitter: Jenkins
Branch: stable/7.0
commit 1d0fe68fd84608d 9a7821d199d12c2 bd157fdcf3
Author: Artem Panchenko <email address hidden>
Date: Thu Sep 24 17:59:45 2015 +0300
[stable/7.0]Add timeout for keystone client in proxy checker
Add 10 seconds timeout for Keystone client initialization
during HTTP proxy check, because otherwise it could hang
forever.
Also check that find_proxy returns IP address before
using it.
Change-Id: I4fabe0f5fee3d2 acc3e7e2387ac85 8b2c56493c7 3f49b5326137487 90e4b4d84b)
Closes-bug: #1499415
(cherry picked from commit 0e7bc3d9e08f9b8