Bug 1995079

Summary: No metrics report if install local storage operator in the namespace local-storage
Product: OpenShift Container Platform Reporter: Chao Yang <chaoyang>
Component: StorageAssignee: Santosh Pillai <sapillai>
Storage sub component: Local Storage Operator QA Contact: Chao Yang <chaoyang>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs, hekumar, sapillai
Version: 4.9   
Target Milestone: ---   
Target Release: ---   
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: 2021-08-27 13:51:49 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:

Description Chao Yang 2021-08-18 12:06:34 UTC
Description of problem:
No metrics report if install local storage operator in the namespace local-storage

Version-Release number of selected component (if applicable):
local-storage-operator.4.9.0-202108171159

How reproducible:
Always

Steps to Reproduce:
1.Deploy local storage operator in ns local-storage
2.Create cr instance localvolume and localvolumediscovery
3.PV is created
4.oc get localvolumediscoveryresult
NAME                                                          AGE
discovery-result-ip-10-0-139-226.us-east-2.compute.internal   24m
discovery-result-ip-10-0-163-112.us-east-2.compute.internal   24m
discovery-result-ip-10-0-205-195.us-east-2.compute.internal   24m
5.After more than 20 mins, no metrics reported 
oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -H "Authorization: Bearer $token" 'https://prometheus-k8s.openshift-monitoring.svc:9091/api/v1/label/__name__/values' | jq | grep -i lso
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 72501    0 72501    0     0  2832k      0 --:--:-- --:--:-- --:--:-- 2832k

Actual results:
No metrics report if install local storage operator in the namespace local-storage

Expected results:
Metrics should report.

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:

Comment 1 Hemant Kumar 2021-08-18 17:25:45 UTC
I suspect this might be duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1985082 which will prevent proper rbac rule creation.

Comment 2 Chao Yang 2021-08-19 01:37:29 UTC
Seems the same :-)

Comment 3 Yaniv Kaul 2021-08-19 10:12:15 UTC
(In reply to Chao Yang from comment #2)
> Seems the same :-)

So why not close as duplicate?

Comment 4 Hemant Kumar 2021-08-27 13:51:49 UTC

*** This bug has been marked as a duplicate of bug 1985082 ***

Comment 5 Red Hat Bugzilla 2023-09-15 01:13:48 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days