-
Notifications
You must be signed in to change notification settings - Fork 258
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
Missing rbd API components: function rbd_encryption_load2 #1059
Comments
@idryomov I started looking at this but I can't find any tests that seem to exercise passing >1 spec to the *_load2 function. I did write a test that functionally replaces the _load version with the _load2 version with a single element array. In particular I'm not sure how to create a clone that has a different encryption from the parent. Any pointers? (C/C++ or python code examples are fine) |
Add a new Image method EncryptionLoad2 implementing rbd_encryption_load2. This method adds the ability to have different encryption schemes across parent images. Signed-off-by: John Mulligan <[email protected]> Fixes: ceph#1059
Search for
If go-ceph continues to expose
Simply clone as usual and call |
Add a new Image method EncryptionLoad2 implementing rbd_encryption_load2. This method adds the ability to have different encryption schemes across parent images. Signed-off-by: John Mulligan <[email protected]> Fixes: ceph#1059
Thanks. Don't know how I missed that the first time. It certainly helped.
There will be no change to EncryptionLoad. The new EncryptionLoad2 needed a test and that test was basically a copy of the test for EncryptionLoad but with the calls to EncryptionLoad swapped with EncryptionLoad2. I felt this was a borderline insufficient. The PR #1061 has been updated with a new test now and that should have better coverage of the EncyptionLoad2 functionality. It is ready for review. |
Add a new Image method EncryptionLoad2 implementing rbd_encryption_load2. This method adds the ability to have different encryption schemes across parent images. Signed-off-by: John Mulligan <[email protected]> Fixes: ceph#1059
Add a new Image method EncryptionLoad2 implementing rbd_encryption_load2. This method adds the ability to have different encryption schemes across parent images. Signed-off-by: John Mulligan <[email protected]> Fixes: ceph#1059
go-ceph is missing a binding for
rbd_encryption_load2()
which allows loading encryption for a clone image which is encrypted differently from a parent image.The text was updated successfully, but these errors were encountered: