We merged imageio patch changing the package structure. Unfortunately this
change is not backward compatible and breaks older versions of upload_disk.py,
download_disk.py, and backup_vm.py from ovirt-engine-sdk.

If you try to upload or download disks using the SDK and upload fail with:

$ ./upload_disk.py -h
Traceback (most recent call last):
  File "./upload_disk.py", line 44, in <module>
    from ovirt_imageio import ui
ImportError: cannot import name 'ui' from 'ovirt_imageio'
(/usr/lib64/python3.7/site-packages/ovirt_imageio/__init__.py)

You need to install ovirt-imageio-package:

    sudo dnf install ovirt-imageio-client

and use this patch:
https://gerrit.ovirt.org/c/108840/

If you cannot find ovirt-imageio-client, you are need to install
ovirt-release-master.rpm:

    sudo dnf install
https://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm

Nir
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/TW6LQZSOEZPY3Q3EC7RVSD4DW3DUR3H7/

Reply via email to