On Sun, Apr 12, 2020 at 11:15 AM Artem Hrechanychenko
<ahrechan(a)redhat.com> wrote:
Hi all,
Welcome Artem!
I'm trying to upload disk image to ovirt
from Events I see next -
"Transfer was stopped by system. Reason: failed to add image ticket to
ovirt-imageio-proxy."
ovirt-imageio-proxy is not available yet for 4.4.
ovirt-Version - 4.4.0-0.5.beta3.20200408120550.gitf94f968ca81.el8
Note that you are using a beta version which does not include all features
(e.g. imageio proxy), and upgrading from this version to the next version
is not supported.
If you are new to oVirt you should not run beta versions but the latest stable
version (4.3.9).
But if you are brave and like to run the latest version with the most
exciting features
and bugs, you are welcome to test 4.4 beta.
To upload and download images you can use upload_disk.py and download_disk.py
from ovirt-engine-sdk:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload...
Example usage:
$ echo -n secret-password > password
$ python3 upload_disk.py \
--engine-url=https://example.com \
--username=admin@internal \
--password-file password \
--sd-name=nfs_2 \
--cafile /etc/pki/vdsm/certs/cacert.pem \
--disk-format raw \
image.qcow2
It is much more powerful compared with the UI. In this example we
uploaded a qcow2 (possibly compressed) to a raw preallocated disk.
Nir
Nir