Lxd-csi-driver

:wave: @dinmusic I am like 99% sure it’s you doing the initial commits to this repo.

I’m looking to do some testing with the lxd-csi-driver but can’t seem to get past this:

root@1-r420:~# lxc launch --profile k8s-worker-test --target 1-r420 ubuntu:24.04 test --config security.devlxd.management.volumes=true --project default
Launching test
Error: Failed instance creation: Failed creating instance record: "security.devlxd.management.volumes" isn't supported for "container"
root@1-r420:~# lxc launch --profile k8s-worker-test --target 1-r420 ubuntu:24.04 test --config security.devlxd.management.volumes=true --vm --project default
Launching test
Error: Failed instance creation: Failed creating instance record: "security.devlxd.management.volumes" isn't supported for "virtual-machine"
root@1-r420:~# lxd --version
6.5
root@1-r420:~# lxc --version
6.5

Can you point me in the right direction?

1 Like

Please use 6/candidate for now as 6.6 will be the earliest version with support the LXD CSI.

Please also see:

https://documentation.ubuntu.com/lxd/latest/howto/storage_csi/

2 Likes

To add on top of it, the minimum supported LXD version for the LXD CSI is recorded in LXD reference under CSI Compatibility Section.

The minimum LXD version is yet unreleased 6.6, but as @tomp has already pointed out, it works with 6/candidate which already contains DevLXD endpoints for CSI.

2 Likes

Thank you! @tomp @dinmusic

2 Likes

This topic was automatically closed 6 hours after the last reply. New replies are no longer allowed.