On Sat, Sep 4, 2021 at 10:28 PM avishek.sarkar--- via Users <[email protected]> wrote: > > I have used upload-disk.py to upload qcow2 image to data center...however > getting below errror > > ./upload-disk.py --engine-url 'https://xyz.net' --username='[email protected]' > --password-file=password --sd-name='SEC-ABC' > --cafile='/home/jenkins/crt/ca.crt' --disk-format="qcow2" --disk-sparse > image-XYZ
I see that you use the user [email protected] - does it work when using admin@internal? ... > Uploading image... > [ 100.00% ] 10.00 GiB, 11.34 seconds, 903.09 MiB/s > Finalizing transfer session... ... > ovirtsdk4.AuthError: Fault reason is "Operation Failed". Fault detail is > "[User is not authorized to perform this action.]". HTTP response code is 403. This is a bug - the system allows you to start an upload, which creates a disk, but does not allow you to finalize the upload. If you can reproduce this with 4.4, please file ovirt engine bug, and we will try to fix this in a future 4.4. release. For now, you can try to modify the capabilities of the user [email protected], maybe uploading images requires some permissions which are set for this user. Avihai, do we test image transfers with a special user (not admin@internal)? Nir _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected]/message/P4WTNXFGIWCFRB2FECJOZIPDQJGZGCCA/

