B #6355: Fix VM quotas (#2861)

* Remove useless default values from VM quotas, adapt chown and chgrp to it
* Fix VM transition from poweroff, stopped, suspended, undeployed to done when quotas are tmp exceeded
* Fix VM transition from poweroff to undeployed
* Fix VM transition from suspended to stopped

(cherry picked from commit 1e25904148)
This commit is contained in:
Pavel Czerný authored and Ruben S. Montero committed 2023-12-12 16:20:08 +01:00
1 parent c5f9292797
commit 725337ea5e
14 files changed
+228 -75

No files matched your search

-1
View File
@@ -1037,7 +1037,6 @@ void VirtualMachinePool::delete_attach_disk(std::unique_ptr<VirtualMachine> vm)
Template tmpl;
tmpl.set(disk->vector_attribute());
tmpl.add("VMS", 0);
if (disk->is_volatile())
{