Failed to migrate VM to the upgrade host Red Hat Virtualization Host 4.1 (el7.4)?

Solution Verified - Updated -

Issue

  • After upgrading the host to latest RHVH 4.1 Red Hat Virtualization Host 4.1 (el7.4), the VM migration fails with following error:
2017-08-15 12:01:05,940-0700 INFO  (migsrc/9bc74b77) [virt.vm] (vmId='<vm_id>') starting migration to qemu+tls://<hostname>/system with miguri tcp://<hostname> (migration:480)
2017-08-15 12:01:05,947-0700 ERROR (migsrc/9bc74b77) [virt.vm] (vmId='<vm_id>') operation failed: Failed to connect to remote libvirt URI qemu+tls://<hostname>/system: unable to connect to server at '<hostname>:16514': No route to host (migration:287)
2017-08-15 12:01:06,018-0700 INFO  (jsonrpc/7) [vdsm.api] START migrate(params={u'incomingLimit': 1, u'src': u'<hostname>', u'dstqemu': u'<hostname>', u'autoConverge': u'true', u'tunneled': u'false', u'enableGuestEvents': True, u'dst': u'<hostname>:54321', u'convergenceSchedule': {u'init': [{u'params': [u'100'], u'name': u'setDowntime'}], u'stalling': [{u'action': {u'params': [u'150'], u'name': u'setDowntime'}, u'limit': 1}, {u'action': {u'params': [u'200'], u'name': u'setDowntime'}, u'limit': 2}, {u'action': {u'params': [u'300'], u'name': u'setDowntime'}, u'limit': 3}, {u'action': {u'params': [u'400'], u'name': u'setDowntime'}, u'limit': 4}, {u'action': {u'params': [u'500'], u'name': u'setDowntime'}, u'limit': 6}, {u'action': {u'params': [u'5000'], u'name': u'setDowntime'}, u'limit': -1}, {u'action': {u'params': [], u'name': u'abort'}, u'limit': -1}]}, u'vmId': u'<vm_id>', u'abortOnError': u'true', u'outgoingLimit': 1, u'compressed': u'true', u'method': u'online', 'mode': 'remote'}) from=::ffff:<IP>,43434 (api:46)
2017-08-15 12:01:06,021-0700 INFO  (jsonrpc/7) [vdsm.api] FINISH migrate return={'status': {'message': 'Migration in progress', 'code': 0}, 'progress': 0} from=::ffff:165.235.64.35,43434 (api:52)
2017-08-15 12:01:06,021-0700 INFO  (jsonrpc/7) [jsonrpc.JsonRpcServer] RPC call VM.migrate succeeded in 0.00 seconds (__init__:539)
2017-08-15 12:01:06,837-0700 ERROR (migsrc/9bc74b77) [virt.vm] (vmId='<vm_id>') Failed to migrate (migration:429)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 411, in run
    self._startUnderlyingMigration(time.time())
  File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 487, in _startUnderlyingMigration
    self._perform_with_conv_schedule(duri, muri)
  File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 563, in _perform_with_conv_schedule
    self._perform_migration(duri, muri)
  File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 529, in _perform_migration
    self._vm._dom.migrateToURI3(duri, params, flags)
  File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 69, in f
    ret = attr(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 123, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 941, in wrapper
    return func(inst, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1939, in migrateToURI3
    if ret == -1: raise libvirtError ('virDomainMigrateToURI3() failed', dom=self)
libvirtError: operation failed: Failed to connect to remote libvirt URI qemu+tls://<hostname>/system: unable to connect to server at '<hostname>:16514': No route to host

Environment

  • Red Hat Virtualization 4.1.4
  • Red Hat Virtualization Host 4.1 (el7.4)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content