Bug 1847898

Summary: [v2v] Conversion host enable playbook looks for vddk version 7 while version 6.7 was provided
Product: Red Hat CloudForms Management Engine Reporter: Maayan Hadasi <mguetta>
Component: V2VAssignee: Tomáš Golembiovský <tgolembi>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.11.6CC: akarol, bthurber, dagur, istein, simaishi
Target Milestone: GAKeywords: TestBlocker, ZStream
Target Release: 5.11.7Flags: simaishi: cfme-5.11.z+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.7.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-06 14:32:55 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:
Attachments:
Description Flags
conversion-host-enable.log
none
enable.log after patching CFME with v2v-conversion-host-1.16.2-1.el8ev none

Description Maayan Hadasi 2020-06-17 10:08:18 UTC
Description of problem:
Using RHV 4.4 provider - conversion host enable fails (via UI and api request)
with this error in log:

"nbdkit: error: libvixDiskLib.so.7: cannot open shared object file: No such file or directory
If 'libvixDiskLib.so.7' is located on a non-standard path you may need to
set $LD_LIBRARY_PATH or edit /etc/ld.so.conf
See the nbdkit-vddk-plugin(1) man page for details"


Versions:
CFME 5.11.6
v2v-conversion-host-ansible-1.16.1-1.el8ev.noarch
VDDK version 6.7.1


How reproducible:
100%


Steps to Reproduce:
1. Patch the CFME appliance with v2v-conversion-host-ansible-1.16.1-1.el8ev.noarch package
2. Try to enable conversion host (using RHV 4.4 host)


Additional info:
In order to patch the appliance with the necessary package, I simply added the v2v-conversion-host-1.16.1-1.el8ev.repo to /etc/yum.repos.d/ -
http://brew-task-repos.usersys.redhat.com/repos/official/v2v-conversion-host/1.16.1/1.el8ev/v2v-conversion-host-1.16.1-1.el8ev.repo

And updated v2v-conversion-host-ansible package


Attachment:
conversion-host-enable.log

Comment 2 Maayan Hadasi 2020-06-17 10:09:08 UTC
Created attachment 1697786 [details]
conversion-host-enable.log

Comment 3 Tomáš Golembiovský 2020-06-18 08:49:26 UTC
Fix upstream posted:

https://github.com/ManageIQ/manageiq-v2v-conversion_host/pull/70

After internal discussion it seems best to drop the check entirely rather than try to fix it.

Comment 4 Tomáš Golembiovský 2020-06-18 08:51:43 UTC
Already fixed by:

https://github.com/ManageIQ/manageiq-v2v-conversion_host/pull/69

Comment 5 Tomáš Golembiovský 2020-06-18 08:52:49 UTC
Disregard comment #4

Comment 7 Tomáš Golembiovský 2020-06-23 11:22:57 UTC
Fixed in v2v-conversion-host-1.16.2-1.el8ev

Comment 8 Tomáš Golembiovský 2020-06-23 11:24:22 UTC
Actually it seems this is still not working properly.

Comment 9 Maayan Hadasi 2020-06-23 11:39:13 UTC
Versions:
CFME 5.11.6
v2v-conversion-host-1.16.2-1.el8ev


Just sharing the error message in log while running conversion host enable playbook:

"msg": "The conditional check 'not v2v_vddk_library_installed or not v2v_nbdkit_plugin_installed or not v2v_nbdkit_plugin_working' failed. The error was: error while evaluating conditional (not v2v_vddk_library_installed or not v2v_nbdkit_plugin_installed or not v2v_nbdkit_plugin_working): 'v2v_nbdkit_plugin_working' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/oVirt.v2v-conversion-host/tasks/install-transport-vddk.yml': line 13, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n- block:\n    - name: Clean any previous VDDK

Comment 10 Maayan Hadasi 2020-06-23 15:50:11 UTC
Created attachment 1698478 [details]
enable.log after patching CFME with v2v-conversion-host-1.16.2-1.el8ev

Comment 11 Maayan Hadasi 2020-06-23 15:53:06 UTC
(In reply to Maayan Hadasi from comment #9)
> Versions:
> CFME 5.11.6
> v2v-conversion-host-1.16.2-1.el8ev
> 
> 
> Just sharing the error message in log while running conversion host enable
> playbook:
> 
> "msg": "The conditional check 'not v2v_vddk_library_installed or not
> v2v_nbdkit_plugin_installed or not v2v_nbdkit_plugin_working' failed. The
> error was: error while evaluating conditional (not
> v2v_vddk_library_installed or not v2v_nbdkit_plugin_installed or not
> v2v_nbdkit_plugin_working): 'v2v_nbdkit_plugin_working' is undefined\n\nThe
> error appears to be in
> '/usr/share/ansible/roles/oVirt.v2v-conversion-host/tasks/install-transport-
> vddk.yml': line 13, column 7, but may\nbe elsewhere in the file depending on
> the exact syntax problem.\n\nThe offending line appears to be:\n\n- block:\n
> - name: Clean any previous VDDK

Full log is attached (attachment 1698478 [details])

Comment 12 Nandini Chandra 2020-07-22 14:05:21 UTC
Verified in 5.11.7.1

Comment 15 errata-xmlrpc 2020-08-06 14:32:55 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 (Critical: CloudForms 5.0.7 bug fix and enhancement update), 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-2020:3358