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/...
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 disk should be attached to the VM.
In your case, you can see the disk's size with the following request:
GET
https://ovirt.domain.com/ovirt-engine/api/disks/f770c0d1-dd0d-40a8-a69a-a...
Is there some more info on the engine log?
*Regards,*
*Shani Leviim*
On Tue, Oct 5, 2021 at 10:05 PM <ovirt.org(a)nevim.eu> wrote:
I try this: PUT
https://ovirt.domain.com/ovirt-engine/api/vms/678faf6f-fa5f-4785-a365-e1b...
<disk_attachment>
<bootable>true</bootable>
<active>true</active>
<disk>
<provisioned_size>30737418240</provisioned_size>
</disk>
</disk_attachment>
I recieve: Request syntactically incorrect.
Status code was 400 and not [200]: HTTP Error 400: Bad Request
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
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/users@ovirt.org/message/PUFVAU7GGOZ...