[ovirt-users] Re: API how to increase extend resize disk VM

2022-06-25 Thread sultanu--- via Users
Hello, team! Is it possible to change Actual size on cow disk from API? In our infrastructure we have 3 host cluster + ISCSI storage, i need increase disk size for uploading cow image from API. ___ Users mailing list -- users@ovirt.org To

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-07 Thread Shani Leviim
Glad it worked :) I'll try to fill the gap, so maybe things will make more sense. The API you dealt with has 2 basic services - Disk and Disk_Attachment

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-07 Thread ovirt . org
although I don't see the elements there via GET, it really works, Thanks a lot. Karma +1 :-) ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-06 Thread Vojtech Juranek
On Wednesday, 6 October 2021 15:14:10 CEST ovirt@nevim.eu wrote: > ovirt.domain.com: Software Version:4.3.4.3-1.el7 > ovirt2.domain.com: Software Version:4.3.10.4-1.el7 > > I test everything on the server ovirt2.domains.com. > > No i try #1: > GET >

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-06 Thread ovirt . org
ovirt.domain.com: Software Version:4.3.4.3-1.el7 ovirt2.domain.com: Software Version:4.3.10.4-1.el7 I test everything on the server ovirt2.domains.com. No i try #1: GET https://ovirt2.domain.com/ovirt-engine/api/disks/f770c0d1-dd0d-40a8-a69a-a63d8db5c2cc Result #2: false 107374182400

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-06 Thread Shani Leviim
Hi, The ability to update a disk and its size was upgraded in 4.4 http://ovirt.github.io/ovirt-engine-api-model/4.4/#services/disk/methods/update That way, you can edit floating disk parameters, such as extend its size, without attaching the disk to a VM. On version 4.3, as already mentioned, the

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-05 Thread ovirt . org
I try this: PUT https://ovirt.domain.com/ovirt-engine/api/vms/678faf6f-fa5f-4785-a365-e1b85925575f/diskattachments/f770c0d1-dd0d-40a8-a69a-a63d8db5c2cc true true 30737418240 I recieve: Request syntactically incorrect. Status code was 400 and not [200]: HTTP Error 400: Bad

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-05 Thread Vojtech Juranek
On Tuesday, 5 October 2021 15:44:40 CEST ovirt@nevim.eu wrote: > But for me there is no element for the value of space. It looks something > like this: > href="/ovirt-engine/api/vms/678faf6f-fa5f-4785-a365-e1b85925575f/diskattach > ments/f770c0d1-dd0d-40a8-a69a-a63d8db5c2cc" >

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-05 Thread ovirt . org
But for me there is no element for the value of space. It looks something like this: true true virtio_scsi false false false So is it not possible to increase extend space using the API in ovirt? ___ Users mailing list -- users@ovirt.org To

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-05 Thread Vojtech Juranek
On Tuesday, 5 October 2021 09:47:45 CEST ovirt@nevim.eu wrote: > This is informations from apidoc > https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/ht > ml-single/rest_api_guide/index#services-disk-methods-update which says "The only field that can be updated is

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-05 Thread ovirt . org
This is informations from apidoc https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/rest_api_guide/index#services-disk-methods-update Here is example: qcow2_v3 But this not working if i change to this: {{ new size > actual size }} OR {{ new size

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-05 Thread ovirt . org
https://ovirt.mydomains/ovirt-engine/apidoc/#/ is not working (page is blank, has ovirt horizontal menu, but content is empty). You may mean the page https://ovirt.mydomains/ovirt-engine/apidoc/#/services/disk/methods/update It works for me, but the information I see on it seems insufficient

[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-04 Thread Strahil Nikolov via Users
I would check the api guide at https://ovirt.somedomain/ovirt-engine/apidoc/#/ Best Regards,Strahil Nikolov Hello, please how to increase extend resize disk of VM? I can working with ansible or REST API. Ansible working is here, but i not found manual for update size: