[pve-devel] applied: [PATCH container] destroy: remove pending volumes as well
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Sep 30 17:40:07 CEST 2021
On 29.09.21 11:45, Fabian Grünbichler wrote:
> if a volume is only referenced in the pending section of a config it was
> previously not removed when removing the CT, unless the non-default
> 'remove unreferenced disks' option was enabled.
>
> keeping track of volume IDs which we attempt to remove gets rid of false
> warnings in case a volume is referenced both in the config and the
> pending section, or multiple times in the config for other reasons.
>
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
> src/PVE/LXC.pm | 16 +++++++++++++---
> 1 file changed, 13 insertions(+), 3 deletions(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list