Bug #5491

Can not use resize --cpu 1.67 if quota set

Added by kvaps kvaps over 3 years ago.

Status:PendingStart date:10/23/2017
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:Release 5.6
Resolution: Pull request:
Affected Versions:OpenNebula 5.4.2

Description

Hi, I have quota for group:

VM=[
  CPU="1.67",
  MEMORY="1024",
  SYSTEM_DISK_SIZE="10240",
  VMS="1", ]

Now when I run

onevm resize --cpu 1.67 --vcpu 5 <vmid>

I see this error:

[one.vm.resize] User [0] : group [<group_id>] limit of 1.67 reached for CPU quota in VM.

but:

onevm resize --cpu 1.66 --vcpu 5 &lt;vmid&gt;

is working fine

Also available in: Atom PDF