librbd/crypto: fix issue when live-migrating from encrypted export#44366
librbd/crypto: fix issue when live-migrating from encrypted export#44366
Conversation
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
531de5a to
def38b3
Compare
|
jenkins retest this please |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
Unstale -- this is waiting for #40363 as it conflicts with |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
0870add to
621f9ef
Compare
|
I rewrote this on top of #58882 which solved
and allowed for vast simplification here. The size of the diff went down from to Apart from taking care of the outstanding
regression in
I haven't touched |
The previous version had major issues and got rewritten
|
I was able to follow the tests. I understand that you didn't want to modify the tests further, but does fixing this #44366 (comment) also cause issues with testing? |
This seems to point to the comment on |
That was my question. I was curious to know why this nit wasn't fixed even though it'd be helpful as you said in the comment. |
Most workunits expect the user to be a member of "disk" group, so we can pretty much rely on that being the case at this point. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
... so that RAW_DEV can be unmapped and future tests can reuse testimg and other image names without bumping into watchers and older snapshots. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
…st ctor Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
… formats With NativeFormat now being handled via dispatch, handling encryption for non-native formats (i.e. mapping to raw image extents and performing decryption/mapping back on completion) in the migration layer is really straightforward. Note that alignment doesn't need to be performed in the migration layer because it happens on the destination image -- the "align and resubmit" logic in C_UnalignedObjectReadRequest should kick in before the call to read_parent(). Fixes: https://tracker.ceph.com/issues/53674 Co-authored-by: Or Ozeri <oro@il.ibm.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
621f9ef to
0000c34
Compare
With the run demonstrating that unmodified
comment and |
|
jenkins test api |
https://pulpito.ceph.com/dis-2024-08-07_11:24:02-rbd-wip-dis-testing-distro-default-smithi/ |
|
|
I see that the PR has been merged. I wanted to note that I went through the updated tests as mentioned in #44366 (comment) and the tests looked good. |
|
I forgot to add a FIXME to The problem is that This was the behavior in the original submission (prior to a rewrite on top of #58882) as well: ( It's fine to do this for |
|
See bug report here:
https://tracker.ceph.com/issues/53674
This PR depends on #43804
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox