Validate HostedCluster conditions for Agent#74082
Validate HostedCluster conditions for Agent#74082openshift-merge-bot[bot] merged 2 commits intoopenshift:mainfrom
Conversation
|
@mgencur: This pull request references CNTRLPLANE-2203 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target either version "4.22." or "openshift-4.22.", but it targets "openshift-4.21" instead. 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-mce-e2e-agent-disconnected-ovn-dualstack-metal-conformance |
|
@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-mce-e2e-agent-disconnected-ovn-dualstack-metal-conformance |
|
@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-mce-e2e-agent-connected-ovn-dualstack-metal-conformance |
|
@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
3196682 to
84612a7
Compare
|
@mgencur: This pull request references CNTRLPLANE-2203 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target either version "4.22." or "openshift-4.22.", but it targets "openshift-4.21" instead. 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 openshift-eng/jira-lifecycle-plugin repository. |
97b8705 to
905dcbb
Compare
|
@mgencur: No Jira issue is referenced in the title of this pull request. 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-mce-e2e-agent-connected-ovn-dualstack-metal-conformance |
|
@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-mce-e2e-agent-connected-ovn-dualstack-metal-conformance |
|
@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-mce-e2e-agent-connected-ovn-dualstack-metal-conformance |
|
@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-mce-e2e-agent-connected-ovn-dualstack-metal-conformance |
|
@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-mce-e2e-agent-connected-ovn-dualstack-metal-conformance |
|
@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jparrill, mgencur 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 |
|
@mgencur: all tests passed! 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. |
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
|
Hi @mgencur , When I invesigate The check condition for In HyperShift's release-4.16: release-4.17+: The difference:
On a fresh HostedCluster where credentials never failed, the condition was never created. On 4.16, IsStatusConditionFalse sees "condition doesn't exist" and returns false, so it never sets it to True. The condition simply never appears. On 4.17+, !IsStatusConditionTrue sees "condition doesn't exist" and returns true, so it properly sets it to True on the first successful reconciliation. cc @jparrill |
|
@zhfeng Yeah. Looks like this was a bug fixed in 4.17. We can exclude this condition for 4.16 and older. |
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
* CNTRLPLANE-2203: Validate HostedCluster conditions for Agent * Increase NUM_WORKERS to 4
Add step-registry component to verify HostedCluster status conditions in Agent platform deployments. Validates conditions like Available, ValidConfiguration, and SupportedHostedCluster before tests run.
Integrated into multiple hypershift-mce-agent test chains.
This mimics the ValidateHostedClusterConditions from openshift/hypershift. Hovewer, it only checks conditions that are general for all platforms or specific for Agent. Checks for other platforms (AWS, Kubevirt, etc.) are excluded because this step is specific for Agent.
Covers also ControlPlaneConnectionAvailable and DataPlaneConnectionAvailable from https://issues.redhat.com/browse/CNTRLPLANE-2203