Nova/Compute API /limits does not explain that a value of -1 means "infinity"

Bug #1316381 reported by Clint Byrum
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Diane Fleming

Bug Description

It is well known among OpenStack users that a limit value of -1 means "infinity" for limits. But a user who has just picked up the API documentation might not know this, and their code may do the wrong thing with -1. This includes Heat developers, as we have this bug:

https://launchpad.net/bugs/1310710

I would suggest a clear explanation of what -1 means in this context.

Anne Gentle (annegentle)
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
Binamra (binamrasharma)
Changed in openstack-api-site:
assignee: nobody → Binamra (binamrasharma)
Changed in openstack-api-site:
assignee: Binamra (binamrasharma) → Diane Fleming (diane-fleming)
milestone: none → liberty
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
Diane Fleming (diane-fleming) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on api-site (master)

Change abandoned by Diane Fleming (<email address hidden>) on branch: master
Review: https://review.openstack.org/185254
Reason: Moved to https://review.openstack.org/185462

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

Reviewed: https://review.openstack.org/185462
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=35bd0cdfbc675da8c2ab71d5749651f63417518e
Submitter: Jenkins
Branch: master

commit 35bd0cdfbc675da8c2ab71d5749651f63417518e
Author: Diane Fleming <email address hidden>
Date: Mon May 25 16:57:59 2015 -0500

    Describe value of -1 for absolute limits

    Change-Id: Icded477fe3a3d69afbcb3de41be7c517edb46880
    Closes-Bug: #1316381

Changed in openstack-api-site:
status: In Progress → 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.