1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

B #6615: Fix quota after disk (de)attach in poweroff state (#3117)

(cherry picked from commit 2dc2bb5a6c512d64b1c9abcc9037c3fa332c037d)
This commit is contained in:
Pavel Czerný 2024-07-03 13:11:51 +02:00 committed by Ruben S. Montero
parent f64a209e96
commit 97237d6f3c
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -3942,7 +3942,9 @@ void VirtualMachine::get_quota_template(VirtualMachineTemplate& quota_tmpl,
lcm_state != VirtualMachine::DISK_RESIZE_UNDEPLOYED &&
lcm_state != VirtualMachine::HOTPLUG_NIC_POWEROFF &&
lcm_state != VirtualMachine::HOTPLUG_SAVEAS_UNDEPLOYED &&
lcm_state != VirtualMachine::HOTPLUG_SAVEAS_STOPPED ))))
lcm_state != VirtualMachine::HOTPLUG_SAVEAS_STOPPED &&
lcm_state != VirtualMachine::HOTPLUG_PROLOG_POWEROFF &&
lcm_state != VirtualMachine::HOTPLUG_EPILOG_POWEROFF ))))
{
std::string memory, cpu;