首页 > 数据库技术 > 详细

Updating power_state in the DB to match the hypervisor

时间:2017-11-06 22:29:49      阅读:1048      评论:0      收藏:0      [点我收藏+]

报错信息如下:

2017-10-02 22:42:02.944 80378 INFO nova.compute.manager [req-347dcc06-13cb-4ced-a10d-b21bf4427430 - - - - -] [instance: ec21b955-8d9c-4c42-ab33-ce5d32d6ba61] During _sync_instance_power_state the DB power_state (1) does not match the vm_power_state from the hypervisor (4). Updating power_state in the DB to match the hypervisor.

2017-10-02 22:42:03.009 80378 WARNING nova.compute.manager [req-347dcc06-13cb-4ced-a10d-b21bf4427430 - - - - -] [instance: ec21b955-8d9c-4c42-ab33-ce5d32d6ba61] Instance shutdown by itself. Calling the stop API. Current vm_state: active, current task_state: None, original DB power_state: 1, current VM power_state: 4

2017-10-02 22:42:03.116 80378 INFO nova.compute.manager [req-347dcc06-13cb-4ced-a10d-b21bf4427430 - - - - -] [instance: ec21b955-8d9c-4c42-ab33-ce5d32d6ba61] Instance is already powered off in the hypervisor when stop is called.

2017-10-02 22:42:03.171 80378 INFO nova.virt.libvirt.driver [req-347dcc06-13cb-4ced-a10d-b21bf4427430 - - - - -] [instance: ec21b955-8d9c-4c42-ab33-ce5d32d6ba61] Instance already shutdown.


解决办法:

修改配置文件/etc/nova/nova.conf

sync_power_state_interval=-1

这个是管理层面用来检测虚拟机电源状态的参数,导致了计算节点上面的虚拟主机莫名其妙关机.


参考文档:http://www-01.ibm.com/support/docview.wss?uid=nas8N1020669

本文出自 “学海无涯苦作伴” 博客,请务必保留此出处http://linuxshow.blog.51cto.com/1572053/1979377

Updating power_state in the DB to match the hypervisor

原文:http://linuxshow.blog.51cto.com/1572053/1979377

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!