Bug 1973662
| Summary: | Image pruner does not use custom tolerations | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
| Component: | Image Registry | Assignee: | Oleg Bulatov <obulatov> |
| Status: | CLOSED ERRATA | QA Contact: | wewang <wewang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.6 | CC: | aos-bugs, xiuwang |
| Target Milestone: | --- | Keywords: | TestCaseNeeded |
| Target Release: | 4.8.z | ||
| 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-08-10 11:27:39 UTC | Type: | --- |
| 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: | 1973318 | ||
| Bug Blocks: | 1988388 | ||
|
Description
OpenShift BugZilla Robot
2021-06-18 12:15:30 UTC
Verified in version as follow, the operator propagete the tolerations to cronjob
Version:
4.8.0-0.ci.test-2021-07-30-013712-ci-ln-2bj3z5t-latest
```
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.8.4 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:2983 Case added |