We have an LXD host that finally got upgraded from 16.04 to 18.04. In the process of this upgrade we realized that the old Apt version of LXD was still present. I was able to uninstall the Apt packages and refresh the Snap package and now the client tools and such seem to be fine.
However, unfortunately I did not discover this was the issue until after I had re-ran lxd init
. Now I have an intact zpool but an LXD application that knows nothing of its previous self.
lxd recover
fails with: Error: Failed validation request: Failed checking volumes on pool "default": Instance "containername" in project "default" has a different instance type in its backup file ("")
and the zfs mountpoint for that container shows legacy
. I can temporarily manually set the container dataset mountpoint to a known location and zfs mount
and am able to view backup.yaml
.
I am pretty sure my re-execution of lxd init
was a bad idea but would like to know how I can recover to a working state. Thanks.