码迷,mamicode.com
首页 > 数据库 > 详细

Updating power_state in the DB to match the hypervisor

时间:2017-11-06 22:50:01      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:hypervisor   openstack   nova   

报错信息如下:

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

标签:hypervisor   openstack   nova   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!