Bug 1249709 - Migration to virtual host always fails
Summary: Migration to virtual host always fails
Keywords:
Status: CLOSED DUPLICATE of bug 1248035
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: bugs@ovirt.org
QA Contact: Petr Matyáš
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-03 15:33 UTC by Petr Matyáš
Modified: 2015-08-04 11:33 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-04 11:33:38 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)
Engine log (8.35 MB, text/plain)
2015-08-03 15:33 UTC, Petr Matyáš
no flags Details
VDSM log from source host (3.97 MB, text/plain)
2015-08-04 08:35 UTC, Petr Matyáš
no flags Details

Description Petr Matyáš 2015-08-03 15:33:34 UTC
Created attachment 1058791 [details]
Engine log

Description of problem:
If I try to migrate VM from physical host to virtual, migration always fails with "Migration failed, No available host found" even though the virtual host has enough resources. Migration from virtual to physical host works correctly.

Version-Release number of selected component (if applicable):
ovirt-engine-3.6.0-0.0.master.20150802181117.git8c45eb7.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. start VM on physical host
2. migrate VM to virtual host
3.

Actual results:
migration fails

Expected results:
successful migration

Additional info:

Comment 1 Omer Frenkel 2015-08-04 07:45:09 UTC
please attach vdsm and libvirt log from source (physical?) host

Comment 2 Petr Matyáš 2015-08-04 08:35:32 UTC
Created attachment 1058987 [details]
VDSM log from source host

This should be the traceback you are looking for

Thread-164::ERROR::2015-08-04 10:27:05,246::migration::310::virt.vm::(run) vmId=`57518b94-ca0f-412b-99de-865a24315d45`::Failed to migrate
Traceback (most recent call last):
  File "/usr/share/vdsm/virt/migration.py", line 278, in run
    self._setupVdsConnection()
  File "/usr/share/vdsm/virt/migration.py", line 146, in _setupVdsConnection
    self._destServer = jsonrpcvdscli.connect(client, requestQueue)
  File "/usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py", line 119, in connect
    str(uuid4())
  File "/usr/lib/python2.7/site-packages/yajsonrpc/stompreactor.py", line 538, in StompRpcClient
    stomp_client.subscribe(response_queue, sub_id=str(uuid4())),
AttributeError: 'str' object has no attribute 'subscribe'

Comment 3 Omer Frenkel 2015-08-04 11:33:38 UTC
Thank you.

this was already fixed on master, if you are running on master,
you can upgrade your hosts, if you run on alpha release, this should be fixed on next release.

https://gerrit.ovirt.org/#/c/44120/

*** This bug has been marked as a duplicate of bug 1248035 ***


Note You need to log in before you can comment on or make changes to this bug.