Bug 1482551
Summary: | repoquery reports "Check uncompressed DB failed" during openshift-ansible upgrade | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Justin Pierce <jupierce> |
Component: | Installer | Assignee: | Luke Meyer <lmeyer> |
Status: | CLOSED ERRATA | QA Contact: | Johnny Liu <jialiu> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.6.0 | CC: | aos-bugs, bleanhar, jokerman, lmeyer, mmccomas, sdodson |
Target Milestone: | --- | ||
Target Release: | 3.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-ansible-3.7.0-0.126.4 | Doc Type: | No Doc Update |
Doc Text: |
undefined
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-28 22:07:41 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
Justin Pierce
2017-08-17 14:15:28 UTC
This bug is a general class of problems associated with the need to retry operations related to rpmdb, yum, and repoquery. Luke is proposing a strategy for adding a retry pattern that we could apply as a general solution to this problem. https://github.com/openshift/openshift-ansible/pull/5125 That PR is waiting on some package spec issues to be worked out in https://github.com/openshift/openshift-ansible/pull/4264 so that the new action_plugin path can be added (otherwise tasks would be totally broken under the RPM). With https://github.com/openshift/openshift-ansible/pull/5125 stalled at the moment, I disentangled the repoquery fixes and made a new PR: https://github.com/openshift/openshift-ansible/pull/5401 This bug is really hard to be reproduced in QE's cluster, so QE only verify this bug via code review and make sure no regression is introduced. Re-test this bug with openshift-ansible-3.7.0-0.126.4.git.0.3fc2b9b.el7.noarch, the PR is merged, and not introduce any regression bug. But the retries are not been added for repoquery_cmd in playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml. You are right, I missed that one because I wasn't looking in the playbooks for tasks. Thank you for catching this. https://github.com/openshift/openshift-ansible/pull/5401 merged to fix this further. My apologies. The follow-on PR was https://github.com/openshift/openshift-ansible/pull/5464 Verified this bug with openshift-ansible-3.7.0-0.127.0.git.0.b9941e4.el7.noarch, and PASS. PR is merged, and no regression bug is found. I don't think this change needs to be documented as it really only addresses the issue partially. I'd rather say something about it once the yum retries PR merges. 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/RHSA-2017:3188 |