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 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-a63d8db5c2cc

Is there some more info on the engine log?


*Regards,*

*Shani Leviim*


On Tue, Oct 5, 2021 at 10:05 PM <ovirt....@nevim.eu> wrote:

> I try this: PUT
> https://ovirt.domain.com/ovirt-engine/api/vms/678faf6f-fa5f-4785-a365-e1b85925575f/diskattachments/f770c0d1-dd0d-40a8-a69a-a63d8db5c2cc
>
> <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@ovirt.org
> To unsubscribe send an email to users-le...@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/PUFVAU7GGOZ4ZMFMUNDWATAPPSXMKOTE/
>
_______________________________________________
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 Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3OHDOVP276OGTR6OAZ2ZS64ZOKRWTNOY/

Reply via email to