Resource usage will not be updated when suspending instance
Bug #1402502 reported by
eminjin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Wishlist
|
eminjin | ||
openstack-manuals |
Fix Released
|
Medium
|
Liyingjun |
Bug Description
Suspending instance will not update resource usage.
Instance suspending should move all contents in the ram to hard disk.
Then vcpu and used memory should be decreased and hard disk useage should be increased.
However it didn't happen.
This will lead to trouble in the following scenario:
When the memory of all compute nodes are exhaust, to create a new instance, it's useless to suspend some alive instances, but have to delete them.
summary: |
- Suspending an instance will not release occupied resource + Resource usage will not be updated when suspend a instance |
summary: |
- Resource usage will not be updated when suspend a instance + Resource usage will not be updated when suspending instance |
Changed in openstack-manuals: | |
assignee: | nobody → Liyingjun (liyingjun) |
Changed in nova: | |
assignee: | nobody → eminjin (ming-jin) |
status: | Opinion → In Progress |
Changed in nova: | |
status: | In Progress → Confirmed |
To post a comment you must log in.
Hi eminjin,
The behavior you describe is not a bug -- resources are not freed when you suspend an instance.
The feature in nova that most resembles what you're looking for is 'nova shelve', please see doc:
http:// docs.openstack. org/user- guide/content/ shelve_ server. html
Does this address your concern? Or would you like this launchpad report to be a feature request for freeing resources on suspend?