nova虚拟机状态查看及重置为active
#查看虚拟机信息 nova show $VM_UUID openstack server show $VM_UUID #查看虚拟机当前状态 nova instance-action-list $VM_UUID #重置虚拟机状态 nova reset-state --active $VM_UUID openstack server set --state active $VM_UUID #重置后如果云主机实际状态异常,则需要硬重启 nova reboot $VM_UUID --hard #验证 openstack server show $VM_UUID