Bug 1803754 - ISV operators should NOT be scheduled to the Windows worker
Summary: ISV operators should NOT be scheduled to the Windows worker
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ISV Operators
Version: 4.4
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.4.0
Assignee: Matt Dorn
QA Contact: Bruno Andrade
Depends On:
TreeView+ depends on / blocked
Reported: 2020-02-17 11:21 UTC by Jian Zhang
Modified: 2020-05-13 21:58 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-05-13 21:58:09 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-13 21:58:10 UTC

Description Jian Zhang 2020-02-17 11:21:18 UTC
Description of problem:
Now, OCP supports the Windows worker. But, the ISV operator doesn't. 
So, we should set the `NodeSelector` in their deployment field of CSV to avoid the failure on the Windows worker.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install OCP with a Windows worker.
mac:~ jianzhang$ oc get nodes --show-labels |grep windows
ip-10-0-38-164.us-east-2.compute.internal    Ready                      worker   6h52m   v1.16.2   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/instance-type=m5a.large,beta.kubernetes.io/os=windows,failure-domain.beta.kubernetes.io/region=us-east-2,failure-domain.beta.kubernetes.io/zone=us-east-2c,kubernetes.io/arch=amd64,kubernetes.io/hostname=ec2amaz-ldli9dr,kubernetes.io/os=windows,node-role.kubernetes.io/worker=,node.openshift.io/os_id=Windows

2. Install a ISV operator and check its deployment. For example, MongoDB operator.

Actual results:
There is no "NodeSelector" specific in the Deployment field of their CSV.
mac:~ jianzhang$ oc get csv -n default mongodboperator.v0.3.2 -o yaml|grep -i "NodeSelector"
mac:~ jianzhang$ 
mac:~ jianzhang$ oc get deployment -n default mongodb-enterprise-operator -o yaml|grep -i "NodeSelector"

Expected results:
In order to run failure on the Windows worker. We should set the "NodeSelector" to select the Linus worker in the Deployment field of their CSV. For example:
mac:~ jianzhang$ oc get deployment -n openshift-marketplace certified-operators -o yaml | grep -i "NodeSelector" -A 1
        beta.kubernetes.io/os: linux

Additional info:

Comment 7 errata-xmlrpc 2020-05-13 21:58:09 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, and where to find the updated
files, follow the link below.

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


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