Bug 1985082 - namespace of monitoring rbac rules should not be hardcoded
Summary: namespace of monitoring rbac rules should not be hardcoded
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.9.0
Assignee: Santosh Pillai
QA Contact: Chao Yang
URL:
Whiteboard:
: 1995079 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-22 19:29 UTC by Hemant Kumar
Modified: 2021-10-18 17:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:40:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift local-storage-operator pull 274 0 None None None 2021-08-29 05:40:13 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:41:03 UTC

Description Hemant Kumar 2021-07-22 19:29:16 UTC
If admin installs LSO in any namespace other than openshift-local-storage, the rbac rules we installed will be invalid.

Comment 1 Hemant Kumar 2021-08-27 13:51:49 UTC
*** Bug 1995079 has been marked as a duplicate of this bug. ***

Comment 5 Chao Yang 2021-09-08 09:16:49 UTC
Passed with local-storage-operator.4.9.0-202109071344

Installed LSO in namespace local-storage
oc exec -c diskmaker-discovery diskmaker-discovery-d8tmd -- curl -k -H "Authorization: Bearer $token"  https://10.128.2.14:9393/metrics | grep lso_discovery_disk_count
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6440    0  6440    0     0   273k      0 --:--:-- --:--:-- --:--:--  273k
# HELP lso_discovery_disk_count Total disks discovered by the Local Volume Discovery controller per node
# TYPE lso_discovery_disk_count gauge
lso_discovery_disk_count{nodeName="ip-10-0-148-195.us-east-2.compute.internal"} 5

Comment 7 errata-xmlrpc 2021-10-18 17:40:51 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), 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/RHSA-2021:3759


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