恢复 oVirt 托管引擎崩溃

恢复 oVirt 托管引擎崩溃

我有一个 oVirt 设置,最近 yum 更新了主机和托管引擎中的所有包。

问题是我无法启动托管引擎。一段时间后,如果您发出命令:

hosted-engine --vm-status

你得到:

--== Host 1 status ==--

Status up-to-date                  : True
Hostname                           : hyper1.sarmiento.dmsn
Host ID                            : 1
Engine status                      : {"reason": "bad vm status", "health": "bad", "vm": "down", "detail": "down"}
Score                              : 0
Local maintenance                  : False
Host timestamp                     : 4129
Extra metadata (valid at timestamp):
    metadata_parse_version=1
    metadata_feature_version=1
    timestamp=4129 (Tue May  5 13:15:28 2015)
    host-id=1
    score=0
    maintenance=False
    state=EngineUnexpectedlyDown
    timeout=Wed Dec 31 22:14:34 1969


--== Host 2 status ==--

Status up-to-date                  : True
Hostname                           : hyper2.sarmiento.dmsn
Host ID                            : 2
Engine status                      : {"reason": "bad vm status", "health": "bad", "vm": "down", "detail": "down"}
Score                              : 0
Local maintenance                  : False
Host timestamp                     : 3900
Extra metadata (valid at timestamp):
    metadata_parse_version=1
    metadata_feature_version=1
    timestamp=3900 (Tue May  5 13:15:19 2015)
    host-id=2
    score=0
    maintenance=False
    state=EngineUnexpectedlyDown
    timeout=Wed Dec 31 22:11:48 1969

我已经在日志中搜索了很多,问题似乎是

/var/log/libvirt/qemu/HostedEngine.log

我可以看到

2015-05-05T15:18:29.928875Z qemu-kvm: -drive file=/var/run/vdsm/storage/fa0ae001-ccaf-46ed-940a-a3bb1f147f18/c1cd16d1-068d-467b-88fd-6a4910099d27/51e3c614-7725-429d-b1b6-99dbe4eb3b7c,if=none,id=drive-virtio-disk0,format=raw,serial=c1cd16d1-068d-467b-88fd-6a4910099d27,cache=none,werror=stop,rerror=stop,aio=threads: could not open disk image /var/run/vdsm/storage/fa0ae001-ccaf-46ed-940a-a3bb1f147f18/c1cd16d1-068d-467b-88fd-6a4910099d27/51e3c614-7725-429d-b1b6-99dbe4eb3b7c: Could not refresh total sector count: Operation not permitted
2015-05-05 15:18:30.183+0000: shutting down

它说无法打开图像文件。但是它没有说明原因!!!有没有什么办法可以调试这个问题并让引擎重新启动并运行???

多谢!!

编辑:oVirt 版本是 3.5

答案1

好的,所以这是存储问题。托管引擎图像由 gluster 卷托管,并且该图像处于裂脑状态。

感谢 dyasny 的帮助!!!

相关内容