esosan
March 24, 2020, 8:32am
1
Hi to all, I have a major trouble on my server, lxc doesn’t start anymore with this error:
failed applying patch storage_rename_custom_volume_add_project.
I have already open an issue .
Someone’s had something like this happen to them before?
Some suggestion to put the server (and his containers) back online?
tomp
(Thomas Parrott)
March 24, 2020, 8:46am
2
This is looking to be caused by the custom volumes in projects feature upgrade patch that renames existing custom volumes to add a project prefix. I’ve replied on the issue directly.
tomp
(Thomas Parrott)
March 24, 2020, 10:10am
3
Confirmed issue was caused by a custom LVM volume that had been deleted in the past using lvremove
which LXD didn’t know about.
Re-creating the LVM volume manually using lvcreate
allowed LXD to rename the volume and start again.
rldleblanc
(Robert LeBlanc)
March 26, 2020, 4:46pm
4
Same problem for me, but I don’t use LVM, only BTRFS.
Error is "Failed to start the daemon: Failed applying patch \"storage_rename_custom_volume_add_project\": Volume must not be a snapshot"
tomp
(Thomas Parrott)
March 26, 2020, 4:59pm
5
I’ve replied on the github issue. Thanks