You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description RUNNING_*_USED quota includes RUNNING_MEMORY_USED, RUNNING_CPU_USED, RUNNING_VMS_USED.
The command onevm terminate on VM in poweroff state temporary increase the RUNNING_*_USED quotas. If this exceeds the RUNNING_* quota, the command succeeds but the RUNNING_*_USED quotas are corrupted.
To Reproduce
As regular user userA create, deploy and poweroff VM
* 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 1e25904)
Description
RUNNING_*_USED
quota includesRUNNING_MEMORY_USED
,RUNNING_CPU_USED
,RUNNING_VMS_USED
.The command
onevm terminate
on VM in poweroff state temporary increase theRUNNING_*_USED
quotas. If this exceeds theRUNNING_*
quota, the command succeeds but theRUNNING_*_USED
quotas are corrupted.To Reproduce
As regular user
userA
create, deploy and poweroff VMAs admin set user running quota:
Terminate the VM
onevm terminate <vm_id>
.The
oneuser show userA
shows negativeRUNNING_*_USED
values.Expected behavior
Correct values for the
RUNNING_*_USED
quotas afteronevm terminate
Details
Additional context
Same issue is for VM in suspend, stop, undeployed state
Progress Status
The text was updated successfully, but these errors were encountered: