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-...
Result #2:
<disk href="/ovirt-engine/api/disks/1e0a39c1-08d5-41b1-8e4e-5174597c59c9"
id="1e0a39c1-08d5-41b1-8e4e-5174597c59c9">
....
<propagate_errors>false</propagate_errors>
<provisioned_size>107374182400</provisioned_size>
<qcow_version>qcow2_v3</qcow_version>
<shareable>false</shareable>
<sparse>true</sparse>
<status>ok</status>
<storage_type>image</storage_type>
<total_size>20090257408</total_size>
...
</disk>
No i try #2:
PUT
https://ovirt2.domain.com/ovirt-engine/api/disks/f770c0d1-dd0d-40a8-a69a-...
<disk>
<provisioned_size>30737418240</provisioned_size>
</disk>
Result #2:
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"
standalone=\"yes\"?>\n<fault>\n <detail>Updating disk
attributes other than QCOW version is permitted only for disk-attachments, which reside
under VMs.</detail>\n <reason>Operation
Failed</reason>\n</fault>\n",
"msg": "Status code was 409 and not [200]: HTTP Error 409: Conflict",
"url":
"https://ovirt2.domain.com/ovirt-engine/api/disks/f770c0d1-dd0d-40a8-a69a-a63d8db5c2cc",
So version 4.3 really has no way to adjust the disk size via the API? The only way is to
upgrade to 4.4?