Mention API behavior change when over quota limit

Bug #1718567 reported by Zhenyu Zheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
Zhenyu Zheng

Bug Description

In https://blueprints.launchpad.net/nova/+spec/cells-count-resources-to-check-quota-in-api
we introduced a new workflow of Quota checks. It is possible that concurrent requests can
pass API layer checks, but blocked by conductor layer checks.

This can actually trigger user-noticeable API behavior changes:
As an user, previously, If my request is blocked by quota checks, I will get HTTP 403 response, and no instance records will be left.

After the above mentioned change, it is possible that when my requests failed at conductor layer Quota check and I got an instance in ERROR state. And in an busy cloud, users may
got a lot of ERROR instances according to this and the instance number may beyond the limit.

We should at least mention this behavior change in the release note.

Tags: doc quotas
description: updated
Changed in nova:
assignee: nobody → Zhenyu Zheng (zhengzhenyu)
Revision history for this message
Takashi Natsume (natsume-takashi) wrote :

Set the status to "In Progress" because this report has an assignee.

tags: added: doc quotas
Changed in nova:
status: New → In Progress
description: updated
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/506544

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/507769

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Zhenyu Zheng (<email address hidden>) on branch: master
Review: https://review.openstack.org/506544
Reason: retarget to stable/pike in https://review.openstack.org/#/c/507769/

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/515631

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (stable/pike)

Change abandoned by Zhenyu Zheng (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/507769
Reason: replaced by https://review.openstack.org/#/c/515631/

Revision history for this message
jichenjc (jichenjc) wrote :

should we consider something like a periodic task to clean up those error instances caused by special condition? I know this is a doc change bug but want to consider some way to looks like previous method

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.