[ovirt-users] Ovirt-Engine Notification via Python SDK

TranceWorldLogic . tranceworldlogic at gmail.com
Wed Mar 22 08:47:24 UTC 2017


Thanks,

I got workaround as below:
1> Mark VM as HA.
2> Set priority as High

But the question is, why I need to set priority as High ?
Why its not working when I enable VM as HA (Highly Available) ?
Is this issue with Ovirt ?

Thanks,
~Rohit

On Wed, Mar 22, 2017 at 12:45 PM, Martin Perina <mperina at redhat.com> wrote:

> Hi,
>
> you cannot get events about those changes using Python SDK. The only
> solution to receive such events is to setup ovirt-engine-notifier and
> subscribe into those events on your SMTP or SNMP server.
>
> Martin Perina
>
>
> On Wed, Mar 22, 2017 at 7:07 AM, TranceWorldLogic . <
> tranceworldlogic at gmail.com> wrote:
>
>> Hi,
>>
>> I want to register my python script with ovirt to get notification.(e.g
>> .Host went down or came up.)
>> But not got any information on same it look to me that polling is the
>> only one solution.
>>
>> I am sending this mail to confirm my understanding (ovirt-engine not send
>> notification to python script or it not have any hook to extend
>> functionality)
>>
>> *Why I Want Extend Ovirt-engine functionanlity?*
>> I want to auto start VM after host come up.
>> And for this If ound a bug on Ovirt .. and it is very old and still no
>> solution.
>> https://bugzilla.redhat.com/show_bug.cgi?id=1325468
>> Bug 1325468
>>
>> I am just searching for workaround.
>> Note: I am using ovirt 4.0.
>>
>> Please help me to know whether ovirt-engine have any extension mechanism ?
>>
>> Thanks,
>> ~Rohit
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170322/de580c6a/attachment.html>


More information about the Users mailing list