Bug 1774752
| Summary: | catalog source pods are scheduled onto windows nodes | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Daniel Sover <dsover> | |
| Component: | OLM | Assignee: | Daniel Sover <dsover> | |
| OLM sub component: | OLM | QA Contact: | Jian Zhang <jiazha> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | high | |||
| Priority: | unspecified | CC: | bandrade, jiazha, kuiwang, nhale, scolange, sgao, tbuskey | |
| Version: | 4.2.z | |||
| Target Milestone: | --- | |||
| Target Release: | 4.2.z | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1773661 | |||
| : | 1775180 (view as bug list) | Environment: | ||
| Last Closed: | 2020-02-24 16:52:45 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: | 1773661 | |||
| Bug Blocks: | 1775180 | |||
|
Comment 1
Daniel Sover
2019-11-20 21:04:02 UTC
Daniel, Could you help add the fixed PR here? Thanks! Change status to ASSIGNED first. Cluster version is 4.2.0-0.nightly-2020-02-10-063139
mac:~ jianzhang$ oc exec catalog-operator-6f99d88468-9bxfq -- olm --version
OLM version: 0.11.0
git commit: 79afb217828e7aa67a19399b7311b96c23f1ca1f
Now, the pods of the CatalogSource can only deploy in the nodes with the "beta.kubernetes.io/os: linux", LGTM, verify it!
mac:~ jianzhang$ oc get deployment -o yaml |grep nodeSelector -A 2
nodeSelector:
beta.kubernetes.io/os: linux
restartPolicy: Always
--
nodeSelector:
beta.kubernetes.io/os: linux
restartPolicy: Always
--
nodeSelector:
node-role.kubernetes.io/master: ""
priorityClassName: system-cluster-critical
--
nodeSelector:
beta.kubernetes.io/os: linux
restartPolicy: Always
mac:~ jianzhang$ oc get catalogsource
NAME DISPLAY TYPE PUBLISHER AGE
certified-operators Certified Operators grpc Red Hat 20m
community-operators Community Operators grpc Red Hat 20m
redhat-operators Red Hat Operators grpc Red Hat 20m
mac:~ jianzhang$ oc get deployment
NAME READY UP-TO-DATE AVAILABLE AGE
certified-operators 1/1 1 1 20m
community-operators 1/1 1 1 20m
marketplace-operator 1/1 1 1 26m
redhat-operators 1/1 1 1 20m
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, 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/RHBA-2020:0460 |