solved
пн, 11 сент. 2023 г. в 13:43, parallax <dd432690(a)gmail.com>:
I try to use the Python sdk to download vm disk but get the error:
# python3.9 download_disk.py f556403f-2a32-4e35-9f17-dc67864e0ae1
/home/librenms.raw --format raw --config engine2
Traceback (most recent call last):
File "download_disk.py", line 31, in <module>
from ovirt_imageio import client
ModuleNotFoundError: No module named 'ovirt_imageio'
or when run it with python3.6:
# python3.6 download_disk.py f556403f-2a32-4e35-9f17-dc67864e0ae1
/home/librenms.raw --format raw --config engine2
Traceback (most recent call last):
File "download_disk.py", line 31, in <module>
from ovirt_imageio import client
ImportError: cannot import name 'client'
Environment:
Rocky Linux release 8.8
Python 3.6.8, Python 3.9.16
python39-ovirt-engine-sdk4-4.6.0-1.el8.x86_64,
python3-ovirt-engine-sdk4-4.6.2-1.el8.x86_64
ovirt-release44-4.4.10.3-1.el8.noarch