Bug 1631687
Summary: | upgrade OCP on Atomic Host 7.4.5 failed | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Weihua Meng <wmeng> |
Component: | Containers | Assignee: | Giuseppe Scrivano <gscrivan> |
Status: | CLOSED ERRATA | QA Contact: | weiwei jiang <wjiang> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.11.0 | CC: | amurdaca, aos-bugs, gscrivan, jokerman, mitr, mmccomas, mpatel |
Target Milestone: | --- | ||
Target Release: | 3.11.z | ||
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: | 2019-06-26 09:07:51 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
Weihua Meng
2018-09-21 09:42:05 UTC
This is failing in a module call that updates the system container using the atomic command. Moving over to containers team. Here's the module call https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_node/tasks/node_system_container_install.yml#L2-L28 Here's the source for that module https://github.com/openshift/openshift-ansible/blob/master/roles/lib_openshift/library/oc_atomic_container.py We should test this using Atomic Host 7.5 as minimum version since that was required by 3.10. https://access.redhat.com/articles/2176281#comment-1326561 This is failing in containes/image Copy method, not sure where skopeo is being used or containers/image. Does anyone know that? Miloslav, do you know what's happening? Failure happens during this call to "atomic install" https://github.com/openshift/openshift-ansible/blob/master/roles/lib_openshift/library/oc_atomic_container.py#L81 which in turn calls into "skopeo copy" (iirc, Giuseppe?). Figuring out why we're hitting this corner case and how to solve it. I think the issue is caused by the old version of skopeo present on AH 7.4.5 that didn't correctly report the layer size from the ostree storage. As a workaround the metadata of the system containers branches can be deleted, forcing to fully re-fetch the images: "ostree refs --delete ociimage" Per discussion with Mrunal; now that a workaround has been identified, we will defer this to 3.11.z. alright, so for 3.11.z this is going to be just a matter of using a newer skopeo, correct? Lokesh, could you look into building a newer skopeo? it works if both the skopeo used to install and upgrade OCP are updated. An updated skopeo will still fail to upgrade if OCP was installed used the old version. this has been fixed Checked with v3.10.127 upgrade to v3.11.98 with atomic host 7.4.5 and not met this issue, so move to verified. 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-2019:1605 |