Hi,
I am trying to detach and delete disk from my vm. I found this service in
the docs
DiskAttachmentService

http://ovirt.github.io/ovirt-engine-sdk/master/services.m.html#ovirtsdk4.services.DiskAttachmentService
I am not able to fetch this service. Below if the snippet of code I am
trying.
https://pastebin.com/UUu0Pfc8

Error-->   File "./pre_setup/delete_vm_disk.py", line 19, in
remove_attached_vm_disk
    attachment.remove(detach_only=False)
AttributeError: 'DiskAttachment' object has no attribute 'remove'





-- 

Thanks,

Kaustav Majumder
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/O4ZC47JHLBDEHF7ZE27P7AZI2DZ44E4Z/

Reply via email to