Bug 2039781

Summary: [GSS] OBC is not visible by admin of a Project on Console
Product: OpenShift Container Platform Reporter: Sanjal Katiyar <skatiyar>
Component: Console Storage PluginAssignee: Sanjal Katiyar <skatiyar>
Status: CLOSED ERRATA QA Contact: Mugdha Soni <musoni>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: aindenba, aos-bugs, badhikar, belimele, dzaken, ebenahar, etamir, kdoberst, nbecker, nthomas, ocs-bugs, prpandey, skatiyar
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2031705 Environment:
Last Closed: 2022-03-10 16:38:43 UTC Type: ---
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: 2031705    
Bug Blocks:    

Comment 6 Mugdha Soni 2022-02-16 14:20:11 UTC
Hi Sanjal

Could you please mention in which version is it fixed ?

Thanks
Mugdha

Comment 7 Sanjal Katiyar 2022-02-17 05:51:25 UTC
Hi Mugdha,
It should have been fixed for OCP 4.10 & ODF 4.10

Thanks.

Comment 8 Mugdha Soni 2022-02-17 11:45:38 UTC
Hi 

**Tested with the following builds :-

OCP :- 4.10.0-0.nightly-2022-02-16-171622
ODF :- 4.10.0-156


** Steps performed for validation of the fix :-

(a) Created a user named "mugdha"and project "test".
(b) Added admin role to this user of the project.
(c) Validated the access of OBC from CLI and Console.

** OBSERVATIONS :-

(a) The role "mcg-operator.v4.10.0-noobaa-odf-ui-dc8bf97cd" was automatically created by noobaa.
(b) After passing the rolebinding.yaml as mentioned below , the OBC section was present under Storage in UI .

[root@localhost mcg-3]# cat RoleBinding.yaml 
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: ui-roles-binding
  namespace: openshift-storage
subjects:
  - kind: User
    apiGroup: rbac.authorization.k8s.io
# Change this to the user who requires to access OBC page
    name: tom
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: mcg-operator.v4.10.0-noobaa-odf-ui-dc8bf97cd

(c) User was able to create and list OBC in UI under cli as well .

Screenshots for the same are present under "https://docs.google.com/document/d/14Eth44WMG3-U4Gggjxbsmict5PDFKlSyKNqFV1Z7J30/edit?usp=sharing"

Moving this bug to verified state .

Thanks 
Mugdha

Comment 10 errata-xmlrpc 2022-03-10 16:38:43 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.10.3 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-2022:0056