[ovirt-users] Re: upload_disk.py - CLI Upload Disk

2021-01-03 Thread Nir Soffer
On Sun, Jan 3, 2021 at 11:08 AM Steven Rosenberg wrote: > > Dear Strahil, > > For 4.4.4 the sdk examples do require that you create a configuration file. > Here is an example: > > ~/config/ovirt.conf: > > > [engine1] > > engine_url = http://localhost:8080 > > username = admin@internal > > passwor

[ovirt-users] Re: upload_disk.py - CLI Upload Disk

2021-01-03 Thread Steven Rosenberg
Dear Strahil, For 4.4.4 the sdk examples do require that you create a configuration file. Here is an example: ~/config/ovirt.conf: [engine1] engine_url = http://localhost:8080 username = admin@internal password = 123 secure = yes cafile = /home/user/ovirt_engine_master/etc/pki/ovirt-engine

[ovirt-users] Re: upload_disk.py - CLI Upload Disk

2021-01-01 Thread Strahil Nikolov via Users
Hi Ilan, Do you know how to use the config for disk_upload.py (or the --engine-url, --username, --password-file or --cafile params) on 4.3.10 as I had to directly edit the script  ? Best Regards, Strahil Nikolov В четвъртък, 31 декември 2020 г., 00:07:06 Гринуич+2, Jorge Visentini нап

[ovirt-users] Re: upload_disk.py - CLI Upload Disk

2020-12-30 Thread Jorge Visentini
Hi Nikolov. I uploaded to 4.4.4 Em qua., 30 de dez. de 2020 às 14:14, Strahil Nikolov escreveu: > Are you uploading to 4.4 or to the old 4.3 ? > I'm asking as there should be an enhancement that makes a checksum on the > uploads in order to verify that the upload was successfull. > > Best Regar

[ovirt-users] Re: upload_disk.py - CLI Upload Disk

2020-12-30 Thread Strahil Nikolov via Users
Are you uploading to 4.4 or to the old 4.3 ? I'm asking as there should be an enhancement that makes a checksum on the uploads in order to verify that the upload was successfull. Best Regards, Strahil Nikolov В сряда, 30 декември 2020 г., 18:37:52 Гринуич+2, Jorge Visentini написа:

[ovirt-users] Re: upload_disk.py - CLI Upload Disk

2020-12-30 Thread Jorge Visentini
Hi Ilan. Ohh sorry I didn't understand. I created the file and executed the script as you said and it worked. *python3 /usr/share/doc/python3-ovirt-engine-sdk4/examples/upload_disk.py -c engine disk01-SO.qcow2 --disk-format qcow2 --disk-sparse --sd-name ISOs[ 0.0 ] Checking i

[ovirt-users] Re: upload_disk.py - CLI Upload Disk

2020-12-29 Thread Ilan Zuckerman
Hi Jorge, Lately DEV started to implement the capability of passing the basic arguments for the SDK example scripts with a help of configuration file. I assume that not all of the example scripts support this new feature yet. Until now you had to run the examples with: --engine-url https://e