canonical / maas-multipass

GNU Affero General Public License v3.0
12 stars 15 forks source link

core.trust_password cannot be set #9

Open tavrez opened 1 month ago

tavrez commented 1 month ago

With the recent version of lxd, seems like core.trust_password got deprecated. I've tried to create maas inside multipass according to tutorial and it didn't boot correctly, after investigation, I found out this error after the line cat /tmp/lxd.cfg | lxd init --preseed: Error: Failed to update server configuration: Cannot set "core.trust_password" to "password": Unknown key

troyanov commented 1 month ago

Hi @tavrez

It seems that in LXD 6.1 core.trust_password server setting has been removed https://discourse.ubuntu.com/t/lxd-6-1-has-been-released/46259#removal-of-trust-password-feature

We should update maas.yml to be compatible with the latest stable version of LXD or maybe even better use LTS version https://ubuntu.com/blog/lxd_5-21-0_lts