While trying to remove the permission for a group in site recovery manager below error is being displayed.
VLSR 9.X
vCenter 8.x
The roles or permissions are not allowed to delete from the SRM directly.
The roles and permissions assigned to the SRM are inherited from vCenter thus not allowing it delete directly from SRM.
dr.log snippet
xxxx-xx-xxxx:xx:xx[srm-reactive-thread-3327] WARN com.vmware.srm.client.sites.permissions.RemoveMultiplePermissionsDataHandler -1497768041398671055 24a78df0-xxxx-xxxx-xxxx-4c7a7dcb995c removePermissions - DrRequestHandlerError:
(vim.fault.NotFound) {
faultCause = null,
faultMessage = null
}
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.ReflectAccess.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(Unknown Source)
at java.base/java.lang.Class.newInstance(Unknown Source)
The roles and permission for groups needs to be deleted/removed from the vCenter(Global permissions) that will propagate to the SRM/vSphere replication.