Delete snapshot - failed to load config

Hi guys,

I’ve successfully deleted snapshots from my lxc container, all but one.
The error message is: failed to load config for <nameofsnapshot>
The debug option shows
Unknown configuration key "lxc.utsname"

I found this post by Christian Brauner comparing old and new config keys. The config file in the snapshot has the old values and not the current ones. Since this is the oldest snapshot, it could well be pre 3.0.

How do I delete such an outdated snapshot? It’s a small config file, I could manually fix the keys.
Is that ok or will I run into problems later in the deletion process if I change the file manually?


Fixing the config keys is probably the easiest.

1 Like