microceph
microceph copied to clipboard
Error: Failed adding new disk: Failed to open: Failed to luksOpen: /dev/disk/by-path/..., exit status 2, Failed to load key in kernel keyring. No key available with this passphrase.
When I follow the FDE document: https://canonical-microceph.readthedocs-hosted.com/en/latest/explanation/fde-osd/
It fails with the following output.
ubuntu@mc-1:~$ sudo microceph disk add /dev/vdc --wipe --encrypt
Error: Failed adding new disk: Failed to open: Failed to luksOpen: /dev/disk/by-path/virtio-pci-0000:08:00.0, exit status 2, Failed to load key in kernel keyring.
No key available with this passphrase.
NOTE: OSD Encryption requires a snapd >= 2.59.1
Verify your version of snapd by running "snap version"
ubuntu@mc-1:~$ snap version
snap 2.60.1+git1186.g661258f
snapd 2.60.1+git1186.g661258f
series 16
ubuntu 22.04
kernel 5.15.0-79-generic
$ snap list microceph
Name Version Rev Tracking Publisher Notes
microceph 0+git.c07ce73 585 latest/edge canonical✓ -