[ovirt-users] Hosted-engine is not migrate to other hosts

Spickiy Nikita n.spickiy at outlook.com
Tue Aug 15 08:30:54 UTC 2017


Hi, thanks for the answer. I decided to full re-insall ovirt, as i did errors in the install. As i have error vdsmd service:

● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2017-08-14 16:12:04 +07; 55min ago
 Main PID: 3901 (vdsm)
   CGroup: /system.slice/vdsmd.service
           └─3901 /usr/bin/python2 /usr/share/vdsm/vdsm

Aug 14 16:12:03 vnode10.pi.local vdsmd_init_common.sh[3829]: vdsm: Running syslog_available
Aug 14 16:12:03 vnode10.pi.local vdsmd_init_common.sh[3829]: vdsm: Running nwfilter
Aug 14 16:12:04 vnode10.pi.local vdsmd_init_common.sh[3829]: vdsm: Running dummybr
Aug 14 16:12:04 vnode10.pi.local vdsmd_init_common.sh[3829]: vdsm: Running tune_system
Aug 14 16:12:04 vnode10.pi.local vdsmd_init_common.sh[3829]: vdsm: Running test_space
Aug 14 16:12:04 vnode10.pi.local vdsmd_init_common.sh[3829]: vdsm: Running test_lo
Aug 14 16:12:04 vnode10.pi.local systemd[1]: Started Virtual Desktop Server Manager.
Aug 14 16:12:05 vnode10.pi.local vdsm[3901]: vdsm throttled WARN MOM not available.
Aug 14 16:12:05 vnode10.pi.local vdsm[3901]: vdsm throttled WARN MOM not available, KSM stats will be missing.
Aug 14 16:12:05 vnode10.pi.local vdsm[3901]: vdsm root ERROR failed to retrieve Hosted Engine HA info
                                             Traceback (most recent call last):
                                               File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 231, in _getHaInfo…


But when i removed 1 host for re-install, then service get status is ok:

● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2017-08-14 13:15:43 +07; 1 day 1h ago
 Main PID: 29945 (vdsm)
   CGroup: /system.slice/vdsmd.service
           ├─  647 /usr/bin/dd if=/rhev/data-center/mnt/10.10.20.25:_var_nfs-ovirt-iso-share_files/78c7fad8-4c1a-4f08-9b04-df660e1479c0/dom_md/metadata of=/dev/null bs=4096 count=1 iflag=direct
           ├─ 1776 /usr/libexec/ioprocess --read-pipe-fd 59 --write-pipe-fd 53 --max-threads 10 --max-queued-requests 10
           ├─ 7806 /usr/libexec/ioprocess --read-pipe-fd 65 --write-pipe-fd 64 --max-threads 10 --max-queued-requests 10
           └─29945 /usr/bin/python2 /usr/share/vdsm/vdsm

Aug 15 13:26:05 vnode11.pi.local vdsm[29945]: vdsm vds.dispatcher WARN unhandled close event
Aug 15 13:26:05 vnode11.pi.local vdsm[29945]: vdsm vds.dispatcher WARN unhandled close event
Aug 15 13:28:00 vnode11.pi.local vdsm[29945]: vdsm vds.dispatcher WARN unhandled close event
Aug 15 13:28:00 vnode11.pi.local vdsm[29945]: vdsm vds.dispatcher WARN unhandled close event
Aug 15 13:28:00 vnode11.pi.local vdsm[29945]: vdsm vds.dispatcher WARN unhandled close event
Aug 15 13:28:00 vnode11.pi.local vdsm[29945]: vdsm vds.dispatcher WARN unhandled close event
Aug 15 14:46:42 vnode11.pi.local vdsm[29945]: vdsm root WARN File: /var/lib/libvirt/qemu/channels/aa47c2e6-73ad-4c37-a641-adf2b127fd03.com.redhat.rhevm.vdsm already removed
Aug 15 14:46:42 vnode11.pi.local vdsm[29945]: vdsm root WARN File: /var/lib/libvirt/qemu/channels/aa47c2e6-73ad-4c37-a641-adf2b127fd03.org.qemu.guest_agent.0 already removed
Aug 15 14:48:03 vnode11.pi.local vdsm[29945]: vdsm root WARN File: /var/lib/libvirt/qemu/channels/aa47c2e6-73ad-4c37-a641-adf2b127fd03.com.redhat.rhevm.vdsm already removed
Aug 15 14:48:03 vnode11.pi.local vdsm[29945]: vdsm root WARN File: /var/lib/libvirt/qemu/channels/aa47c2e6-73ad-4c37-a641-adf2b127fd03.org.qemu.guest_agent.0 already removed

But when i shutdown host, on which run hosted-engine, he is not up to the available host. I waited 30 minutes, biut not up. I re-install ovirt without errors and watch behavior. If situation repeat i writing about it. Thanks for help!

On 15 Aug 2017, at 14:35, Yedidyah Bar David <didi at redhat.com<mailto:didi at redhat.com>> wrote:

On Mon, Aug 14, 2017 at 12:04 PM, Spickiy Nikita <n.spickiy at outlook.com<mailto:n.spickiy at outlook.com>> wrote:
Hi, in advance sorry, i beginner. I try setting HA on oVirt. I install hosted-engine on host and after adding two hosts in web portal. When i install hosts then select DEPLOY in hosted-engine. But when i shutdown node, on which run hosted-engine, and hosted-engine is not start on other hosts automaticlly.

How long did you wait? It does take up to something like 10 minutes
normally, IIRC.

I guess that trouble in state host(he is state=EngineDown),

No, this is ok.

but not found information how to fix it. Maybe it do because i don't setting power management?

No. Power management is required for HA inside the engine, for other VMs.
For hosted-engine it's not required.

If you still have problems, please check/share
/var/log/ovirt-hosted-engine-ha/agent.log
on all 3 hosts.

Best,


My configuration:
--== Host 1 status ==--

conf_on_shared_storage             : True
Status up-to-date                  : True
Hostname                           : vnode10
Host ID                            : 1
Engine status                      : {"health": "good", "vm": "up", "detail": "up"}
Score                              : 3400
stopped                            : False
Local maintenance                  : False
crc32                              : 68e523f8
local_conf_timestamp               : 178768
Host timestamp                     : 178753
Extra metadata (valid at timestamp):
       metadata_parse_version=1
       metadata_feature_version=1
       timestamp=178753 (Mon Aug 14 15:22:49 2017)
       host-id=1
       score=3400
       vm_conf_refresh_time=178768 (Mon Aug 14 15:23:04 2017)
       conf_on_shared_storage=True
       maintenance=False
       state=EngineUp
       stopped=False


--== Host 2 status ==--

conf_on_shared_storage             : True
Status up-to-date                  : True
Hostname                           : vnode11
Host ID                            : 2
Engine status                      : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"}
Score                              : 3400
stopped                            : False
Local maintenance                  : False
crc32                              : 1204d5c0
local_conf_timestamp               : 9290
Host timestamp                     : 9274
Extra metadata (valid at timestamp):
       metadata_parse_version=1
       metadata_feature_version=1
       timestamp=9274 (Mon Aug 14 15:22:53 2017)
       host-id=2
       score=3400
       vm_conf_refresh_time=9290 (Mon Aug 14 15:23:10 2017)
       conf_on_shared_storage=True
       maintenance=False
       state=EngineDown
       stopped=False


--== Host 3 status ==--

conf_on_shared_storage             : True
Status up-to-date                  : True
Hostname                           : vnode13
Host ID                            : 3
Engine status                      : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"}
Score                              : 3400
stopped                            : False
Local maintenance                  : False
crc32                              : 14e97435
local_conf_timestamp               : 188749
Host timestamp                     : 188732
Extra metadata (valid at timestamp):
       metadata_parse_version=1
       metadata_feature_version=1
       timestamp=188732 (Mon Aug 14 15:22:55 2017)
       host-id=3
       score=3400
       vm_conf_refresh_time=188749 (Mon Aug 14 15:23:11 2017)
       conf_on_shared_storage=True
       maintenance=False
       state=EngineDown
       stopped=False

Thank you in advance!
_______________________________________________
Users mailing list
Users at ovirt.org<mailto:Users at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users



--
Didi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170815/171fbe4c/attachment.html>


More information about the Users mailing list