-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add CreateVolumeFromSnapshot Functionality for nfs #226
Conversation
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.
Please address the few comments, as well as provide logs for this test as well.
"Verified the functionality by running the restoresnapshot helm test.Functionality is working fine."
service/controller.go
Outdated
|
||
if len(listSnaps) > 0 { | ||
return nil, status.Errorf(codes.FailedPrecondition, | ||
"unable to delete FS volume -- snapshots based on this volume still exist: %v", |
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.
FS --> NFS
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.
done
And I call CreateSnapshot NFS "snap1" | ||
And no error was received | ||
And I call DeleteVolume nfs with "single-writer" | ||
Then the error contains "unable to delete FS volume -- snapshots based on this volume still exist" |
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.
FS --> NFS
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.
done
@khareRajshree Added the logs and addressed your review comments. Please review it again. |
Description
This pr adds the support for creating nfs filesytem from snapshot
Added new helm test for nfs
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration