<div dir="ltr">Hello,<div><br></div><div>I upgraded one of my LXD hyper-visors to the latest LXD and all of my containers are complaining about the rootfs not (no longer) allowing the source to be set.</div><div><br></div><div>Specifically, when I attempt to edit the configuration, lxd adds a new root: disk and provides this error:</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Config parsing error: Root disk entry may not have a "source" property set.
</span><br>Press enter to start the editor again<br></span></div><div><span style="font-family:monospace"><br></span></div><div>Perhaps I am using LXD in an unsupported way... I'm using lvm and I have 2 volume groups, one is made up of hdd's, and the other is ssd's. Both have a thinpool which I use to create logical volumes.</div><div><br></div><div>When I created my containers I wasn't having much luck with the lvm backend so I created the containers on disk instead, I then shut down the container, moved the rootfs into a pre-created ext4 logical volume, I then set the source on the disk in my configuration, added some additional disks, and boot the system back up. I've done this with several containers and it has been working great.</div><div><br></div><div>I have been able to work around the issue by simply mounting my logical volume to /var/lib/lxd/containers/<container>/rootfs</div><div><br></div><div>But lxd used to mount/use the device automatically which was pretty cool. Wondering if anyone else has encountered the issue and if there is a better solution than what I've come up with. Is lxd now more aware of the preferred backend storage and is intentionally trying to prevent me from doing something bad? </div><div><br></div><div>Here's what my config used to look like:</div><div><br></div><div><div>name: gitlab-runner6</div><div>profiles:</div><div>- privileged</div><div>config:</div><div>  volatile.base_image: 2b5b105c717b0ee854b6717c9f6999fba40b1fc2447f31d6f87b520e28a163bb</div><div>  volatile.eth0.hwaddr: 00:16:3e:25:18:73</div><div>  <a href="http://volatile.eth0.name">volatile.eth0.name</a>: eth0</div><div>  volatile.last_state.idmap: '[]'</div><div>devices:</div><div>  homedir:</div><div>    path: /home</div><div>    source: /dev/sdd_group/gitlab-runner6-home</div><div>    type: disk</div><div>  rootfs:</div><div>    path: /</div><div>    type: disk</div><div>    source: /dev/hdd_group/gitlab-runner6</div><div>ephemeral: false</div></div><div><br></div><div>Thanks,</div><div>Pete</div><div><br></div><div><br></div></div>