-
Notifications
You must be signed in to change notification settings - Fork 16
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 support for Manila Shared Filesystem snapshots #73
Conversation
d11e130
to
c5a60dc
Compare
@Lirt what about this PR? I've also managed to make the plugin to work with both Cinder and Manila volumes. |
Yes I noticed it. I am leaving this as last MR to review/test as it's most challenging and it will take some time. Thank you for implementation. I will keep you posted. |
f117828
to
d5e6d9d
Compare
@Lirt I just noticed that velero supports optional config map. So I added Manila CSI driver name there. |
You can put arbitrary configuration to every BSL or VSL.
|
@kayrus I'd like to know what is your view about waiting for status ( How velero works is that there is only one reconciliation loop for each VSL. This means that if you have a lot of big volumes to backup every day and you wait for each snapshot to finish (which could take some time) the backup process would be very slow. That's why the What I don't know exactly but I think is your point is that So if that's the case and you agree it's safer to wait for snapshot to finish we can keep the code you suggested. I would like to additionally make the timeout configurable (If you want I can add commit into your MR for it) as I am pretty sure that there will be users for which the default timeout will not be sufficient. |
Our use case is to put a DB into a special mode and flush all the data on the disc. Once the snapshot is finished, it switches back into a normal mode. If we don't wait for a snapshot to be finished, the snapshot data will be unusable.
This is done in the #81 PR. |
@Lirt I'm apologies for pushing you, but will you have a chance to review this PR during this week? |
Hi, I reviewed the code already few times. There is still one small "nit" comment from me about changing one log to Last thing that I would propose to do different is the integration test. As you can see the existing integration test is not doing any cinder backup (I wasn't successful to make it work in the GitHub CI on my first try). And so is your test not actually testing manila 😄 because we have no existing PVC in the So in the end the best would be if there is only 1 integration test job that will test both Cinder and Manila in 1 run (it can still be split to 2 jobs if it make sense in future). But for now I'd propose to have 1 integration test job - so if you merge contents of the manila integration test into the original one it would be great. As far as I see the difference between those 2 tests is only that you set up Manila with DevStack. After that we can merge this. Edit: My mistake... I didn't publish the review. It's there now. |
@Lirt what do you think about adding a new |
Makes sense 👍 |
Let's make this ( |
Resolves #62
Original work was done by @yIKX5 @chrislinan, I adjusted it, so it could be merged.
cc @syy6