CPU/MEM usage not accurate. Hits quotas while resources are available

Bug #1423644 reported by William Kitsos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juno
Invalid
Undecided
Unassigned
OpenStack Compute (nova)
Won't Fix
Undecided
Unassigned
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

I tried to set my quotas to exactly the hardware specs of my compute node for accurate reporting. My compute node runs on bare metal. After I did this I got quotas exceeded, unable to launch instance. I checked the hypervisor from the web interface and cli. 5 of 12 VCPUs used and 6GB of 16GB used. When you try and change the quotas to match the hardware it errors. From the CLI it reports that quota cant be set to 12 VCPUs because 17 are in use. Same with mem says 17GB are in use. But they arent in use clearly. So the bandaid is to set the quotas really high and then it ignores them and allows you to create instances against the actual nova usage stats. This also causes some failure to launch instance errors, no host is available meaning there arent enough resources even though there are. Im running this as a production environment for my domain so I have spent hundreds of hours chasing my tail. Hope this is helpful for debugging the issue.

Tags: quotas
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

William, what version of OpenStack/Nova? Any specific distribution?

Changed in nova:
status: New → Incomplete
Revision history for this message
William Kitsos (greek35t) wrote : RE: [Bug 1423644] Re: CPU/MEM usage not accurate. Hits quotas while resources are available

Davanum,

I am running OpenStack Juno. Its running on three pieces of bare metal.
Nova --version returns 2.19.0 on host compute1. This is running over Ubuntu
server 14.04 LTS. The systems are up to date. I run an 'apt-get update &&
apt-get dist-upgrade' weekly. Please let me know if you need any more
information. Thanks!

King Regards,

William

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Davanum Srinivas (DIMS)
Sent: Friday, February 20, 2015 11:31 AM
To: <email address hidden>
Subject: [Bug 1423644] Re: CPU/MEM usage not accurate. Hits quotas while
resources are available

William, what version of OpenStack/Nova? Any specific distribution?

** Changed in: nova
       Status: New => Incomplete

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1423644

Title:
  CPU/MEM usage not accurate. Hits quotas while resources are available

Status in OpenStack Compute (Nova):
  Incomplete
Status in Ubuntu:
  New

Bug description:
  I tried to set my quotas to exactly the hardware specs of my compute
  node for accurate reporting. My compute node runs on bare metal. After
  I did this I got quotas exceeded, unable to launch instance. I checked
  the hypervisor from the web interface and cli. 5 of 12 VCPUs used and
  6GB of 16GB used. When you try and change the quotas to match the
  hardware it errors. From the CLI it reports that quota cant be set to
  12 VCPUs because 17 are in use. Same with mem says 17GB are in use.
  But they arent in use clearly. So the bandaid is to set the quotas
  really high and then it ignores them and allows you to create
  instances against the actual nova usage stats. This also causes some
  failure to launch instance errors, no host is available meaning there
  arent enough resources even though there are. Im running this as a
  production environment for my domain so I have spent hundreds of hours
  chasing my tail. Hope this is helpful for debugging the issue.

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

Revision history for this message
William Kitsos (greek35t) wrote : Re: CPU/MEM usage not accurate. affects OpenStack Compute Juno

Davanum,

I am running OpenStack Juno. Its running on three pieces of bare metal.
Nova --version returns 2.19.0 on host compute1. This is running over Ubuntu
server 14.04 LTS. The systems are up to date. I run an 'apt-get update &&
apt-get dist-upgrade' weekly. Please let me know if you need any more
information. Thanks!

King Regards,

William

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Davanum Srinivas (DIMS)
Sent: Friday, February 20, 2015 11:31 AM
To: <email address hidden>
Subject: [Bug 1423644] Re: CPU/MEM usage not accurate. Hits quotas while
resources are available

William, what version of OpenStack/Nova? Any specific distribution?

** Changed in: nova
       Status: New => Incomplete

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1423644

Title:
  CPU/MEM usage not accurate. Hits quotas while resources are available

Status in OpenStack Compute (Nova):
  Incomplete
Status in Ubuntu:
  New

Bug description:
  I tried to set my quotas to exactly the hardware specs of my compute
  node for accurate reporting. My compute node runs on bare metal. After
  I did this I got quotas exceeded, unable to launch instance. I checked
  the hypervisor from the web interface and cli. 5 of 12 VCPUs used and
  6GB of 16GB used. When you try and change the quotas to match the
  hardware it errors. From the CLI it reports that quota cant be set to
  12 VCPUs because 17 are in use. Same with mem says 17GB are in use.
  But they arent in use clearly. So the bandaid is to set the quotas
  really high and then it ignores them and allows you to create
  instances against the actual nova usage stats. This also causes some
  failure to launch instance errors, no host is available meaning there
  arent enough resources even though there are. Im running this as a
  production environment for my domain so I have spent hundreds of hours
  chasing my tail. Hope this is helpful for debugging the issue.

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

Revision history for this message
William Kitsos (greek35t) wrote : Affects OpenStack/Nova

Davanum,

I am running OpenStack Juno. Its running on three pieces of bare metal.
Nova --version returns 2.19.0 on host compute1. This is running over Ubuntu
server 14.04 LTS. The systems are up to date. I run an 'apt-get update &&
apt-get dist-upgrade' weekly. Please let me know if you need any more
information. Thanks!

Affects Openstack/Nova

King Regards,

William

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Davanum Srinivas (DIMS)
Sent: Friday, February 20, 2015 11:31 AM
To: <email address hidden>
Subject: [Bug 1423644] Re: CPU/MEM usage not accurate. Hits quotas while
resources are available

William, what version of OpenStack/Nova? Any specific distribution?

** Changed in: nova
       Status: New => Incomplete

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1423644

Title:
  CPU/MEM usage not accurate. Hits quotas while resources are available

Status in OpenStack Compute (Nova):
  Incomplete
Status in Ubuntu:
  New

Bug description:
  I tried to set my quotas to exactly the hardware specs of my compute
  node for accurate reporting. My compute node runs on bare metal. After
  I did this I got quotas exceeded, unable to launch instance. I checked
  the hypervisor from the web interface and cli. 5 of 12 VCPUs used and
  6GB of 16GB used. When you try and change the quotas to match the
  hardware it errors. From the CLI it reports that quota cant be set to
  12 VCPUs because 17 are in use. Same with mem says 17GB are in use.
  But they arent in use clearly. So the bandaid is to set the quotas
  really high and then it ignores them and allows you to create
  instances against the actual nova usage stats. This also causes some
  failure to launch instance errors, no host is available meaning there
  arent enough resources even though there are. Im running this as a
  production environment for my domain so I have spent hundreds of hours
  chasing my tail. Hope this is helpful for debugging the issue.

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

Joe Gordon (jogo)
tags: added: quotas
Revision history for this message
Joe Gordon (jogo) wrote :

Do your flavors match up with your barematal node size? If not you will have issues. Also without API calls and logs to figure out whats going on, its very hard to triage this bug.

Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

@William Kitsos (greek35t):
Reminder: Could you please provide the information Joe Gordon (jogo) asked for in comment #5? You can provide your logs with [1] for example. When you have provided the information, please set the bug status to "new".

[1] http://paste.openstack.org/

Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

Cleanup
=======

This bug report has the status "Incomplete" since more than 30 days
and it looks like that there are no open reviews for it. To keep
the bug list sane, I close this bug with "won't fix". This does not
mean that it is not a valid bug report, it's more to acknowledge that
no progress can be expected here anymore. You are still free to push a
new patch for this bug. If you could reproduce it on the current master
code or on a maintained stable branch, please switch it to "Confirmed".

Juno has reached its EOL, so it's "invalid" for that release.

Changed in juno:
status: New → Invalid
Changed in nova:
status: Incomplete → Won't Fix
Paul White (paulw2u)
Changed in ubuntu:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.