Skip to content

Conversation

@jhadvig
Copy link
Member

@jhadvig jhadvig commented Jun 10, 2024

It looks like the ConsolePlugin v1 api object is not created in time for the console-operator, since after the 4.11 -> 4.12 update console-operator is reporting:

...
2024-06-04T09:52:52.887020412Z W0604 09:52:52.886992       1 reflector.go:424] github.com/openshift/client-go/console/informers/externalversions/factory.go:101: failed to list *v1.ConsolePlugin: the server could not find the requested resource (get consoleplugins.console.openshift.io)
2024-06-04T09:52:52.887020412Z E0604 09:52:52.887011       1 reflector.go:140] github.com/openshift/client-go/console/informers/externalversions/factory.go:101: Failed to watch *v1.ConsolePlugin: failed to list *v1.ConsolePlugin: the server could not find the requested resource (get consoleplugins.console.openshift.io)
2024-06-04T09:53:30.853354736Z I0604 09:53:30.853322       1 shared_informer.go:281] stop requested
2024-06-04T09:53:30.853354736Z F0604 09:53:30.853338       1 base_controller.go:96] unable to sync caches for ConsoleOperator

/assign @wking

@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Jun 10, 2024
@openshift-ci-robot
Copy link

@jhadvig: This pull request references Jira Issue OCPBUGS-35051, which is invalid:

  • expected the bug to target the "4.12.z" version, but no target version was set
  • release note text must be set and not match the template OR release note type must be set to "Release Note Not Required"
  • expected Jira Issue OCPBUGS-35051 to depend on a bug targeting a version in 4.13.0, 4.13.z and in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but no dependents were found

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

It looks like the ConsolePlugin v1 api object is not created in time for the console-operator, since after the 4.11 -> 4.12 update console-operator is reporting:

...
2024-06-04T09:52:52.887020412Z W0604 09:52:52.886992       1 reflector.go:424] github.com/openshift/client-go/console/informers/externalversions/factory.go:101: failed to list *v1.ConsolePlugin: the server could not find the requested resource (get consoleplugins.console.openshift.io)
2024-06-04T09:52:52.887020412Z E0604 09:52:52.887011       1 reflector.go:140] github.com/openshift/client-go/console/informers/externalversions/factory.go:101: Failed to watch *v1.ConsolePlugin: failed to list *v1.ConsolePlugin: the server could not find the requested resource (get consoleplugins.console.openshift.io)
2024-06-04T09:53:30.853354736Z I0604 09:53:30.853322       1 shared_informer.go:281] stop requested
2024-06-04T09:53:30.853354736Z F0604 09:53:30.853338       1 base_controller.go:96] unable to sync caches for ConsoleOperator

/assign @wking

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 10, 2024

Hello @jhadvig! Some important instructions when contributing to openshift/api:
API design plays an important part in the user experience of OpenShift and as such API PRs are subject to a high level of scrutiny to ensure they follow our best practices. If you haven't already done so, please review the OpenShift API Conventions and ensure that your proposed changes are compliant. Following these conventions will help expedite the api review process for your PR.

@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 10, 2024
@openshift-ci openshift-ci bot requested review from JoelSpeed and spadgett June 10, 2024 13:13
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 10, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jhadvig
Once this PR has been reviewed and has the lgtm label, please assign soltysh for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@JoelSpeed
Copy link
Contributor

Run level is part of an annotation on the API type, and then the file names are generated from there. Please review the Go type itself and you should see the // + marker to update

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 10, 2024

@jhadvig: The following test 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/integration fe0b98c link true /test integration

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.

@jhadvig
Copy link
Member Author

jhadvig commented Jun 10, 2024

@JoelSpeed you mean the // +openshift:compatibility-gen:level=2 ?

@JoelSpeed
Copy link
Contributor

No, more like the annotation on

// +openshift:file-pattern=cvoRunLevel=0000_50,operatorName=service-ca,operatorOrdering=02

There's a CVO run level I think is the one you want to change

@jhadvig
Copy link
Member Author

jhadvig commented Jun 10, 2024

Right, unfortunatelly I dont see these in release-4.12 branch, which the PR aims against. Shall I add it ?

@JoelSpeed
Copy link
Contributor

I did not notice this is for 4.12, is this updating the files to match what's present in master now?

@jhadvig
Copy link
Member Author

jhadvig commented Jun 10, 2024

Not necessarily, the issue is that API is not present on the 4.12 cluster after upgrade from 4.11.

@JoelSpeed
Copy link
Contributor

Not necessarily, the issue is that API is not present on the 4.12 cluster after upgrade from 4.11.

I suspect you are going to need to adjust the run level in master, to make sure it's installed prior to your operator being upgraded, and then backport from there.

But there's also the ordering within the run level, I'd have thought you could change that to make sure the CRD is installed in 4.12 prior to your operator being upgraded and breaking

@jhadvig
Copy link
Member Author

jhadvig commented Jun 10, 2024

I see that the consoleplugin go type has runlvl 90 and other console manifest are at 00, is that correct ?

@JoelSpeed
Copy link
Contributor

The rest of your manifests are at run level 90 in the operator repo itself, https://github.com/openshift/console-operator/tree/master/manifests

I think you need to add the run level, not the operator ordering, so it becomes run level 90 and operator order 01

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 9, 2024
@openshift-bot
Copy link

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci openshift-ci bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Oct 9, 2024
@openshift-bot
Copy link

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci openshift-ci bot closed this Nov 9, 2024
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 9, 2024

@openshift-bot: Closed this PR.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

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

@jhadvig: This pull request references Jira Issue OCPBUGS-35051. The bug has been updated to no longer refer to the pull request using the external bug tracker. All external bug links have been closed. The bug has been moved to the NEW state.

In response to this:

It looks like the ConsolePlugin v1 api object is not created in time for the console-operator, since after the 4.11 -> 4.12 update console-operator is reporting:

...
2024-06-04T09:52:52.887020412Z W0604 09:52:52.886992       1 reflector.go:424] github.com/openshift/client-go/console/informers/externalversions/factory.go:101: failed to list *v1.ConsolePlugin: the server could not find the requested resource (get consoleplugins.console.openshift.io)
2024-06-04T09:52:52.887020412Z E0604 09:52:52.887011       1 reflector.go:140] github.com/openshift/client-go/console/informers/externalversions/factory.go:101: Failed to watch *v1.ConsolePlugin: failed to list *v1.ConsolePlugin: the server could not find the requested resource (get consoleplugins.console.openshift.io)
2024-06-04T09:53:30.853354736Z I0604 09:53:30.853322       1 shared_informer.go:281] stop requested
2024-06-04T09:53:30.853354736Z F0604 09:53:30.853338       1 base_controller.go:96] unable to sync caches for ConsoleOperator

/assign @wking

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants