openstack server status
Posted qqqmadnull
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openstack server status相关的知识,希望对你有一定的参考价值。
Servers contain a status attribute that indicates the current server state. You can filter on the server status when you complete a list servers request. The server status is returned in the response body. The possible server status values are:
ACTIVE
. The server is active.BUILD
. The server has not finished the original build process.DELETED
. The server is permanently deleted.ERROR
. The server is in error.HARD_REBOOT
. The server is hard rebooting. This is equivalent to pulling the power plug on a physical server, plugging it back in, and rebooting it.MIGRATING
. The server is being migrated to a new host.PASSWORD
. The password is being reset on the server.PAUSED
. In a paused state, the state of the server is stored in RAM. A paused server continues to run in frozen state.REBOOT
. The server is in a soft reboot state. A reboot command was passed to the operating system.REBUILD
. The server is currently being rebuilt from an image.RESCUE
. The server is in rescue mode. A rescue image is running with the original server image attached.RESIZE
. Server is performing the differential copy of data that changed during its initial copy. Server is down for this stage.REVERT_RESIZE
. The resize or migration of a server failed for some reason. The destination server is being cleaned up and the original source server is restarting.SHELVED
: The server is in shelved state. Depending on the shelve offload time, the server will be automatically shelved offloaded.SHELVED_OFFLOADED
: The shelved server is offloaded (removed from the compute host) and it needs unshelved action to be used again.SHUTOFF
. The server is powered off and the disk image still persists.SOFT_DELETED
. The server is marked as deleted but the disk images are still available to restore.SUSPENDED
. The server is suspended, either by request or necessity. This status appears for only the XenServer/XCP, KVM, and ESXi hypervisors. Administrative users can suspend an instance if it is infrequently used or to perform system maintenance. When you suspend an instance, its VM state is stored on disk, all memory is written to disk, and the virtual machine is stopped. Suspending an instance is similar to placing a device in hibernation; memory and vCPUs become available to create other instances.UNKNOWN
. The state of the server is unknown. Contact your cloud provider.VERIFY_RESIZE
. System is awaiting confirmation that the server is operational after a move or resize.
https://docs.openstack.org/nova/latest/reference/vm-states.html
https://developer.openstack.org/api-ref/compute/#servers-servers
以上是关于openstack server status的主要内容,如果未能解决你的问题,请参考以下文章
Openstack之identity server(keystone)
openstack 创建windows server 2008 镜像
用pdb.set_trace()设断点,跟nova/api/openstack/compute/servers.py - detail() 流程