您的位置:首页 > 运维架构

openstack vm status ERROR 的修复

2016-02-22 16:58 393 查看
在做openstack的vm迁移的时候出现ERROR。无法启动虚拟机,也没有迁移成功。
恢复ERROR状态到active的方法如下:
找出该VM的id。

查找数据库的该id状态。

use nova;

select * from instances where uuid='xxxxxx' \G;

update instances set vm_state='active' where uuid='xxxxx';

update instances set power_state=1 where uuid='xxxxxx';

硬重启该VM即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: