Bug 1973318
| Summary: | Image pruner does not use custom tolerations | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Oleg Bulatov <obulatov> |
| Component: | Image Registry | Assignee: | Oleg Bulatov <obulatov> |
| Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.6 | CC: | aos-bugs, wewang, ychoukse |
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: The operator to check if the registry should use custom tolerations was checking spec.nodeSelector instead of spec.tolerations.
Consequence: The custom tolerations from spec.tolerations are applied only when spec.nodeSelector is set.
Fix: Use the field spec.tolerations to check presence of custom tolerations.
Result: The operator uses custom tolerations if spec.tolerations are set.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:35:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1973662 | ||
|
Description
Oleg Bulatov
2021-06-17 15:48:50 UTC
Verified on 4.9.0-0.nightly-2021-06-24-123715:
spec:
failedJobsHistoryLimit: 3
ignoreInvalidImageReferences: true
keepTagRevisions: 3
logLevel: Normal
schedule: '* * * * *'
successfulJobsHistoryLimit: 3
suspend: false
tolerations:
- effect: NoSchedule
key: key
operator: Equal
value: value
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 (Moderate: OpenShift Container Platform 4.9.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-2021:3759 |