Closed roosterfish closed 2 weeks ago
Will mark as draft until I have finalized the testing on my end.
That is now ready for a final review. I have tested forming LXD clusters in version 5.21 (prior to password removal) and edge.
There was an error in the HasExtension
check as it will always return true
if the underlying LXD client has never before done a call to GetServer()
which will fetch and cache the API extensions. See https://github.com/canonical/lxd/blob/main/client/lxd_server.go#L62.
A fix for this is added to this PR.
The pipeline is now failing due to a regression caused by https://github.com/canonical/lxd-pkg-snap/pull/471.
The pipeline is now failing due to a regression caused by canonical/lxd-pkg-snap#471.
This was fixed by https://github.com/canonical/lxd-pkg-snap/pull/476 and now tests are working.
This is required after https://github.com/canonical/lxd/pull/13567. Instead of the password we now have to use a token when adding the remote.