unclear error message for quota in horizon (possibly taking wrong one from logs)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Dashboard (Horizon) |
Invalid
|
Medium
|
Nikunj Aggarwal |
Bug Description
I tried running 100 large instances.
horizon shows the flowing error:
Error: Quota exceeded for cores,instances
the first part of the message is fine (Quota exceeded for cores,instances
I asked to run 100 instances with the largest flavor (my host cannot support that), so the 800 value is not very clear
also, 'but already used 0 of 20 cores' means none of the cores were used.
this is the complete log, and I think that we possibly take the wrong errors:
[root@opens-vdsb ~(keystone_admin)]# egrep 0c854c89-
/var/log/
/var/log/
/var/log/
/var/log/
i think that we should be taking 'tried to run 100 instances. Can only run 2 more instances of this type.'
Changed in horizon: | |
assignee: | nobody → Nikunj Aggarwal (nikunj2512) |
Changed in horizon: | |
status: | Confirmed → Invalid |
In default OpenStack deployments the largest flavor is xlarge. Are you trying to launch 100 large or xlarge instances?
If it's the second one, then the '800' value comes from the fact that xlarge flavor consist of 8VCPUs. Then, if you are using this flavor for the 100 instances, you are trying to allocate 800 VCPUs.
I guess that it calculates how many VCPUs you can use (20 in this case) and if the amount you are asking for exceeds the max, it just notify you about it.
Try launching a few (let's say... 2) small instances first, just to use some VCPUs, and then launch the 100 xlarge instances again. The error message now should say something like "Error: Quota exceeded for cores,instances ,ram: Requested 800, but already used 2 of 20 cores". Does that happen?
Probably we could get a better message though.