Hello everyone,
so I am trying to do some work related to oVirt and I am handling disks using
the ovirtsdk4 python API. However I am not sure about how to do two things.
First one is about avoiding an active wait or at least minimizing the guesswork.
When creating a new disk I have to then wait in a loop until it is ready,
polling it and checking if it is in 'OK' status. However the creation returns a
job which has way better information on what is happening (is it still running?
did it fail?) and I was wondering if there is a way how to get the job
information using the Python SDK.
Another thing is that, apparently, updating a disk only works for updating the
qcow_version and nothing else. And I need to update its shareable attribute,
which is completely possible using the web interface. What is the proper way to
do that using REST APIs or the Python SDK?
Thanks for any info,
Martin