Updated on 2026-03-19 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 yet.

REBOOT

The ECS is being restarted.

HARD_REBOOT

The ECS is being forcibly restarted.

REBUILD

The ECS is being rebuilt.

MIGRATING

The ECS is undergoing live migration.

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 to its previous size.

VERIFY_RESIZE

The ECS is verifying the new size.

ERROR

The ECS is abnormal.

DELETED

The ECS has been deleted.

SHELVED

The ECS booting from an image is shelved.

SHELVED_OFFLOADED

The ECS booting 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 yet.

active

The ECS is running properly.

stopped

The ECS has been properly stopped.

resized

The ECS has been resized (specifications have been modified).

error

The ECS is abnormal.

deleted

The ECS has been deleted.

shelved

The ECS booting from an image is shelved.

shelved_offloaded

The ECS booting from a volume is shelved.

Table 3 OS-EXT-STS:task_state statuses

Status

Description

scheduling

The system is scheduling resources when the ECS is being created.

block_device_mapping

Disks are being prepared for the ECS that is being created.

networking

Networking resources are being prepared for the ECS that is being created.

spawning

The ECS is being created internally.

rebooting

The ECS is being restarted.

reboot_pending

The ECS is pending a restart.

reboot_started

The ECS is being restarted internally.

rebooting_hard

The ECS is being forcibly restarted.

reboot_pending_hard

The ECS is pending a force restart.

reboot_started_hard

The ECS is being forcibly restarted internally.

rebuilding

The ECS is being rebuilt.

rebuild_block_device_mapping

Disks are being prepared for the ECS that is being rebuilt.

rebuild_spawning

The ECS is being rebuilt internally.

migrating

The ECS is undergoing live migration.

resize_prep

The ECS is preparing for being resized.

resize_migrating

The ECS is undergoing migration during the resize phase.

resize_migrated

The ECS has finished migration during the resize phase.

resize_finish

The ECS is finishing the resize operation during the resize phase.

resize_reverting

The ECS is rolling back to its previous size during the resize phase.

powering-off

The ECS is being stopped.

powering-on

The ECS is being started.

deleting

The ECS is being deleted.

shelving

The ECS booting from an image is being shelved.

shelving_offloading

The ECS booting from a volume is being shelved.

shelving_image_pending_upload

A shelving image is pending upload.

shelving_image_uploading

A shelving image is being 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.