Bug 2058692 - [Secondary Scheduler] Creating secondaryscheduler instance fails with error "key failed with : secondaryschedulers.operator.openshift.io "secondary-scheduler" not found"
Summary: [Secondary Scheduler] Creating secondaryscheduler instance fails with error "...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-scheduler
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.11.0
Assignee: Jan Chaloupka
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-25 16:09 UTC by RamaKasturi
Modified: 2022-08-10 10:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 10:51:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift secondary-scheduler-operator pull 24 0 None open bug 2058692: Expect the SecondarySchedulers CR to be named as 'cluster' 2022-02-28 10:59:03 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:51:56 UTC

Description RamaKasturi 2022-02-25 16:09:44 UTC
Description of problem:
After creating secondary scheduler instance i do not see the pod being present in the openshift-secondary-scheduler-operator namespace and on further checking it looks like secondary-scheduler-operator is expecting the CR as secondary-scheduler and not cluster. Currently the name of the CR is cluster.

Version-Release number of selected component (if applicable):
secondary-scheduler-operator-container-v1.0-5

How reproducible:
Always

Steps to Reproduce:
1. Install latest available SSO
2. Try creating SSO instance
3.

Actual results:
I can see that secondary scheduler instance does not get created and below logs are seen in the SSO logs.
E0225 13:05:03.939938       1 target_config_reconciler.go:87] "unable to get operator configuration" err="secondaryschedulers.operator.openshift.io \"secondary-scheduler\" not found" namespace="openshift-secondary-scheduler-operator" secondary-scheduler="secondary-scheduler"
E0225 13:05:03.939953       1 target_config_reconciler.go:278] key failed with : secondaryschedulers.operator.openshift.io "secondary-scheduler" not found
E0225 13:09:52.325927       1 base_controller.go:253] LoggingSyncer reconciliation failed: secondaryschedulers.operator.openshift.io "secondary-scheduler" not found
E0225 13:09:52.498251       1 target_config_reconciler.go:87] "unable to get operator configuration" err="secondaryschedulers.operator.openshift.io \"secondary-scheduler\" not found" namespace="openshift-secondary-scheduler-operator" secondary-scheduler="secondary-scheduler"
E0225 13:09:52.498273       1 target_config_reconciler.go:278] key failed with : secondaryschedulers.operator.openshift.io "secondary-scheduler" not found
E0225 13:15:03.939476       1 base_controller.go:253] LoggingSyncer reconciliation failed: secondaryschedulers.operator.openshift.io "secondary-scheduler" not found
E0225 13:15:03.940813       1 target_config_reconciler.go:87] "unable to get operator configuration" err="secondaryschedulers.operator.openshift.io \"secondary-scheduler\" not found" namespace="openshift-secondary-scheduler-operator" secondary-scheduler="secondary-scheduler"
E0225 13:15:03.940826       1 target_config_reconciler.go:278] key failed with : secondaryschedulers.operator.openshift.io "secondary-scheduler" not found
E0225 13:23:18.834703       1 target_config_reconciler.go:87] "unable to get operator configuration" err="secondaryschedulers.operator.openshift.io \"secondary-scheduler\" not found" namespace="openshift-secondary-scheduler-operator" secondary-scheduler="secondary-scheduler"

[knarra@knarra test]$ oc get pods -n openshift-secondary-scheduler-operator
NAME                                           READY   STATUS    RESTARTS   AGE
secondary-scheduler-operator-d8488677d-2k9sj   1/1     Running   0          5h33m


Expected results:
should be able to create SecondaryScheduler instance

Additional info:

Comment 2 RamaKasturi 2022-03-03 10:10:07 UTC
Verified with the latest SSO operator and cannot see that error now. The CR instance is named as 'cluster' instead of secondary-scheduler. Based on this moving bug to verified state.

Comment 4 errata-xmlrpc 2022-08-10 10:51:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5069


Note You need to log in before you can comment on or make changes to this bug.