Bug 2219846 - With ACM 2.8 User is not able to apply DRPolicy to subscription workload
Summary: With ACM 2.8 User is not able to apply DRPolicy to subscription workload
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: documentation
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.12.8
Assignee: Olive Lakra
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-05 15:18 UTC by gowtham
Modified: 2024-04-12 04:25 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-13 11:35:36 UTC
Embargoed:


Attachments (Terms of Use)

Description gowtham 2023-07-05 15:18:45 UTC
Describe the issue:
With ACM 2.8 + ODF 4.12, The user is not able to apply DRPolicy to the subscription workload and the UI apply policy modal shows empty.

Describe the task you were trying to accomplish:
- ACM 2.8 console has deprecated the PlacementRule type and moved to the Placement type for Subscription applications. 
- When a user creates a Subscription application using ACM 2.8 console, it will be created with Placement only.
- But 4.12 DR UI and Ramen operator both are not supporting Placement for Subscription applications.
- So, DR UI is unable to detect the applications and display for assigning a policy.

Workarround:
- ACM 2.8 console, Still able to detect the PlacementRule which is created from CLI.
- The pre-requisite to creating the Subscription application in ACM 2.8 with PlacementRule is:
   1. Create a new project (i.e., namespace)
   2. Create a PlacementRule using application-namespace which is created from the previous step:
---------------------------------------------------------------------------
apiVersion: apps.open-cluster-management.io/v1
kind: PlacementRule
metadata:
  name: {placement-rule-name}
  namespace: {application-namespace}
spec:
  clusterSelector:
    matchLabels:
      {managed-cluster-matching-labels}
--------------------------------------------------------------------------------
   3. While creating the application using the ACM console on the Subscription application page, Choose this PlacementRule

Document URL:

Chapter/Section Number and Title:

Product Version:

Environment Details:

Any other versions of this document that also needs this update:

Additional information:
Backend BZ for the same: https://bugzilla.redhat.com/show_bug.cgi?id=2216190

Comment 14 Red Hat Bugzilla 2024-04-12 04:25:20 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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