From 1b1739c5ebf677ba12ad53a6b11785471e5f52b5 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 19 Oct 2017 14:39:36 -0700 Subject: RHSM: when using proxy, test its connectivity first When using RHSM with a proxy, we want to make sure the proxy can be reached. This patch verify that a tcp socket can be open from the client to the proxy. This patch also does a bit of refactoring: - --retry-delay 10 --max-time 30 is now used in a parameter everytime we use curl. - proxy options are now used everytime curl is used, even for detecting which version of Satellite is running, now we use proxy options. Co-Authored-By: Vincent S. Cojot Change-Id: I4dcac1528c10f698338383445e27c8a613f9bcd9 Closes-Bug: #1724970 (cherry picked from commit f4e46f4b3ddac3f536a3a1955c91447e8b26ffca) --- releasenotes/notes/rhsm_proxy_verify-548f104c97cf5f90.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 releasenotes/notes/rhsm_proxy_verify-548f104c97cf5f90.yaml (limited to 'releasenotes') diff --git a/releasenotes/notes/rhsm_proxy_verify-548f104c97cf5f90.yaml b/releasenotes/notes/rhsm_proxy_verify-548f104c97cf5f90.yaml new file mode 100644 index 00000000..626ecbaf --- /dev/null +++ b/releasenotes/notes/rhsm_proxy_verify-548f104c97cf5f90.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + When using RHSM proxy, TripleO will now verify that the proxy can be reached + otherwise we'll stop early and not try to subscribe nodes. -- cgit 1.2.3-korg