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

Not empty Volume can't be encrypted #261

Open
lukasfrank opened this issue May 25, 2023 · 1 comment
Open

Not empty Volume can't be encrypted #261

lukasfrank opened this issue May 25, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@lukasfrank
Copy link
Member

Describe the bug
If a Volume references an image the Volume can't be encrypted.

{"imageId": "505323310729f021ec9e940ba9e345109fb200bcb46730d706ff716ed9603e1", "error": "failed to set encryption header: failed to set encryption format: rbd: ret=-95, Operation not supported"}
github.com/onmetal/cephlet/pkg/controllers.(*ImageReconciler).

Investigation needed to check expected behaviour.

To Reproduce

metadata:
  name: encryption-test
spec:
  image: ghcr.io/onmetal/onmetal-image/gardenlinux:rootfs-dev-20230223
  volumeClassRef:
    name: general-purpose
  encryption:
    secretRef:
      name: encryption-key-secret
  resources:
    storage: 5Gi
@lukasfrank lukasfrank added the bug Something isn't working label May 25, 2023
@lukasfrank
Copy link
Member Author

Will be implemented in the next ceph release:
https://docs.ceph.com/en/latest/rbd/rbd-encryption/#examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant