Bug 1585603
| Summary: | Upgrade control plane fails while upgrading to specific .z version if latest is available. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Alejandro Coma <acomabon> |
| Component: | Cluster Version Operator | Assignee: | Scott Dodson <sdodson> |
| Status: | CLOSED DUPLICATE | QA Contact: | liujia <jiajliu> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.9.0 | CC: | aos-bugs, jokerman, mmccomas |
| Target Milestone: | --- | ||
| 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: | 2018-06-04 12:07:29 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: | |||
A known issue at https://bugzilla.redhat.com/show_bug.cgi?id=1556740 *** This bug has been marked as a duplicate of bug 1579513 *** |
Description of problem: Trying to upgrade from 3.7.46 to 3.9.14 (having 3.9.27 RPMs available) fails. The playbook "upgrade_control_plane.yml" fails returning the following error message: Play: Ensure the requested version packages are available. Task: Fail if rpm version and docker image version are different Message: OCP rpm version 3.9.27 is different from OCP image version 3.9.14 Relevant used variables are: openshift_release=v3.9 containerized=false openshift_pkg_version=-3.9.14 As you can see, the installer is still comparing the latest RPM available version, instead of using the provided one in "openshift_pkg_version". How reproducible: On a 3.7.46 OCP cluster, having available at least two 3.9.z RPM packages versions, try to upgrade to a non-latest z (in this example, upgrading the control plane to 3.9.14 being 3.9.27 available). Followed official docs procedure to perform the upgrade. Actual results: 1. Hosts: master1, master2 Play: Ensure the requested version packages are available. Task: Fail if rpm version and docker image version are different Message: OCP rpm version 3.9.27 is different from OCP image version 3.9.14 Expected results: The upgrade process should not fail due to OCP rpm version 3.9.27 because we specified 3.9.14 in openshift_pkg_version=-3.9.14