[ovirt-users] Unable to rename disks via REST API
Bruno Rodriguez
bruno at pic.es
Wed Jun 28 08:43:23 UTC 2017
Thank you, Daniel
I tried a PUT with the same XML body, I got a "405 Method Not Allowed".
It's quite strange, there must be someting I'm missing
On Wed, Jun 28, 2017 at 10:07 AM, Daniel Erez <derez at redhat.com> wrote:
> Hi,
>
> Updating is done using the PUT method.
> Please try that with the same XML body.
>
> Thanks,
> Daniel
>
> On Wed, Jun 28, 2017 at 10:26 AM Bruno Rodriguez <bruno at pic.es> wrote:
>
>> Hello everyone,
>>
>> I'm having some problems about renaming some disks (setting a different
>> alias, name or description) for VMs disks created from a template. When I
>> get this URL
>>
>> https://ovirt-manager/ovirt-engine/api/disks/0123
>>
>> I can see are the methods sparsify, export, move and copy. I tried to
>> POST the following XML to the previous URL with no result (as expected, it
>> won't work)
>>
>> <disk>
>> <alias>my_machine_Disk1</alias>
>> </disk>
>>
>> I'm quite sure I'm thinking about it in a wrong way (as usual). Any help
>> would be welcome...
>>
>> Thank you in advance
>>
>> --
>> Bruno Rodríguez Rodríguez
>>
>> *Port d'Informació Científica (PIC)*
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
--
Bruno Rodríguez Rodríguez
*Port d'Informació Científica (PIC)*
Campus UAB - Edificio D,
C / Albareda, s / n
08193-Bellaterra (Barcelona), España
Telf. +34 93 170 27 30
GPS coordenadas: 41.500850 2.110628
"Si algo me ha enseñado el tetris, es que los errores se acumulan y los
triunfos desaparecen"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170628/f312f7f0/attachment.html>
More information about the Users
mailing list