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即可。
恢复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即可。
相关文章推荐
- 【小镇的技术天梯】Linux fstat函数
- Linux sysfs device_attribute
- attr 和 prop 的区别
- 秒杀系统架构优化思路
- Linux环境变量的设置和查看方法
- 【FAQ】bash VS dash 字符串正则表达式匹配
- Hadoop map和reduce的个数--map和reduce数量之间的关系是什么
- linux根分区满了怎么办?
- Docker基础入门实践
- FastRWeb——为R语言搭建的Web环境
- Linux笔记(13)——历史命令
- oc加强day5-NSFileManger、NSPoint与CGPoint等简单结构体、简单数据类型的封装、集合对象的内存管理、copy、单列模式
- 如何找到Tomcat启动时的入口文件
- corosync+pacemaker+san实现web服务高可用
- AOP的xml配置实例
- popupwindow点击变色
- linux 命令整理
- Shell 自定义颜色输出函数
- corosync+pacemaker+drbd实现web服务高可用
- hive安装配置与hive的JDBC (hadoop-0.20.2 + hive-0.7.0)