Bug 1523778
| Summary: | Understanding Failed Scheduling Predicates in `oc describe` is hard. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Eric Paris <eparis> |
| Component: | Node | Assignee: | Avesh Agarwal <avagarwa> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | weiwei jiang <wjiang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.7.0 | CC: | aos-bugs, jokerman, mmccomas, sjenning |
| Target Milestone: | --- | ||
| Target Release: | 3.10.0 | ||
| 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-12-20 21:09:40 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: | |||
Avesh, PTAL. (In reply to Eric Paris from comment #0) > I have a pod with a node selector that doesn't match any nodes. In `oc > describe` the message I get is: > > 17m 4m 48 default-scheduler Warning FailedScheduling 0/98 nodes are > available: 82 Insufficient memory, 98 MatchNodeSelector. > > > If I read this it says 0/98 nodes are available. > There is Insufficient Memory on 82 of those 98 nodes. > 98 of those nodes match my node selector. > > I would like that text to change to > (a) use human readable words (MatchNodeSelector should be "match > NodeSelector") > (b) include a negation ("98 Do not match NodeSelector") or ("0 match > NodeSelector) Sgtm. will send something to kube upstream. This is already been done upstream for 1.10: https://github.com/kubernetes/kubernetes/pull/58999 We should have this in 3.10 via the rebase. Checked on atomic-openshift-3.9.27-1.git.0.964617d.el7 and the issue is not fixed yet. Sorry, target release was wrong. Fixed in 3.10. Checked with # oc version oc v3.10.0-0.58.0 kubernetes v1.10.0+b81c8f8 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://qe-wjiang-310r5-2-master-etcd-1:8443 openshift v3.10.0-0.58.0 kubernetes v1.10.0+b81c8f8 And the issue should be fixed Warning FailedScheduling 11s (x6 over 26s) default-scheduler 0/2 nodes are available: 2 Insufficient cpu. Warning FailedScheduling 14s (x6 over 29s) default-scheduler 0/2 nodes are available: 2 node(s) didn't have free ports for the requested pod ports. |
I have a pod with a node selector that doesn't match any nodes. In `oc describe` the message I get is: 17m 4m 48 default-scheduler Warning FailedScheduling 0/98 nodes are available: 82 Insufficient memory, 98 MatchNodeSelector. If I read this it says 0/98 nodes are available. There is Insufficient Memory on 82 of those 98 nodes. 98 of those nodes match my node selector. I would like that text to change to (a) use human readable words (MatchNodeSelector should be "match NodeSelector") (b) include a negation ("98 Do not match NodeSelector") or ("0 match NodeSelector)