Bug 1712135

Summary: [V2V][RHV][VDDK][SSH] Migration failing with 'rescue in run_conversion' error in automation
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: V2VAssignee: Daniel Berger <dberger>
Status: CLOSED ERRATA QA Contact: Yadnyawalk Tale <ytale>
Severity: urgent Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: urgent    
Version: 5.10.4CC: bthurber, dberger, fdupont, simaishi, smallamp, sshveta
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: v2v
Fixed In Version: 5.10.5.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1708739 Environment:
Last Closed: 2019-06-11 05:32:46 UTC Type: ---
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: 1708739    
Bug Blocks:    

Comment 2 CFME Bot 2019-05-20 19:05:40 UTC
New commits detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/2a0f93eb01710880b45b651317c28693584b378a
commit 2a0f93eb01710880b45b651317c28693584b378a
Author:     Adam Grare <agrare>
AuthorDate: Tue May  7 19:58:11 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Tue May  7 19:58:11 2019 -0400

    Merge pull request #18724 from djberg96/conversion_host_ansible_playbook_default_credentials

    [V2V] Add default credentials to ansible_playbook method

    (cherry picked from commit a68811eee56fc4a7bc632c4b74f8c64c0e5b6ef0)

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

 app/models/conversion_host.rb | 27 +-
 1 file changed, 15 insertions(+), 12 deletions(-)


https://github.com/ManageIQ/manageiq/commit/cec25e0a0c940b555921ce361dbdf8c1eb86a93d
commit cec25e0a0c940b555921ce361dbdf8c1eb86a93d
Author:     Adam Grare <agrare>
AuthorDate: Sat May 11 17:48:52 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Sat May 11 17:48:52 2019 -0400

    Merge pull request #18748 from djberg96/conversion_host_ansible_playbook_default_credentials

    Have ConversionHost explicitly search authentications for auth type

    (cherry picked from commit 54bc9a86e5b4199d7b4a2f7587ca8aea9136a545)

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

 app/models/conversion_host.rb | 4 +-
 spec/factories/authentication.rb | 4 +
 spec/models/conversion_host_spec.rb | 48 +-
 3 files changed, 48 insertions(+), 8 deletions(-)


https://github.com/ManageIQ/manageiq/commit/7609ecddfd3001038b13ffddba25359d9591480a
commit 7609ecddfd3001038b13ffddba25359d9591480a
Author:     Adam Grare <agrare>
AuthorDate: Wed May 15 16:40:40 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Wed May 15 16:40:40 2019 -0400

    Merge pull request #18747 from djberg96/conversion_host_logging2

    [V2V] Add better logging to ConversionHost methods

    (cherry picked from commit 23d2532eacf0882a52fc18655568afd03f120e3b)

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

 app/models/conversion_host.rb | 7 +-
 spec/models/conversion_host_spec.rb | 20 +-
 2 files changed, 23 insertions(+), 4 deletions(-)

Comment 4 CFME Bot 2019-05-22 14:15:49 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/ec6d2a42bac80f827ab253d4bc6938f34089a503
commit ec6d2a42bac80f827ab253d4bc6938f34089a503
Author:     Adam Grare <agrare>
AuthorDate: Tue May 21 15:47:51 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Tue May 21 15:47:51 2019 -0400

    Merge pull request #18768 from djberg96/conversion_host_json_parsing

    [V2V] Add extra error handling for the ConversionHost#run_conversion method

    (cherry picked from commit d1ea5d1937b51b1891ead86f007eb238d5cc1639)

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

 app/models/conversion_host.rb | 8 +-
 spec/models/conversion_host_spec.rb | 30 +
 2 files changed, 36 insertions(+), 2 deletions(-)

Comment 9 Shveta 2019-05-22 18:27:47 UTC
Just FYI : Migration (RHV+VDDK)works when conversion host is added via rails console.

Comment 12 Fabien Dupont 2019-05-23 13:57:16 UTC
Allow ssh auth for RHV - https://github.com/ManageIQ/manageiq/pull/18800

Comment 13 Fabien Dupont 2019-05-23 19:39:17 UTC
https://github.com/ManageIQ/manageiq/pull/18805 (replaces ManageIQ/manageiq/18800)

Comment 14 CFME Bot 2019-05-23 20:10:45 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/6fc2829f2a8bcb051480c4caf221a0a8205b69ab
commit 6fc2829f2a8bcb051480c4caf221a0a8205b69ab
Author:     Adam Grare <agrare>
AuthorDate: Thu May 23 15:36:30 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Thu May 23 15:36:30 2019 -0400

    Merge pull request #18805 from fdupont-redhat/v2v_fix_rhv_conversion_host_auth

    Allow ssh auth for RHV

    (cherry picked from commit 6cb8d78bb4b50974ccfa7058cb1be3677c007e29)

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

 app/models/conversion_host.rb | 21 +-
 1 file changed, 11 insertions(+), 10 deletions(-)

Comment 15 Yadnyawalk Tale 2019-05-30 16:30:59 UTC
Fixed! Verified on 5.10.5.1.20190528153822_0501085

Both SSH and VDDK worked for RHV.

Comment 17 errata-xmlrpc 2019-06-11 05:32:46 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/RHSA-2019:1429