当前位置: > 虚拟化 Virtualization > oVirt >

oVirt技巧总结

时间:2019-11-22 17:07来源:linux.it.net.cn 作者:IT
1. host处于non Response状态

rootcause:

大多数情况是无法挂载storage。

workaround: 

检查提供存储的host的iptables是否清空(最方便。当然你也可以写入详细规则)



2.  "Cannot run VM.  VM ns01 is being migrated".

日志如下:

2017-05-02 03:19:31,929 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (default task-45) [4131fc3d] Failed to Acquire Lock to object 'EngineLock:{exclusiveLocks='[fe897b9c-f7f8-4f57-b90c-937374b31475=<VM, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
2017-05-02 03:19:31,929 WARN  [org.ovirt.engine.core.bll.RunVmCommand] (default task-45) [4131fc3d] Validation of action 'RunVm' failed for user admin@internal-authz. Reasons: VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_BEING_MIGRATED,$VmName lyy-3

rootcause:

当host处于non Response状态时,oVirt会migrate其上的vm。当vm无法migrate时候,vm会卡在being migrated状态。

workaround:
systemctl restart ovirt-engine

(责任编辑:IT)
------分隔线----------------------------