Bug 1713620

Summary: namespace should be openshift-etcd for "kube_pod_status_ready:etcd:sum" rule
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: MonitoringAssignee: Frederic Branczyk <fbranczy>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: low    
Version: 4.1.0CC: anpicker, erooth, mloibl, pkrupa, sponnaga, surbania, xtian
Target Milestone: ---Keywords: OSE41z_next, Regression
Target Release: 4.1.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: 4.1.2
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-19 06:45:34 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:
Bug Depends On:    
Bug Blocks: 1718956    

Description Junqi Zhao 2019-05-24 09:26:34 UTC
Description of problem:
etcd pods are deployed under openshift-etcd project now, not in kube-system
# oc -n openshift-etcd  get pod
NAME                                                     READY   STATUS    RESTARTS   AGE
etcd-member-ip-10-0-135-140.us-east-2.compute.internal   2/2     Running   0          8h
etcd-member-ip-10-0-151-177.us-east-2.compute.internal   2/2     Running   0          8h
etcd-member-ip-10-0-169-0.us-east-2.compute.internal     2/2     Running   0          8h
# oc -n kube-system  get pod
No resources found.

but "kube_pod_status_ready:etcd:sum" rule still use "kube-system" project
record: kube_pod_status_ready:etcd:sum 
expr: sum
  by(condition) (kube_pod_status_ready{condition="true",namespace="kube-system",pod=~"etcd.*"})

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Check "kube_pod_status_ready:etcd:sum" rule

Actual results:
namespace is stil "kube-system" for "kube_pod_status_ready:etcd:sum" rule

Expected results:
namespace should be openshift-etcd for "kube_pod_status_ready:etcd:sum" rule

Additional info:

Comment 2 Junqi Zhao 2019-06-04 01:33:06 UTC
change back to MODIFIED, no 4.1.z OCP build to verify now

Comment 4 Junqi Zhao 2019-06-05 03:18:38 UTC
namespace is openshift-etcd for "kube_pod_status_ready:etcd:sum" rule
payload: 4.1.0-0.nightly-2019-06-04-235906

Comment 6 errata-xmlrpc 2019-06-19 06:45:34 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.