Bug 2277779
| Summary: | UI blocking appuser from applying policy/Failover/Relocate for subscription applications | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | avdhoot <asagare> |
| Component: | documentation | Assignee: | Erin Donnelly <edonnell> |
| Status: | ASSIGNED --- | QA Contact: | Neha Berry <nberry> |
| Severity: | urgent | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.16 | CC: | aclewett, edonnell, odf-bz-bot |
| Target Milestone: | --- | Flags: | olakra:
needinfo?
(aclewett) |
| 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: | 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
avdhoot
2024-04-29 14:20:15 UTC
Used Below Workaround to get access of drpolicy for assigning to workload(additional step).
1. Created openshift-dr-ops namespace on hub
2. Create drpc rolebinding to user.
"""
cat <<EOF | oc apply -f -
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: drplacementcontrols.ramendr.rolebinding
namespace: openshift-dr-ops
subjects:
- kind: User
apiGroup: rbac.authorization.k8s.io
name: {username}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: drplacementcontrols.ramendr.openshift.io-v1alpha1-view
EOF
"""
|