Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
We already have bug 1849981 for this, with much more details. *** This bug has been marked as a duplicate of bug 1849981 ***
Description of problem: Currently, the ovirt-imageio is not supporting ova file uploading for ovirt 4.4, due to the deprication of the ovirt-imageio proxy, at least for the default installation. The client.upload api has been added which allows for the upload_disk.py script of the ovirt-engine-sdk to upload disk images directly from the disk image file by providing the file path and name. For the upload_ova_as_template.py and upload_ova_as_vm.py scripts, the disk image resides in the ova and worked via obtaining the file descriptor. The client.upload api does not support file descriptors, however. Therefore the ovirt-imageio client needs to be modified to support ova uploads. One option is to pass the file offset of the image within the client.upload api if supporting the file descriptor is not feasible. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Run the upload_ova_as_template.py from the ovirt-engine-sdk 2. 3. Actual results: The script fails to upload the disk images of the ova file because the proxy is not available. Expected results: The upload_ova_as_template.py script shall upload all disk images and the template successfully. Additional info: