Option to disable Nova quotas

Bug #1275987 reported by Ryan Moe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Ryan Moe

Bug Description

Concurrent requests suffer a significant performance penalty due to how nova manages quotas in the db. Quotas can be disabled by using the NoopQuotaDriver in nova.conf.

Ryan Moe (rmoe)
Changed in fuel:
milestone: none → 4.1
Revision history for this message
Mike Scherbakov (mihgen) wrote :

We vote for checkbox on UI, quotas disabled by default.

Changed in fuel:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Ryan Moe (rmoe)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-web (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/71417

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/71427

Changed in fuel:
status: Confirmed → In Progress
tags: added: customer-found
Revision history for this message
Mike Scherbakov (mihgen) wrote :

When we disable Nova quotas, does Horizon behave normally? There was bug a long time ago: https://bugs.launchpad.net/horizon/+bug/971937, I'm wondering what's the current status on this. Do we have to do any configuration to Horizon to ignore quotas or it's tracked automatically?

Revision history for this message
Ryan Moe (rmoe) wrote :

That change was to support unlimited quotas, not disabled quotas. There are two OSCI tickets (1041 and 1042) that we will need to make disabled quotas work in Horizon.

There are two reasons Horizon doesn't work with the noop driver. One is that the noop driver doesn't return quota information in the same format as the db driver, that's what 1041 fixes. When using the noop driver the net effect is that every quota value is -1 which Horizon equates to float('inf'). This exposes a bug in a Django template tag where it tries to calculate things like infinity/infinity. This is what 1042 fixes. I also created a ticket in Django about it (https://code.djangoproject.com/ticket/21959).

Revision history for this message
Mike Scherbakov (mihgen) wrote :

Ryan, should we file a blueprint for providing checkbox to enable/disable quotas, or it is already tracked somewhere?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/71417
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=601c0c106ae85b2e164731a202a195dce16f1dde
Submitter: Jenkins
Branch: master

commit 601c0c106ae85b2e164731a202a195dce16f1dde
Author: Ryan Moe <email address hidden>
Date: Wed Feb 5 15:26:42 2014 -0800

    Add option to enable Nova quotas

    Change-Id: Ia18fc90be1d3d1d66f69da92f1963d9c88e4ce16
    Related-bug: #1275987

Mike Scherbakov (mihgen)
tags: added: release-notes
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/71427
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=764b639dc0bbb644db8b5cef3e27b3986a6cd7ed
Submitter: Jenkins
Branch: master

commit 764b639dc0bbb644db8b5cef3e27b3986a6cd7ed
Author: Ryan Moe <email address hidden>
Date: Wed Feb 5 15:29:59 2014 -0800

    Set Nova quota driver based on Fuel setting

    This change also effectively disables quotas by setting the
    driver to NoopQuotaDriver as the default.

    Change-Id: I64f73bf456c839de5f2954103603179536730269
    Closes-bug: #1275987

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Nikolay Fedotov (nfedotov) wrote :

Verified on ISO: {"build_id": "2014-03-16_03-01-16", "mirantis": "yes", "build_number": "31", "nailgun_sha": "2ace3ab436fef250e414ba3fa577198f7de4a92e", "ostf_sha": "0ad6f6de46e615022c2672c345a11fb44ffaa4e1", "fuelmain_sha": "7acc547eb531d4a15b5d3361a2ea308a4ea4ced2", "astute_sha": "a80acd1312be70676f0dd936814b27ce01fb013d", "release": "5.0", "fuellib_sha": "0f2765736a2e4af7265eeb936161f0a90cdc9a2e"}

Changed in fuel:
status: Fix Committed → Fix Released
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.