Bug 1576295
Summary: | Deploying router leads to error router-7: About to stop retrying router-7: couldn't create deployer pod for default/router-7: unable to parse requirement: found '', expected: '=' | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Miheer Salunke <misalunk> |
Component: | openshift-controller-manager | Assignee: | Michal Fojtik <mfojtik> |
Status: | CLOSED NOTABUG | QA Contact: | Wang Haoran <haowang> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 3.5.1 | CC: | aos-bugs, jliggitt, misalunk, mluther, tnozicka |
Target Milestone: | --- | ||
Target Release: | 3.5.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-10 11:46:11 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: |
Description
Miheer Salunke
2018-05-09 07:39:42 UTC
The BZ suggests this might be an admission plugin issue, where: 1) The customer had working configuration 2) The customer updated the dc/router (adding those 2 env vars) 3) On update, the admission kicked in and mutated the DC in wrong way? (i don't see any 'bad' mutation inside the DC, other than the 'nodeSelector' is added to the DC (and missing in RC?). 4) After customer deleted DC,RC/etc.. and recreated, admission did the same thing as when updating, breaking the deployment... openshift.io/node-selector: role-infra We added openshift.io/node-selector: role=infra i.e = sign which solved the issue It's happen to be a configuration issue. Customer edit the namespace and change openshift.io/node-selector == from openshift.io/node-selector: role-infra ---------- Original is "role-infra" == to openshift.io/node-selector: role=infra ---------- Change the "-" to "=" , so it becomes "role=infra" Looks like it solves the issue. Thanks Miheer, Ryan and Michal. Closing then. |