Bug 1749457

Summary: Clusters must report a metric on whether masters are schedulable to telemetry
Product: OpenShift Container Platform Reporter: Clayton Coleman <ccoleman>
Component: kube-schedulerAssignee: Mike Dame <mdame>
Status: CLOSED ERRATA QA Contact: ge liu <geliu>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: aos-bugs, maszulik, mdame, mfojtik
Target Milestone: ---   
Target Release: 4.2.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: 2019-10-16 06:40:33 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:
Attachments:
Description Flags
cluster-master-schedulable none

Description Clayton Coleman 2019-09-05 16:14:59 UTC
Master scheduling is a key variant of cluster config that can lead to user failure and is also required to properly account for subscription information per cluster.

A metric on the cluster needs to report whether master schedulable is true and that needs to come back via telemetry.  The metric might look like

# masters are schedulable
cluster_master_schedulable 1
# masters are not schedulable
cluster_master_schedulable 0

Must be in 4.2 so we can properly count subscription data.

Comment 3 ge liu 2019-09-12 03:24:07 UTC
Failed to verify with 4.2.0-0.nightly-2019-09-11-202233,
open console, search "cluster_master_schedulable" in  "Insert Metric at Cursor", there is not this item, feel free to contact with me if there is misunderstanding. thx

Comment 6 ge liu 2019-09-17 10:15:49 UTC
no, checked with 4.2.0-0.nightly-2019-09-15-221449, still have not fix.

Comment 7 Mike Dame 2019-09-23 20:22:29 UTC
Created attachment 1618351 [details]
cluster-master-schedulable

Looking today I am able to see the cluster-master-schedulable metric on a running cluster (4.2.0-0.ci-2019-09-23-093016)

Comment 9 ge liu 2019-09-24 08:25:46 UTC
Verified with 4.2.0-0.nightly-2019-09-24-025718

cluster_master_schedulable	https	10.129.0.11:8443	metrics	openshift-kube-scheduler-operator	openshift-kube-scheduler-operator-757465cc56-g8btl	metrics

Comment 10 errata-xmlrpc 2019-10-16 06:40:33 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.

https://access.redhat.com/errata/RHBA-2019:2922