-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
4.21
-
None
-
None
-
False
-
-
None
-
Critical
-
None
-
None
-
Rejected
-
CNF Compute Sprint 281, CNF Compute Sprint 282
-
2
-
Proposed
-
Removed Functionality
-
-
None
-
None
-
None
-
None
Description of problem:
The secondary scheduler is inheriting the standard scheduler profile which began watch for resourceclaims objects which are necessary as part of DRA feature promotion. It's likely that the scheduler framework will unconditionally watch the resourcelaims even if we disable the DRA scheduler plugins. The secondary scheduler should not enable DRA. In this case we need to update the RBAC rules of the secondary scheduler to allow watching for resourceclaims.
1 reflector.go:205] "Failed to watch" err="failed to list *v1.ResourceClaim: resourceclaims.resource.k8s.io is forbidden: User \"system:serviceaccount:openshift-numaresources:secondary-scheduler\" cannot list resource \"resourceclaims\" in API group \"resource.k8s.io\" at the cluster scope" logger="UnhandledError" reflector="k8s.io/client-go/informers/factory.go:160" type="*v1.ResourceClaim"
Version-Release number of selected component (if applicable):
4.21
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
- blocks
-
OCPBUGS-70229 Secondary Scheduler is failing to watch resourceclaims objects
-
- MODIFIED
-
- depends on
-
OCPBUGS-70128 Secondary Scheduler is failing to watch resourceclaims objects
-
- Verified
-
- is cloned by
-
OCPBUGS-70229 Secondary Scheduler is failing to watch resourceclaims objects
-
- MODIFIED
-
-
OCPBUGS-70128 Secondary Scheduler is failing to watch resourceclaims objects
-
- Verified
-
- links to