| Summary: | [ocp-on-osp]Retries setting in a intermittent network | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Gan Huang <ghuang> |
| Component: | Installer | Assignee: | Jan Provaznik <jprovazn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Gan Huang <ghuang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.3.0 | CC: | aos-bugs, jokerman, jprovazn, mmccomas |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-20 08:38:22 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: | |
|
Description
Gan Huang
2016-10-21 08:26:24 UTC
From logs it seems that the failure occurred during "yum update" and "subscription-manager" operations. The PR bellow adds retries to all yum operations and to all subscription-manager operations too. https://github.com/redhat-openstack/openshift-on-openstack/pull/286 Fixed in 0.9.5 Verified with v0.9.5 Stack can be created successfully under random networking issues. We can see obvious network issues from cloud-init logs, but it would not break the creation of the stack due to the retries policy. # cat /var/log/cloud-init.log <--snip--> Nov 1 23:09:04 localhost cloud-init: Downloading packages: Nov 1 23:09:04 localhost cloud-init: No Presto metadata available for rhel-7-server-rpms Nov 1 23:10:35 localhost cloud-init: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/Packages/mariadb-libs-5.5.50-1.el7_2.x86_64.rpm: [Errno 14] curl#35 - "Encountered end of file" Nov 1 23:10:35 localhost cloud-init: Trying other mirror. Nov 1 23:10:51 localhost cloud-init: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/Packages/logrotate-3.8.6-7.el7_2.x86_64.rpm: [Errno 12] Timeout on https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/Packages/logrotate-3.8.6-7.el7_2.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds') Nov 1 23:10:51 localhost cloud-init: Trying other mirror. Nov 1 23:12:26 localhost cloud-init: Error downloading packages: Nov 1 23:12:26 localhost cloud-init: 1:mariadb-libs-5.5.50-1.el7_2.x86_64: [Errno 256] No more mirrors to try. Nov 1 23:12:28 localhost cloud-init: Loaded plugins: product-id, search-disabled-repos, subscription-manager Nov 1 23:12:32 localhost cloud-init: Resolving Dependencies <--snip--> |