[PVE-User] disk devices not properly cleaned up after removing vm
Dietmar Maurer
dietmar at proxmox.com
Tue May 5 21:01:20 CEST 2015
> I think i get the problem.
> When the vm fails to start, the cleanup is missing.
> The remaining devices are there because i had errors at first (TASK
> ERROR: minimum memory must be 1024MB.)
>
> QemuServer.pm
>
> 4166 PVE::Storage::activate_volumes($storecfg, $vollist);
> 4167
> 4168 eval { run_command($cmd, timeout => $statefile ? undef
> : 30,
> 4169 umask => 0077); };
> 4170 my $err = $@;
> 4171 die "start failed: $err" if $err;
>
> Maybe add deactivate_volumes in case of failure ?
Ah, yes. Maybe you can assemble a patch?
More information about the pve-user
mailing list