Quota calulated when instance poweroff

Bug #1726364 reported by LiweiWang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
LiweiWang

Bug Description

Description
===========

When I powered off an instance, I hope to start another, but there is a quota limit told me that I can not build more instance beacuse there is no more ram or cpus. I thought that it is not reasonable. This leads to a waste of physical resources.

Tags: quotas
LiweiWang (wlw9001)
Changed in nova:
assignee: nobody → LiweiWang (wlw9001)
Revision history for this message
Matt Riedemann (mriedem) wrote :

This is working as designed. The guest might be gone from the hypervisor while the instance is shutdown, but nova continues to track quota against that instance, otherwise you potentially can't start the instance later if someone in the same project took the quota you were using in the meantime while your instance was stopped.

Changed in nova:
status: New → Invalid
Revision history for this message
LiweiWang (wlw9001) wrote :

Rather than deleting a powered off instance, I may want to keep it (because I will use it later). But I could not start anthor instance, when there are free cup or ram in fact. Isn't that a waste?

Changed in nova:
status: Invalid → New
Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

Matt already explained the design consensus about why we still consume the resources for the quota even if they are poweroff.

For your usecase, you can snapshot the instance and then delete it (like before the week-end).

Changed in nova:
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.