1.OpenStack中虚机的状态机.
状态转变:
指令 | VM的状态要求 | task状态的要求 | 目标状态 |
---|---|---|---|
pause | Active,shutoff,rescured | resize verify, unset | paused |
unpause | paused | N/A | Active |
suspend | Active, Shutoff | N/A | Suspended |
resume | Suspended | N/A | Active |
rescue | Active, Shutoff | Resize Verify, unset | Rescued |
unrescue | Rescued | N/A | Active |
set admin password | Active | N/A | Active |
rebuild | Active, Shutoff | Resize Verify, unset | Active, Shutoff |
force delete | Soft Deleted | N/A | Deleted |
restore |