Can't disable nova quotas

Bug #1610332 reported by Eric Berglund
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Eric Berglund

Bug Description

The nova quotas previously could be disabled by setting the quota value to -1.

Due to this change updating the quota help text, many of the quotas now have a min value of 0, no longer allowing those quotas to be disabled by setting them to -1. Attempting to do so will result in a invalid value error.

https://github.com/openstack/nova/commit/2eebb5edc6c236252e2da1ab1a3e0120de160acd

Tags: quotas
Zhihai Song (szhsong)
Changed in nova:
assignee: nobody → Zhihai Song (szhsong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: New → In Progress
Revision history for this message
Andrey Pavlov (apavlov-e) wrote :

Additional errors:
1) Devstack set -1 for most values in case of fake virt driver.
2) If some clouds have -1 for these parameters then nova will not start after upgrade to Newton.

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

Eric's change: https://review.openstack.org/#/c/352455/ (I don't know why that didn't get picked up automatically here).

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

IIUC that can have an upgrade impact

Changed in nova:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Zhihai Song (<email address hidden>) on branch: master
Review: https://review.openstack.org/352794

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/352455
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=434d7d92be14d89f557675bcc3b294a8932cc0fd
Submitter: Jenkins
Branch: master

commit 434d7d92be14d89f557675bcc3b294a8932cc0fd
Author: Eric Berglund <email address hidden>
Date: Mon Aug 8 09:33:08 2016 -0500

    Allow Nova Quotas to be Disabled

    This allows some of the nova quotas to be set to -1, disabling that
    quota.

    Closes-Bug: #1610332

    Change-Id: I499b52b8a327307ad79cca112e43b50f1f3ea482

Changed in nova:
status: In Progress → Fix Released
Changed in nova:
assignee: Zhihai Song (szhsong) → Eric Berglund (esberglu)
tags: added: quotas
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 14.0.0.0b3

This issue was fixed in the openstack/nova 14.0.0.0b3 development milestone.

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.