virt-v2v from Fedora 29 to oVirt 4.3 and ovirtsdk4

Hello, I'm trying to migrate a VM from a Fedora 29 system to oVirt 4.3.2. I'm trying to use the "-o rhv-upload" option that should be faster. virt-v2v -o rhv-upload -oc https://my_engine/ovirt-engine/api -os my_sd_domain -op /tmp/ovirt-admin-password -of raw -oo rhv-cafile=/tmp/ca.pem -oo rhv-direct --bridge nat:ovn193 my_vm But I get " Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'ovirtsdk4' virt-v2v: error: the Python module ‘ovirtsdk4’ could not be loaded, is it installed? See previous messages for problems. If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...] " I see on Fedora 29 repos thease are the only relevant available packages: [root@ope46 ~]# dnf search ovirt ... ovirt-engine-cli.noarch : oVirt Engine Command Line Interface ... ovirt-engine-sdk-java-javadoc.noarch : Javadocs for ovirt-engine-sdk-java ... ovirt-engine-sdk-java.noarch : oVirt Engine Software Development Kit (Java) ... python2-ovirt-engine-sdk.noarch : oVirt Engine Software Development Kit (Python) ... and python2-ovirt-engine-sdk.noarch is related to source ovirt-engine-sdk-python-3.6.9.1-7.fc29.src.rpm so only sdk3 On oVirt repos I see here only for F28: https://resources.ovirt.org/pub/ovirt-4.3/rpm/fc28/x86_64/ trying to install # dnf install https://resources.ovirt.org/pub/ovirt-4.3/rpm/fc28/x86_64/python3-ovirt-engi... gives: Error: Problem: conflicting requests - nothing provides python(abi) = 3.6 needed by python3-ovirt-engine-sdk4-4.3.0-1.fc28.x86_64 (try to add '--skip-broken' to skip uninstallable packages) How can I get correct rpm packages to interact with v4 api of 4.3? Thanks, Gianluca

Hello Have you tried installing using pip? https://pypi.org/project/ovirt-engine-sdk-python/ Regards, Paul S.

On Tue, Apr 9, 2019 at 7:18 PM <p.staniforth@leedsbeckett.ac.uk> wrote:
Hello
Have you tried installing using pip?
https://pypi.org/project/ovirt-engine-sdk-python/
Regards, Paul S. _______________
I thought about it, but I don't like that way of proceeding, sort of out of band... Also, it was one time job so I decided to proceed with direct upload of the disk file and then create a VM on oVirt and attach it. I would prefer to be able to streamline run virt-v2v from a Fedora system, but it seems it is difficult to compile necessary bits perhaps... Thanks anyway, Gianluca
participants (2)
-
Gianluca Cecchi
-
p.staniforth@leedsbeckett.ac.uk