Bug 2103979 - [DR] The user should have a way to provide a label selector for the PVCs that need DR protection
Summary: [DR] The user should have a way to provide a label selector for the PVCs that...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ODF 4.12.0
Assignee: gowtham
QA Contact: kmanohar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-05 12:59 UTC by Benamar Mekhissi
Modified: 2023-08-09 16:46 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2116823 (view as bug list)
Environment:
Last Closed: 2023-02-08 14:06:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 338 0 None Merged Added placement rule wise PVC selector option 2022-08-09 11:51:46 UTC

Description Benamar Mekhissi 2022-07-05 12:59:26 UTC
Description of problem (please be detailed as possible and provide log
snippets):
When the UI creates the DRPC resource, the PVCSelector is not provided. In this case, Ramen will DR protect all PVCs within the application namespace. This can cause undesirable results.

Version of all relevant components (if applicable):
4.10, 4.11

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
No

Is there any workaround available to the best of your knowledge?
yes

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
yes

Can this issue reproduce from the UI?
yes

If this is a regression, please provide more details to justify this:
no

Steps to Reproduce:
1. Create a namespace on the Managed Clusters
2. Add an application to that namespace with 1 PVC
3. The application that we just created will not be DR protected
4. Now create a DR application from the UI using the normal flow


Actual results:
Ramen will protect the DR Application as well as the Non-DR application

Expected results:
DR Application (PVCs) only that should be protected

Additional info:

Comment 3 Mudit Agarwal 2022-08-09 05:11:49 UTC
every 4.11.z issue has to be fixed in 4.12.0 also. I know this has been fixed in master already which means 4.12 so lets keep the target release there as well.
We need to create a 4.11 clone when the time comes, I will do that.


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