[ovirt-users] cloned vm template id

Michal Skrivanek michal.skrivanek at redhat.com
Wed May 4 08:31:45 UTC 2016


> On 04 May 2016, at 10:24, Dobó László <laszlo.dobo at ezit.hu> wrote:
> 
> Yes, its cloned from different template than Blank, and later i need to know which one was that template.
> 
> 
> Thanks,
> 
> enax
> 
> 
> On 05/04/2016 09:49 AM, Michal Skrivanek wrote:
>>> On 02 May 2016, at 13:13, Dobó László <laszlo.dobo at ezit.hu> wrote:
>>> 
>>> Hello,
>>> 
>>> How can i get back the original template id after vm is cloned with python sdk?
>>> print api.vms.get(id=vm_id).template.id
>>> result: 00000000-0000-0000-0000-000000000000 (blank template)
>>> 
>>> However under vm general tab on web ui, the tamplate name is showing correctli.
>> what do you mean correctly - what does it show? Did you clone it from a different template or is it a new VM from Blank

ah, ok, so you’re saying it shows blank id in REST API but it shows the correct id in the UI, right?

filing a bug sounds like a good idea. 

Thanks,
michal

>> 
>> Thanks,
>> michal
>> 
>>> 
>>> regards,
>>> enax
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>> 
>>> 
> 




More information about the Users mailing list