Repository navigation
Conversation
|
Skipping CI for Draft Pull Request. |
|
/test e2e-parallel |
994a1e0 to
fc90cee
Compare
|
/test e2e-parallel |
|
/test integration-e2e-parallel |
|
/test integration-e2e-parallel |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mvacula02 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test e2e-parallel |
|
/test e2e-parallel |
b872c31 to
6189947
Compare
|
/test e2e-parallel |
1 similar comment
|
/test e2e-parallel |
|
/test verify lint |
6189947 to
41c563a
Compare
|
/test verify lint e2e-parallel |
41c563a to
658097c
Compare
f905db4 to
69ab8aa
Compare
|
/test e2e-parallel |
|
/test e2e-parallel |
7458901 to
74ba89b
Compare
|
/test e2e-parallel |
|
/test integration-e2e-parallel |
|
/test e2e-parallel |
|
/test integration-e2e-parallel |
|
/test e2e-parallel integration-e2e-parallel |
|
/test e2e-parallel integration-e2e-parallel |
|
mvacula02: 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-sigs/prow repository. I understand the commands that are listed here. |
ARO-27733
ARO-30532
What
Adds an E2E test that verifies ARO HCP clusters can register with console.redhat.com via the Insights Operator. The test creates a cluster, confirms the Insights Operator is in NoToken/disabled state (no cloud.openshift.com token in openshift-config/pull-secret), adds a cloud.openshift.com pull secret to kube-system/additional-pull-secret, waits for HCCO to merge it into global-pull-secret, and verifies the Insights Operator transitions to Available=True, Degraded=False.
The test skips gracefully if the pull-secret file is missing or does not contain a cloud.openshift.com token. If the Insights Operator is unexpectedly already Available before the token is added, the test also skips since the NoToken-to-healthy transition cannot be verifiedin that case.
Why
The Insights Operator on ARO HCP previously never registered clusters with console.redhat.com because it only checked openshift-config/pull-secret for the cloud.openshift.com token, which on ARO HCP only contains ACR registry credentials. Customers add their Red Hat pull secret day-2 via kube-system/additional-pull-secret, and HCCO merges it into global-pull-secret, but the Insights Operator didn't look there.
This was fixed by the Insights team in OCPBUGS-87889 (openshift/insights-operator#1302), which adds a fallback to kube-system/global-pull-secret. This test provides E2E coverage for that fix to prevent regressions and ensure the end-to-end flow works on ARO HCP
Testing
This is a new E2E test, and a new test verifier.
PR Checklist
If E2E tests are included:
demonstrate that the test is able to detect a defect/error and fail with
proper error message and logs which communicates nature of the problem.