-
Notifications
You must be signed in to change notification settings - Fork 213
Bug 1822513: Determine current version by checking for status completed #394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@jottofar: This pull request references Bugzilla bug 1822513, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/hold |
19637c5 to
ef0f191
Compare
|
/retitle Bug 1822513: Cluster version history addtions do not contain version |
|
/test unit |
|
/retitle Bug 1822513: Cluster version history additions do not contain version |
|
/retest |
|
/unhold |
|
/retest |
|
/test images |
|
/test e2e-aws |
|
/assign @LalatenduMohanty |
LalatenduMohanty
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
/hold |
Preconditions such as ClusterVersion overrides should block all upgrades including z-level upgrades. However other preconditions should not be block z-level upgrades. Currently, when upgrades are performed using `oc adm upgrade` CVO will check if it is a z-level upgrade by comaparing the minor level version of the desired update with the minor level version of the currently installed version. The currently installed version is determined by simply using the first entry in version history however this is incorrect since that entry will be the version being upgraded to, i.e. the desired version. A side-effect of this is that when the `--to-image option` is used, this first entry will have an empty version string and therefore the z-level upgrade check will always return false and preconditions are always checked. Instead, this change iterates through the version history until it finds the first version with update State of Completed which will be the currently installed version. If no Completed version is found the originally installed version is returned.
|
/unhold |
LalatenduMohanty
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jottofar, LalatenduMohanty The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
11 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@jottofar: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@jottofar: All pull requests linked via external trackers have merged: openshift/cluster-version-operator#394. Bugzilla bug 1822513 has been moved to the MODIFIED state. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
No description provided.