FS#75308 - [lxd] fails to start

Attached to Project: Community Packages
Opened by Thomas Reim (rdratlos) - Wednesday, 13 July 2022, 07:21 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 August 2022, 06:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After upgrade from LXD version 5.2.1 to 5.3.1 LXD fails to start with following error message:
"Failed to start the daemon" err="Failed applying patch \"storage_missing_snapshot_records\": Failed applying patch to pool \"default\": Instance disk effective override field \"size\" should not be stored in volume config"

Downgrading to 5.2.1 resolves the issue and everything as working fine again.

This issue may be related to https://github.com/lxc/lxd/issues/10640
When checking the comments and a related investigation in https://discuss.linuxcontainers.org/t/lxc-lxd-v5-3-volumetype-error-cause-lxc-copy-command-to-fail/14543 it seems that

Upstream seems to have prepared patches for LXD v2.4 but it is not clear if they also fix this issue.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 23 August 2022, 06:25 GMT
Reason for closing:  No response
Comment by Toolybird (Toolybird) - Saturday, 23 July 2022, 00:56 GMT
lxd 5.4-1 is now updated in the repos. Can you check if the issue is now resolved? Please let us know.

Loading...