Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: PowerScale Replication: Incorrect quota set on the target PV/directory when Quota is enabled #753

Closed
santhoshatdell opened this issue Apr 11, 2023 · 0 comments
Assignees
Labels
area/csi-powerscale Issue pertains to the CSI Driver for Dell EMC PowerScale area/csm-replication Issue pertains to the CSM Replication module type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@santhoshatdell
Copy link
Contributor

santhoshatdell commented Apr 11, 2023

Bug Description

There are 2 issues here:

  1. When the source directory/FS is created for a PV and is immediately consumed, then an incorrect quota is set on the target directory based on the consumed source size instead of the assigned quota of the source.
  2. This triggered a QuotaScan requirement on the target PowerScale cluster. Further target PV creations on the same RG will fail due to the SyncIQ job failure if the triggered QuotaScan is not completed by that cluster on time.

The fix involves

  1. Setting right quota on the target directory OR ELSE no new writes can be performed on the target side post failover.
  2. Have a workaround/retry logic if the SyncIQ job fails due to QuotaScan requirement.
  3. Documentation updates

Logs

None.

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

  • Create multiple PVs with replication enabled and start consuming them instantaneously.

Expected Behavior

Correct quota should be set.
New target PV creations should not fail.

CSM Driver(s)

CSI Driver for PowerScale v2.3.0

Installation Type

Helm v3

Container Storage Modules Enabled

Replication v1.3.0

Container Orchestrator

Kubernetes 1.2x

Operating System

RHEL 7.x

@santhoshatdell santhoshatdell added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. area/csm-replication Issue pertains to the CSM Replication module area/csi-powerscale Issue pertains to the CSI Driver for Dell EMC PowerScale labels Apr 11, 2023
@santhoshatdell santhoshatdell self-assigned this Apr 11, 2023
@santhoshatdell santhoshatdell added backlog and removed needs-triage Issue requires triage. labels Apr 11, 2023
@gallacher gallacher removed the backlog label Apr 13, 2023
@gallacher gallacher added this to the v1.6.1 milestone Apr 13, 2023
@gallacher gallacher changed the title [BUG]: PowerScale Replication: Incorrect quota set on the target PV/directory [BUG]: PowerScale Replication: Incorrect quota set on the target PV/directory when Quota is enabled Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csi-powerscale Issue pertains to the CSI Driver for Dell EMC PowerScale area/csm-replication Issue pertains to the CSM Replication module type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

No branches or pull requests

2 participants