Bug 1556679
Summary: | ansible installer does not stop for long time when it waits for timeout of curl verifying | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Kenjiro Nakayama <knakayam> |
Component: | Installer | Assignee: | Scott Dodson <sdodson> |
Status: | CLOSED ERRATA | QA Contact: | Johnny Liu <jialiu> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.7.0 | CC: | aos-bugs, jokerman, mmccomas, wmeng |
Target Milestone: | --- | ||
Target Release: | 3.7.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
When verifying various API endpoints a timeout was not set. This meant that the verification would wait 120 seconds for the connection to fail and then wait the prescribed delay before retrying. This would've led to certain tasks waiting up to two hours rather than moving forward with the installation. This has been corrected and now a connection timeout of two seconds has been set.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-18 03:54:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Kenjiro Nakayama
2018-03-15 03:28:05 UTC
Verified this bug with openshift-ansible-3.7.46-1.git.0.37f607e.el7.noarch, and PASS. Installation log: TASK [openshift_master : Wait for API to become available] ********************* Tuesday 08 May 2018 04:20:26 -0400 (0:00:00.055) 0:06:28.763 *********** FAILED - RETRYING: Wait for API to become available (120 retries left). FAILED - RETRYING: Wait for API to become available (119 retries left). [WARNING]: Consider using get_url or uri module rather than running curl ok: [qe-jialiu37-master-etcd-1.0508-g15.qe.rhcloud.com] => {"attempts": 3, "changed": false, "cmd": ["curl", "--silent", "--tlsv1.2", "--max-time", "2", "--cacert", "/etc/origin/master/ca-bundle.crt", "https://qe-jialiu37-master-etcd-1:8443/healthz/ready"], "delta": "0:00:00.122739", "end": "2018-05-08 04:22:20.578836", "failed": false, "rc": 0, "start": "2018-05-08 04:22:20.456097", "stderr": "", "stderr_lines": [], "stdout": "ok", "stdout_lines": ["ok"]} The "--max-time 2" is shown in curl command line. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1576 |