Skip to content
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

NO-JIRA: bootstrap: add CLUSTER_PROFILE_ANNOTATION variable to auth-api bootstrapping stage #9508

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

everettraven
Copy link
Contributor

This should resolve #9424 (comment)

I haven't been able to identify any permafailing nightlies to signal that this variable definition being missing is causing nightly failures, but I do have a slack thread open with TRT here: https://redhat-internal.slack.com/archives/C01CQA76KMX/p1740402125911299

@everettraven
Copy link
Contributor Author

Holding this until I'm more confident in whether or not there is a permafailing nightly we can test this change against to verify it fixes the issue @vrutkovs found.

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 24, 2025
@openshift-ci openshift-ci bot requested review from bfournie and rna-afk February 24, 2025 14:35
@everettraven everettraven changed the title bootstrap: add CLUSTER_PROFILE_ANNOTATION variable to auth-api bootstrapping stage NO-JIRA: bootstrap: add CLUSTER_PROFILE_ANNOTATION variable to auth-api bootstrapping stage Feb 24, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 24, 2025
@openshift-ci-robot
Copy link
Contributor

@everettraven: This pull request explicitly references no jira issue.

In response to this:

This should resolve #9424 (comment)

I haven't been able to identify any permafailing nightlies to signal that this variable definition being missing is causing nightly failures, but I do have a slack thread open with TRT here: https://redhat-internal.slack.com/archives/C01CQA76KMX/p1740402125911299

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.

@everettraven
Copy link
Contributor Author

After discussion with @patrickdillon it doesn't seem like there is a permafailing situation. Ref: https://redhat-internal.slack.com/archives/C68TNFWA2/p1740408989067559?thread_ts=1740385336.341589&cid=C68TNFWA2

This PR should fix the issue. Cancelling the hold.

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 24, 2025
@@ -136,6 +136,8 @@ then

rm --recursive --force auth-api-bootstrap

CLUSTER_PROFILE_ANNOTATION="self-managed-high-availability"
Copy link
Contributor

@patrickdillon patrickdillon Feb 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if it makes more sense to move the original definition of this variable on line 103 out of the conditional and deduplicate?

It's only two instances in the same file so I'm not too concerned about this.

/approve

The original comment says:

A more desireable end state would be require wiring up the infrastructure in some way and read it from rendered-manifest-dir

So this annotation is in manifests rendered during the api bootstrap phase?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This annotation is in the CRD manifests that would be rendered.

In this instance, we are planning to remove a CRD from the openshift/api generated payload manifest so that it can be managed by the cluster-authentication-operator. The CRD that will be managed by the cluster-authentication-operator does not currently have this annotation from what I recall, but we wanted to prepare for a future where the CAO may be responsible for managing feature-gated/cluster-profile aware CRDs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this input to the flag would be use to filter the CRD manifests output in this stage to be only ones that map to the cluster profile specified.

Copy link
Contributor

openshift-ci bot commented Feb 24, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 24, 2025
@patrickdillon
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 24, 2025
@everettraven
Copy link
Contributor Author

/retest-required

@patrickdillon
Copy link
Contributor

/override ci/prow/okd-scos-images

not sure what's going on, the history looked like we were seeing green again. heisenbug

Copy link
Contributor

openshift-ci bot commented Feb 24, 2025

@patrickdillon: Overrode contexts on behalf of patrickdillon: ci/prow/okd-scos-images

In response to this:

/override ci/prow/okd-scos-images

not sure what's going on, the history looked like we were seeing green again. heisenbug

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.

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 965c56c and 2 for PR HEAD e1b0a67 in total

@MayXuQQ
Copy link
Contributor

MayXuQQ commented Feb 25, 2025

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 965c56c and 2 for PR HEAD e1b0a67 in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 282df04 and 1 for PR HEAD e1b0a67 in total

Copy link
Contributor

openshift-ci bot commented Feb 25, 2025

@everettraven: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/okd-scos-e2e-aws-ovn e1b0a67 link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-azure-ovn-resourcegroup e1b0a67 link false /test e2e-azure-ovn-resourcegroup
ci/prow/e2e-vsphere-externallb-ovn e1b0a67 link false /test e2e-vsphere-externallb-ovn
ci/prow/okd-scos-images e1b0a67 link true /test okd-scos-images

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.

@everettraven
Copy link
Contributor Author

/retest-required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants