[ovirt-users] Re: oVirt Python SDK and monitor export as OVA task

2020-02-27 Thread Gianluca Cecchi
On Thu, Feb 27, 2020 at 5:29 PM Strahil Nikolov wrote: [snip] > >I could be wrong, but I didn't find any ansible module to do this with > >Ansible playbooks: I can only save all the VM, that in my case wouldn't > >be > >necessary and instead time and storage wasting. > > [snip] > > Hi

[ovirt-users] Re: oVirt Python SDK and monitor export as OVA task

2020-02-27 Thread Strahil Nikolov
On February 27, 2020 5:32:15 PM GMT+02:00, Gianluca Cecchi wrote: >Hello, >sometimes I have environments (typically with Oracle RDBMS on virtual >machines) where there is one boot disk and one (often big, such as >500Gb or >more) data disk. >The data disk has already its application backup

[ovirt-users] Re: oVirt Python SDK and monitor export as OVA task

2020-02-27 Thread Jayme
Gianluca, This is not a direct solution to your problem, but for my project here: https://github.com/silverorange/ovirt_ansible_backup was recently updated to make use the ovirt_event_info Ansible module to determine the state of the export. I'm not sure how to do the same in python directly, but

[ovirt-users] Re: Ovirt Python - SDK

2018-11-13 Thread Brad Riemann
What version of the sdk are you using? Are you running this on an non-ovirt server/workstation? Can you list out the packages installed for *ovirt* ? Brad Riemann Sr. System Architect Cloud5 Communications brad.riem...@cloud5.com

[ovirt-users] Re: Ovirt Python - SDK

2018-11-13 Thread Hari Prasanth Loganathan
Thanks, Valentin and Brad. I modified the UDS code to support ovirtSDK4, so everything works as expected now. Your thoughts are much appreciated. On Tue, Nov 13, 2018 at 3:23 PM Valentin Bajrami < valentin.bajr...@target-holding.nl> wrote: > Hi Hari, > > It would be best to create a

[ovirt-users] Re: Ovirt Python - SDK

2018-11-13 Thread Valentin Bajrami
Hi Hari, It would be best to create a venv(virtual environment) as follows: python3 -m venv ovirtsdk Then while in ovirtsdk venv directory you can use pip to install the following packages: - ovirt-engine-sdk-python==4.2.9 - pycurl==7.43.0.2  Install these packages using: pip install

[ovirt-users] Re: Ovirt Python - SDK

2018-11-12 Thread Hari Prasanth Loganathan
Also, If I downgrade the pip install ovirt-engine-sdk-python==3.6.9.2 then I get this error : ImportError: No module named ovirtsdk4 Thanks, Hari On Tue, Nov 13, 2018 at 8:57 AM Hari Prasanth Loganathan < hariprasant...@msystechnologies.com> wrote: > Hi Brad, > ovirt-engine-sdk-python 4.2.9 >

[ovirt-users] Re: Ovirt Python - SDK

2018-11-12 Thread Hari Prasanth Loganathan
Hi Brad, ovirt-engine-sdk-python 4.2.9 It is running in the non-ovirt environment. No Ovirt Packages are installed in this. Thanks, Hari On Tue, 13 Nov 2018 at 2:50 AM, Brad Riemann wrote: > What version of the sdk are you using? Are you running this on an > non-ovirt server/workstation? Can