Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1268988

Summary: oc get componentstatus shows an Unhealthy status
Product: OpenShift Container Platform Reporter: Eric Jones <erjones>
Component: NodeAssignee: Ryan Phillips <rphillips>
Node sub component: Kubelet QA Contact: Sunil Choudhary <schoudha>
Status: CLOSED WONTFIX Docs Contact:
Severity: high    
Priority: unspecified CC: aghadge, aos-bugs, asheth, byount, ederevea, erich, erjones, fsimonce, ggillies, gparente, jliggitt, jokerman, jskarbek, knakayam, mmccomas, nicholas_schuetz, ocasalsa, pep, pweil, robert.bohne, stanislav.polasek, trankin
Version: 3.0.0Flags: gparente: needinfo?
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1378267 (view as bug list) Environment:
Last Closed: 2017-08-25 16:24:26 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:
Bug Depends On:    
Bug Blocks: 1267746, 1378267    

Description Eric Jones 2015-10-05 20:14:55 UTC
Description of problem:
The oc get cs command should accurately display the component status however it fails to complete the check which results in an Unhealthy status being reported.

Version-Release number of selected component (if applicable):
OpenShift Enterprise version 3.0.2

How reproducible:
Very

Steps to Reproduce:
1. Setup environment according to directions
2. run `oc get cs`

Actual results:
See that the status of various parts of the system; scheduler, controller-manager, and etcd are in an Unhealthy status.

Expected results:
If system was Just set up, they should all be in a healthy status.

Additional info:
Identified on github as well, https://github.com/openshift/origin/issues/3667

Comment 2 Brenton Leanhardt 2015-10-06 20:24:21 UTC
From reading the upstream bug it sounds like we'll have to fix this in Kubernetes.

Comment 3 Paul Weil 2015-10-28 13:17:45 UTC
This will not make 3.1, it requires significant upstream changes.  Summary is on https://github.com/openshift/origin/issues/3667

Comment 4 Paul Weil 2015-12-08 13:57:44 UTC
*** Bug 1288871 has been marked as a duplicate of this bug. ***

Comment 5 Eric Jones 2015-12-28 20:16:43 UTC
Paul,

I understand it is no small endeavor, however, is this something that could make a future release? 3.1 is already out but potentially 3.2 or further?

Comment 6 Paul Weil 2016-01-04 21:22:57 UTC
Yes, I am marking this upcoming release again.  Most likely this would be a candidate for 3.4.

Comment 14 Jordan Liggitt 2017-08-25 16:24:26 UTC
The kubernetes componentstatuses API have hard-coded assumptions about cluster topology that are incorrect and insecure (it assumes components are running on localhost, assumes they are running insecurely, and assumes they are using hardcoded ports).

It is not supported or expected to work in Openshift.