Bug 1700461 - [v2v][RHV][Conversion] Migration failing with XDG_RUNTIME_DIR error in virt-v2v log
Summary: [v2v][RHV][Conversion] Migration failing with XDG_RUNTIME_DIR error in virt-v...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: v2v-conversion-host
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.3.5
: ---
Assignee: Tomáš Golembiovský
QA Contact: Yadnyawalk Tale
URL:
Whiteboard: v2v
Depends On: 1696437
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-16 15:40 UTC by Yadnyawalk Tale
Modified: 2019-06-20 14:47 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, migration failed with an XDG_RUNTIME_DIR error in the virt-v2v log. The current release fixes this error by dropping XDG_RUNTIME_DIR from the environment.
Clone Of:
Environment:
Last Closed: 2019-06-20 14:47:53 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:1559 0 None None None 2019-06-20 14:47:56 UTC

Description Yadnyawalk Tale 2019-04-16 15:40:25 UTC
Description of problem:
Migration failing with XDG_RUNTIME_DIR error in virt-v2v log


Version-Release number of selected component (if applicable):
CFME: 5.10.3.2.20190410215422_59d5d16 
RHV: 4.3
v2v-conversion-host-ansible-1.12.1-4.el7ev.noarch
v2v-conversion-host-wrapper-1.12.1-4.el7ev.noarch


How reproducible:
100%


Steps to Reproduce:
1. Install mentioned packages of conversion host and configure inventory file
2. Set conversion host (Since we had BZ1700457, I used workaround of rails commands to add host entry https://gist.github.com/fdupont-redhat/0661f6310e8ca0a1dab4b9016ea752e9)
3. Run migration (I used VDDK transformation method, I don't think this matters)


Actual results:
Migration failing with XDG_RUNTIME_DIR error in virt-v2v.log  


Expected results:
Migration should pass.


Additional info:

Comment 5 Tomáš Golembiovský 2019-04-16 17:50:43 UTC
Fixed upstream by commit:

    185d75aca9e75731a39de72ec68d398cac610952  wrapper: rhv: drop XDG_RUNTIME_DIR from environment (RHBZ#1700461)

Comment 6 Tomáš Golembiovský 2019-04-16 18:51:39 UTC
Fixed in v2v-conversion-host-1.12.1-5.el7ev

Comment 10 Yadnyawalk Tale 2019-04-25 14:07:30 UTC
Marking failedQA due to conversion hosts is not getting added which blocks end-to-end migration (BZ1696437).
Checked against CFME 5.10.4.0.20190424160602_acb6009 and with v2v-conversion-host-wrapper-1.12.1-5.el7ev.noarch of recent RHV 4.3.3-5 compose.

Comment 12 Tomáš Golembiovský 2019-05-13 22:06:22 UTC
It seems bug 1696437 is now fixed, please retest.

Comment 13 Yadnyawalk Tale 2019-05-20 09:06:17 UTC
Checked with v2v-conversion-host-wrapper-1.12.1-5.el7ev.noarch of previous RHV 4.3.3-5 compose and migration worked after adding CFME's patches. No more XDG_RUNTIME_DIR error atm. 

Thanks a lot for fix.

Comment 15 errata-xmlrpc 2019-06-20 14:47:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:1559


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