Updated on 2024-04-18 GMT+08:00

ECS Statuses

An ECS can be in one of the following statuses specified in ECS APIs:

  • status: specifies an ECS status, which is generated by OS-EXT-STS:vm_state and OS-EXT-STS:task_state.
  • OS-EXT-STS:vm_state: indicates that the ECS is in a stable state after an operation is performed. This is an extended attribute.
  • OS-EXT-STS:task_state: indicates an intermediate status in which the ECS is processing an operation performed on it. This is an extended attribute.
Table 1 Statuses

Status

Description

BUILD

The ECS has been created but is not running.

REBOOT

The ECS is being restarted.

HARD_REBOOT

The ECS is being forcibly restarted.

REBUILD

The ECS is being rebuilt.

MIGRATING

The ECS is being live migrated.

RESIZE

The ECS has received a specifications modification request and has started to perform the modification.

ACTIVE

The ECS is running properly.

SHUTOFF

The ECS has been properly stopped.

REVERT_RESIZE

The ECS is rolling back resizing.

VERIFY_RESIZE

The ECS is verifying the modified configuration.

ERROR

An error has occurred on the ECS.

DELETED

The ECS has been deleted.

SHELVED

The ECS boot from an image is shelved.

SHELVED_OFFLOADED

The ECS boot from a volume is shelved.

UNKNOWN

The ECS status is unknown.

Table 2 OS-EXT-STS:vm_state statuses

Status

Description

building

The ECS has been created but is not running.

active

The ECS is running properly.

stopped

The ECS has been properly stopped.

resized

The ECS specifications have been modified.

error

An error has occurred on the ECS.

deleted

The ECS has been deleted.

shelved

The ECS boot from an image is shelved.

shelved_offloaded

The ECS boot from a volume is shelved.

Table 3 OS-EXT-STS:task_state statuses

Status

Description

scheduling

The ECS is being created.

block_device_mapping

The ECS is being created, and disks are being prepared for the ECS.

networking

The ECS is being created, and network resources are being prepared for the ECS.

spawning

The ECS is being created.

rebooting

The ECS is being restarted.

reboot_pending

A restarting command has been issued to an ECS, and the ECS is to be restarted.

reboot_started

The ECS is being restarted.

rebooting_hard

The ECS is being forcibly restarted.

reboot_pending_hard

A forcible restarting command has been issued to an ECS, and the ECS is to be restarted.

reboot_started_hard

The ECS is being forcibly restarted.

rebuilding

The ECS is being rebuilt.

rebuild_block_device_mapping

The ECS is being rebuilt, and disks are being prepared for the ECS.

rebuild_spawning

The ECS is being rebuilt.

migrating

The ECS is being live migrated.

resize_prep

The ECS specifications are to be modified, and resources are being prepared for the ECS.

resize_migrating

The specifications of the ECS are being modified, and it is being migrated.

resize_migrated

The specifications of the ECS are being modified, and it has been migrated.

resize_finish

The specifications of the ECS are being modified.

resize_reverting

The specifications modification of the ECS is being rolled back.

powering-off

The ECS is stopped.

powering-on

The ECS is being started.

deleting

The ECS is being deleted.

shelving

The ECS boot from an image is being shelved.

shelving_offloading

The ECS boot from a volume is being shelved.

shelving_image_pending_upload

A shelving image is pending uploaded.

shelving_image_uploading

A shelving image is pending uploaded.

unshelving

The ECS is being unshelved.

Table 4 Mapping between statuses

vm_state

task_state

status

building

scheduling

block_device_mapping

networking

spawning

null

BUILD

active

rebooting

reboot_pending

reboot_started

REBOOT

rebooting_hard

reboot_pending_hard

reboot_started_hard

HARD_REBOOT

rebuilding

rebuild_block_device_mapping

rebuild_spawning

REBUILD

migrating

MIGRATING

powering-off

deleting

null

ACTIVE

stopped

resize_prep

resize_migrating

resize_migrated

resize_finish

RESIZE

rebuilding

rebuild_block_device_mapping

rebuild_spawning

REBUILD

powering-on

deleting

null

SHUTOFF

resized

resize_reverting

REVERT_RESIZE

null

VERIFY_RESIZE

error

rebuilding

rebuild_block_device_mapping

rebuild_spawning

REBUILD

deleting

null

ERROR

deleted

null

DELETED

shelved

shelving

shelving_image_pending_upload

shelving_image_uploading

unshelving

null

SHELVED

shelved_offloaded

shelving_offloading

unshelving

null

SHELVED_OFFLOADED

If the status is not included in Table 4, the status is UNKNOWN.