Bug 1809651 - changes to dedicated-admins group from `oc adm` are not reflected in OCM
Summary: changes to dedicated-admins group from `oc adm` are not reflected in OCM
Keywords:
Status: NEW
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Unknown
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: Xiaoli Tian
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-03 15:57 UTC by Carl Brumm
Modified: 2022-01-08 05:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Carl Brumm 2020-03-03 15:57:21 UTC
Filed on behalf of Maor Friedman

----

Hello,

When setting up a new cluster in OCM, I have added users to the dedicated-admins group via OCM.
This group and the users are reflected in: `oc get group dedicated-admins`.

When removing a user from the group using `oc adm groups remove-user dedicated-admins <user>`, the change was not reflected in OCM.

I'm not sure what is the expected behavior though.
This PR is related as it enabled dedicated-admin to get/list groups: https://github.com/openshift/managed-cluster-config/pull/235

In addition, this is what happens when trying to delete a group:
```
$ oc delete group test-group
Error from server: admission webhook "group-validation.managed.openshift.io" denied the request: Invalid request
```
Not sure if this is expected as well.

Thank you!
Maor Friedman


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