← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1223361] Re: unclear error message for quota in horizon (possibly taking wrong one from logs)

 

** Changed in: horizon
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1223361

Title:
  unclear error message for quota in horizon (possibly taking wrong one
  from logs)

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  I tried running 100 large instances. 
  horizon shows the flowing error: 

  Error: Quota exceeded for cores,instances,ram: Requested 800, but
  already used 0 of 20 cores (HTTP 413) (Request-ID: req-0c854c89-89d9
  -48ce-96e2-eca07bbbc8f5)

  the first part of the message is fine (Quota exceeded for cores,instances,ram) but the second part is a bit unclear... 
  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-89d9-48ce-96e2-eca07bbbc8f5 /var/log/*/*
  /var/log/horizon/horizon.log:Recoverable error: Quota exceeded for cores,instances,ram: Requested 800, but already used 0 of 20 cores (HTTP 413) (Request-ID: req-0c854c89-89d9-48ce-96e2-eca07bbbc8f5)
  /var/log/nova/api.log:2013-09-10 16:35:09.049 WARNING nova.compute.api [req-0c854c89-89d9-48ce-96e2-eca07bbbc8f5 5f38d619dfe744f0a8e08818033fc37e 89f7caf549e04aec85c3a8737a43a37c] cores,instances,ram quota exceeded for 89f7caf549e04aec85c3a8737a43a37c, tried to run 100 instances. Can only run 2 more instances of this type.
  /var/log/nova/api.log:2013-09-10 16:35:09.049 INFO nova.api.openstack.wsgi [req-0c854c89-89d9-48ce-96e2-eca07bbbc8f5 5f38d619dfe744f0a8e08818033fc37e 89f7caf549e04aec85c3a8737a43a37c] HTTP exception thrown: Quota exceeded for cores,instances,ram: Requested 800, but already used 0 of 20 cores
  /var/log/nova/api.log:2013-09-10 16:35:09.050 INFO nova.osapi_compute.wsgi.server [req-0c854c89-89d9-48ce-96e2-eca07bbbc8f5 5f38d619dfe744f0a8e08818033fc37e 89f7caf549e04aec85c3a8737a43a37c] 10.35.101.10 "POST /v2/89f7caf549e04aec85c3a8737a43a37c/servers HTTP/1.1" status: 413 len: 373 time: 0.1629190

  
  i think that we should be taking 'tried to run 100 instances. Can only run 2 more instances of this type.'

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1223361/+subscriptions