Skip to content

Conversation

@deads2k
Copy link
Contributor

@deads2k deads2k commented Sep 8, 2022

This was added in
openshift/cluster-version-operator#821 to allow
more featuresets and allow for a future migration to include actual gates

/cc @wking

Looking at this repo, it was not present in 4.11, so there is no migration concern.

@openshift-ci openshift-ci bot requested a review from wking September 8, 2022 14:26
Copy link
Contributor

@exdx exdx left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 8, 2022
@exdx
Copy link
Contributor

exdx commented Sep 8, 2022

Hi @deads2k, the verify check is failing because the new annotation is not being applied to the PO CRD. We would need to update it here

${YQ} w -d'*' --inplace --style=double manifests/0000_50_cluster-platform-operator-manager_00-platformoperator.crd.yaml 'metadata.annotations['include.release.openshift.io/self-managed-high-availability']' true
or apply a patch to the configs directory.

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 8, 2022
@deads2k
Copy link
Contributor Author

deads2k commented Sep 8, 2022

Hi @deads2k, the verify check is failing because the new annotation is not being applied to the PO CRD. We would need to update it here

Looks like the CRD manifest is copied from the vendor folder (this is fine). Not sure what the additional annotation is about, but I have fixed openshift/api and revendored to see if that fixes it

@tylerslaton
Copy link
Contributor

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 8, 2022

@deads2k: 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/e2e a36736c link false /test e2e
ci/prow/e2e-techpreview e4a9959 link false /test e2e-techpreview

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

release.openshift.io/feature-gate: TechPreviewNoUpgrade
release.openshift.io/feature-set: TechPreviewNoUpgrade
name: platform-operators-aggregated
namespace: openshift-platform-operators
Copy link
Member

Choose a reason for hiding this comment

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

ClusterOperator are cluster-scoped resources, so this line is not necessary.

@wking
Copy link
Member

wking commented Sep 9, 2022

e2e-techpreview:

  Error: Unexpected non-nil/non-zero argument at index 1:
  	<*errors.StatusError>: &errors.StatusError{ErrStatus:v1.Status{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ListMeta:v1.ListMeta{SelfLink:"", ResourceVersion:"", Continue:"", RemainingItemCount:(*int64)(nil)}, Status:"Failure", Message:"clusteroperators.config.openshift.io \"platform-operators-aggregated\" not found", Reason:"NotFound", Details:(*v1.StatusDetails)(0xc00099a6c0), Code:404}}
  In [It] at: /go/src/github.com/openshift/platform-operators/test/e2e/aggregated_clusteroperator_test.go:38

Looking at CVO logs, I'm unclear about why. The CVO knows it's TechPreviewNoUpgrade, but has nothing to say about platform-operators-aggregated:

$ curl -s https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_platform-operators/45/pull-ci-openshift-platform-operators-main-e2e-techpreview/1567966053030432768/artifacts/e2e-techpreview/gather-extra/artifacts/pods/openshift-cluster-version_cluster-version-operator-5cb8b76556-jv6mw_cluster-version-operator.log | grep 'featurechangestopper\|platform-operators-aggregated'
I0908 20:32:24.570421       1 featurechangestopper.go:100] Starting stop-on-featureset-change controller with "TechPreviewNoUpgrade".

Or, I guess, anything in openshift-platform-operators either. Perhaps the io.openshift.release.operator label isn't set yet, and this presubmit is currently a dud?

@timflannagan
Copy link
Contributor

@wking Yeah, the io.openshift.release.operator Dockerfile label still needs to be toggled on to true in this repository. That's being done in #23 but in the meantime, there won't be any e2e feedback. We were seeing e2e runs in that 23 PR fail because the aggregate platform operators CO resource didn't exist, but looking at a recent run it looks like we're back in business.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 9, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 9, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, exdx, timflannagan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 Sep 9, 2022
@timflannagan
Copy link
Contributor

These changes are already present in the #23 which has passed the e2e suite in recent runs. We're still in the process of bootstrapping this repository while we wait for payload introduction, so I'm going to add the requisite no-ff labels until then.

/label px-approved
/label docs-approved
/label qe-approved

@openshift-ci openshift-ci bot added px-approved Signifies that Product Support has signed off on this PR docs-approved Signifies that Docs has signed off on this PR qe-approved Signifies that QE has signed off on this PR labels Sep 9, 2022
@openshift-merge-robot openshift-merge-robot merged commit edab2fa into openshift:main Sep 9, 2022
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. docs-approved Signifies that Docs has signed off on this PR lgtm Indicates that a PR is ready to be merged. px-approved Signifies that Product Support has signed off on this PR qe-approved Signifies that QE has signed off on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants