Bug 1815046

Summary: [v2v][UCI] Failed to migrate in case of SSH transport method
Product: Red Hat CloudForms Management Engine Reporter: Maayan Hadasi <mguetta>
Component: V2VAssignee: Fabien Dupont <fdupont>
Status: CLOSED WONTFIX QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: urgent    
Version: 5.11.4CC: bthurber, dmetzger, istein, simaishi, sshveta
Target Milestone: GA   
Target Release: 5.11.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-13 16:46:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: V2V Target Upstream Version:
Embargoed:
Bug Depends On: 1822277    
Bug Blocks:    

Description Maayan Hadasi 2020-03-19 11:34:32 UTC
Description of problem:
Failed to migrate in case of SSH transport method via CFME and rest api


Version-Release number of selected component (if applicable):
CFME 5.11.4.1
UCI: 5.11.4.1-1


How reproducible:
100%


Actual results:

evm.log error:
ERROR -- : Q-task_id([job_dispatcher]) MIQ(ConversionHost#connect_ssh) SSH connection failed for [10.1.40.213] with [RuntimeError: MiqSshUtil::exec - Command 'sudo /usr/bin/podman run --detach --privileged --name conversion-26 --network host --volume /dev:/dev --volume /etc/pki/ca-trust:/etc/pki/ca-trust --volume /var/tmp:/var/tmp --volume /var/lib/uci/26:/var/lib/uci --volume /var/log/uci/26:/var/log/uci --volume /opt/vmware-vix-disklib-distrib:/opt/vmware-vix-disklib-distrib --volume /root/.ssh/id_rsa:/var/lib/uci/ssh_private_key registry.redhat.io/cloudforms50/v2v-conversion-host-rhel8' failed: Error: error checking path "/opt/vmware-vix-disklib-distrib": stat /opt/vmware-vix-disklib-distrib: no such file or directory, status: 125]

Comment 2 Fabien Dupont 2020-03-19 16:32:58 UTC
https://github.com/ManageIQ/manageiq/pull/19980

Comment 3 CFME Bot 2020-05-01 23:35:18 UTC
New commit detected on ManageIQ/manageiq/jansa:

https://github.com/ManageIQ/manageiq/commit/24d3cf087651aa79da27441144e631376b663333
commit 24d3cf087651aa79da27441144e631376b663333
Author:     Adam Grare <agrare>
AuthorDate: Thu Mar 19 17:51:04 2020 +0000
Commit:     Adam Grare <agrare>
CommitDate: Thu Mar 19 17:51:04 2020 +0000

    Merge pull request #19980 from fdupont-redhat/v2v_bz_1815046

    Do not mount VDDK folder if transport method is SSH

    (cherry picked from commit bca006442018c7f755807e11495dd417adf413e6)

    https://bugzilla.redhat.com/show_bug.cgi?id=1815046

 app/models/conversion_host.rb | 2 +-
 spec/models/conversion_host_spec.rb | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

Comment 4 Fabien Dupont 2020-05-13 16:46:17 UTC
Warm migration and UCI will finally not be implemented in CloudForms.
Closing as WONTFIX.