yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80678
[Bug 1815403] Re: “Suspending” an instance cannot release it occupied resource, but “shelving” can.
Reviewed: https://review.opendev.org/663590
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3badb674f6604d3beca4ba557939d4fbc07f6178
Submitter: Zuul
Branch: master
commit 3badb674f6604d3beca4ba557939d4fbc07f6178
Author: Sharat Sharma <s.sharatsharma@xxxxxxxxx>
Date: Thu Jun 6 06:31:27 2019 -0400
"SUSPENDED" description changed in server_concepts guide and API REF
The description of "SUSPENDED" server status was misguiding. Rewording
it to make it more accurate.
Change-Id: Ie93b3b38c2000f7e9caa3ca89dea4ec04ed15067
Closes-Bug: #1815403
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1815403
Title:
“Suspending” an instance cannot release it occupied resource, but
“shelving” can.
Status in OpenStack Compute (nova):
Fix Released
Bug description:
I see server concepts from doc:
https://developer.openstack.org/api-guide/compute/server_concepts.html
From the description of "SUSPENDED" server status, it shows:
"""The server is suspended, either by request or necessity. This status appears for only the following hypervisors: XenServer/XCP, KVM, and ESXi. Administrative users may suspend a server if it is infrequently used or to perform system maintenance. When you suspend a server, its state is stored on disk, all memory is written to disk, and the server is stopped. Suspending a server is similar to placing a device in hibernation; memory and vCPUs become available to create other servers."""
However, after I suspend an active instance (named VM_1 on compute
node CN_A), resource allocation of compute node CN_A has no change
neither on OpenStack dashboard nor on database.
On the other hand, if I shelve this instance, the occupied resource
(vCPU and memory) will be released.
Might the description of "SUSPENDED" server status should be modified as follows:
"""The server is suspended, either by request or necessity. This status appears for only the following hypervisors: XenServer/XCP, KVM, and ESXi. Administrative users may suspend a server if it is infrequently used or to perform system maintenance. When you suspend a server, its state is stored on disk, all memory is written to disk, and the server is stopped. Suspending a server is similar to placing a device in hibernation and its occupied resource will not be freed (kept for its next running). If an instance is infrequently used and the occupied resource needs to be freed to create other servers, it should be shelved."""
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1815403/+subscriptions
References