-
Notifications
You must be signed in to change notification settings - Fork 26
Rename Remote volume after adding it to default storage group #581
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
Conversation
|
Problem When modifying an R2 (replicated) volume, the operation was blocked by the Authorization service. The root cause: The R2 volume was created directly by PowerMax (via a replication policy on R1’s storage group) and not by the CSI driver. As a result, the Authorization database (Redis) did not have ownership information about the R2 volume. When the CSI driver later detected the R1 was replicated, it located the R2 and tried to give it the same volume label as R1. This label update failed because Authorization denied the request due to the missing Redis entry. Fix We introduced two key changes:
Before Fix: Step 1: Powermax creates and adds R2 to its replication storage group. After Fix: Step 1: Powermax creates and adds R2 to its replication storage group. This guarantees Redis has the necessary information before any further operations run. Outcome
We validated the end-to-end workflows (replication, snapshot, and expansion). All tests passed successfully. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TEST OK
Merging this branch will not change overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. |
Description
Set the volume identifier on the remote volume to be same as local volume. Additional details for the changes involved is present in the comment.
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?