Bug 1383987 - oadm diagnostics should report more obviously when no node is enabled for pod scheduling
Summary: oadm diagnostics should report more obviously when no node is enabled for pod...
Keywords:
Status: CLOSED EOL
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.3.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-12 10:05 UTC by Xia Zhao
Modified: 2020-02-26 19:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-26 19:05:21 UTC
Target Upstream Version:


Attachments (Terms of Use)

Comment 1 Luke Meyer 2016-10-13 19:50:40 UTC
Actually it does report an error about this:

ERROR: [DClu0004 from diagnostic NodeDefinition@openshift/origin/pkg/diagnostics/cluster/node_definitions.go:118]
       There were no nodes available to use. No new pods can be scheduled.

Do you think there would be a clearer wording needed?

Comment 2 Xia Zhao 2016-10-14 02:06:09 UTC
(In reply to Luke Meyer from comment #1)
> Actually it does report an error about this:
> 
> ERROR: [DClu0004 from diagnostic
> NodeDefinition@openshift/origin/pkg/diagnostics/cluster/node_definitions.go:
> 118]
>        There were no nodes available to use. No new pods can be scheduled.
> 
> Do you think there would be a clearer wording needed?

Oh, saw it -- I should have searched with strings "Unschedulable", "scheduling" ,"disabled", "unable" and unfortunately didn't note the line. And generally speaking, the current message is ok, but I like the style of DClu0003  much more, since:
1) It described very clearly what the current state is and it's root cause
2) It gave out exact command as the solution to resolve the current risk
3) It pointed out very clear on what will happen if I keep in this state


WARN:  [DClu0003 from diagnostic NodeDefinition@openshift/origin/pkg/diagnostics/cluster/node_definitions.go:112]
       Node host-8-174-87.host.centralci.eng.rdu2.redhat.com is ready but is marked Unschedulable.
       This is usually set manually for administrative reasons.
       An administrator can mark the node schedulable with:
           oadm manage-node host-8-174-87.host.centralci.eng.rdu2.redhat.com --schedulable=true
       
       While in this state, pods should not be scheduled to deploy on the node.
       Existing pods will continue to run until completed or evacuated (see
       other options for 'oadm manage-node').

Comment 3 Xia Zhao 2016-10-14 02:06:49 UTC
Changed to be a low severity enhancement request.


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