Skip to content
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

RBD: Fix encrypted restore with different kms config (backport #2546) #2555

Merged
merged 6 commits into from
Oct 5, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 5, 2021

This is an automatic backport of pull request #2546 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

During PVC snapshot/clone both kms config and passphrase needs to copied,
while for PVC restore only passphrase needs to be copied to dest rbdvol
since destination storageclass may have another kms config.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 59b7a26)
Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit f63ed2c)
Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit dac4e76)
Currently only kubectlCreate arg is used with retryKubectlArgs(),
But it maybe used later on.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit b471cac)
This commit adds bugfix to copy encryption passphrase for thick
provisioned PVC restored from snapshot.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit ded75eb)
Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit f60b097)
@nixpanic
Copy link
Member

nixpanic commented Oct 5, 2021

/retest ci/centos/mini-e2e-helm/k8s-1.22

@nixpanic
Copy link
Member

nixpanic commented Oct 5, 2021

/retest ci/centos/mini-e2e-helm/k8s-1.22

Failed with #2264 (logs)

@nixpanic
Copy link
Member

nixpanic commented Oct 5, 2021

Note that ci/centos/k8s-e2e-external-storage jobs should not require passing for backports, no need to rerun them/

@mergify mergify bot merged commit e758c0a into release-v3.4 Oct 5, 2021
@mergify mergify bot deleted the mergify/bp/release-v3.4/pr-2546 branch October 5, 2021 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants