-
Notifications
You must be signed in to change notification settings - Fork 191
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
OTA-861: Generate an accepted risk for Y-then-Z upgrade #1093
base: main
Are you sure you want to change the base?
Conversation
1c1ce20
to
38515f3
Compare
@hongkailiu: This pull request references OTA-861 which is a valid jira issue. In 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 openshift-eng/jira-lifecycle-plugin repository. |
@hongkailiu: This pull request references OTA-861 which is a valid jira issue. In 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 openshift-eng/jira-lifecycle-plugin repository. |
f13873d
to
9cd287d
Compare
/test e2e-agnostic-ovn |
/test e2e-agnostic-ovn-upgrade-into-change |
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
9cd287d
to
0c472a5
Compare
7a6d575
to
9c35be0
Compare
9c35be0
to
0a34c11
Compare
@hongkailiu: This pull request references OTA-861 which is a valid jira issue. In 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 openshift-eng/jira-lifecycle-plugin repository. |
0a34c11
to
79fee05
Compare
79fee05
to
1f15ac9
Compare
e702463
to
3218ea0
Compare
/test e2e-agnostic-ovn-upgrade-out-of-change |
3218ea0
to
05e49f9
Compare
05e49f9
to
a039ec1
Compare
a039ec1
to
9638070
Compare
/retest |
/test okd-scos-e2e-aws-ovn |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hongkailiu, petr-muller The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Testing with 9638070
$ oc get clusterversion version
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.18.0-0.nightly-2024-11-30-141716 True False 7m30s Cluster version is 4.18.0-0.nightly-2024-11-30-141716
### --force up to the verification failure of the payload
$ oc adm upgrade --to-image registry.build05.ci.openshift.org/ci-ln-70qgc2b/release:latest --force --allow-explicit-upgrade
$ oc adm upgrade
info: An upgrade is in progress. Working towards 4.19.0-0.test-2024-12-02-213010-ci-ln-70qgc2b-latest: 111 of 902 done (12% complete), waiting on etcd, kube-apiserver
Upgradeable=False
Reason: UpdateInProgress
Message: An update is already in progress and the details are in the Progressing condition
warning: Cannot display available updates:
Reason: NoChannel
Message: The update channel has not been configured.
### https://amd64.ocp.releases.ci.openshift.org/releasestream/4.19.0-0.ci/release/4.19.0-0.ci-2024-12-02-120136
$ oc adm upgrade --to-image registry.ci.openshift.org/ocp/release@sha256:7b60d49a7809c74533289588df47037c4543e9e0608f1c4ad6307f737474e6d3 --allow-explicit-upgrade --allow-upgrade-with-warnings
$ oc adm upgrade
info: An upgrade is in progress. Working towards 4.19.0-0.test-2024-12-02-213010-ci-ln-70qgc2b-latest: 111 of 902 done (12% complete), waiting on etcd, kube-apiserver
Upgradeable=False
Reason: UpdateInProgress
Message: An update is already in progress and the details are in the Progressing condition
ReleaseAccepted=False
Reason: RetrievePayload
Message: Retrieving payload failed version="" image="registry.ci.openshift.org/ocp/release@sha256:7b60d49a7809c74533289588df47037c4543e9e0608f1c4ad6307f737474e6d3" failure=The update cannot be verified: unable to verify sha256:7b60d49a7809c74533289588df47037c4543e9e0608f1c4ad6307f737474e6d3 against keyrings: verifier-public-key-redhat
warning: Cannot display available updates:
Reason: NoChannel
Message: The update channel has not been configured.
$ oc adm upgrade --to-image registry.ci.openshift.org/ocp/release@sha256:7b60d49a7809c74533289588df47037c4543e9e0608f1c4ad6307f737474e6d3 --allow-explicit-upgrade --allow-upgrade-with-warnings --force
$ oc get clusterversion version -o yaml | yq -y '.status.history[0].acceptedRisks'
'Target release version="" image="registry.ci.openshift.org/ocp/release@sha256:7b60d49a7809c74533289588df47037c4543e9e0608f1c4ad6307f737474e6d3"
cannot be verified, but continuing anyway because the update was forced: unable
to verify sha256:7b60d49a7809c74533289588df47037c4543e9e0608f1c4ad6307f737474e6d3
against keyrings: verifier-public-key-redhat
[2024-12-02T22:26:06Z: prefix sha256-7b60d49a7809c74533289588df47037c4543e9e0608f1c4ad6307f737474e6d3
in config map signatures-managed: no more signatures to check, 2024-12-02T22:26:06Z:
unable to retrieve signature from https://storage.googleapis.com/openshift-release/official/signatures/openshift/release/sha256=7b60d49a7809c74533289588df47037c4543e9e0608f1c4ad6307f737474e6d3/signature-1:
no more signatures to check, 2024-12-02T22:26:06Z: unable to retrieve signature
from https://mirror.openshift.com/pub/openshift-v4/signatures/openshift/release/sha256=7b60d49a7809c74533289588df47037c4543e9e0608f1c4ad6307f737474e6d3/signature-1:
no more signatures to check, 2024-12-02T22:26:06Z: parallel signature store wrapping
containers/image signature store under https://storage.googleapis.com/openshift-release/official/signatures/openshift/release,
containers/image signature store under https://mirror.openshift.com/pub/openshift-v4/signatures/openshift/release:
no more signatures to check, 2024-12-02T22:26:06Z: serial signature store wrapping
ClusterVersion signatureStores unset, falling back to default stores, parallel signature
store wrapping containers/image signature store under https://storage.googleapis.com/openshift-release/official/signatures/openshift/release,
containers/image signature store under https://mirror.openshift.com/pub/openshift-v4/signatures/openshift/release:
no more signatures to check, 2024-12-02T22:26:06Z: serial signature store wrapping
config maps in openshift-config-managed with label "release.openshift.io/verification-signatures",
serial signature store wrapping ClusterVersion signatureStores unset, falling back
to default stores, parallel signature store wrapping containers/image signature
store under https://storage.googleapis.com/openshift-release/official/signatures/openshift/release,
containers/image signature store under https://mirror.openshift.com/pub/openshift-v4/signatures/openshift/release:
no more signatures to check]
Forced through blocking failures: Multiple precondition checks failed:
* Precondition "ClusterVersionRollback" failed because of "LowDesiredVersion": 4.19.0-0.ci-2024-12-02-120136
is less than the current target 4.19.0-0.test-2024-12-02-213010-ci-ln-70qgc2b-latest,
and the only supported rollback is to the cluster''s previous version 4.18.0-0.nightly-2024-11-30-141716
(registry.build02.ci.openshift.org/ci-ln-z83g5lt/release@sha256:31b1d1ef6aaefe25c087ba7320b8e301d3c1ca71ec574fdebdaa42c4884b4e29)
* Precondition "ClusterVersionUpgradeable" failed because of "MinorVersionClusterUpdateInProgress":
Retarget to 4.19.0-0.ci-2024-12-02-120136 while a minor level update from 4.18.0-0.nightly-2024-11-30-141716
to 4.19.0-0.test-2024-12-02-213010-ci-ln-70qgc2b-latest is in progress
* Precondition "ClusterVersionRecommendedUpdate" failed because of "NoChannel":
Configured channel is unset, so the recommended status of updating from 4.19.0-0.test-2024-12-02-213010-ci-ln-70qgc2b-latest
to 4.19.0-0.ci-2024-12-02-120136 is unknown.' The relevant part is
We may wait until 4.19 has a EC so that |
hi @hongkailiu I test it by below two paths (below intermediate builds are created by
The second one has same result as you posted above.
Wait some seconds:
Get latest history:
|
Continue with above test #1.
|
@hongkailiu: The following tests failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
PR needs rebase. 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-sigs/prow repository. |
https://issues.redhat.com/browse/OTA-861
This one will be rebased after #1094 is merged.