<div dir="ltr"><div><div><div><div><div><div>Thanks,<br><br></div>I got workaround as below:<br></div>1&gt; Mark VM as HA.<br></div>2&gt; Set priority as High<br><br></div>But the question is, why I need to set priority as High ?<br></div>Why its not working when I enable VM as HA (Highly Available) ?<br></div><div>Is this issue with Ovirt ?<br></div><div><br></div>Thanks,<br><div><div><div>~Rohit<br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 22, 2017 at 12:45 PM, Martin Perina <span dir="ltr">&lt;<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">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.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Martin Perina<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Mar 22, 2017 at 7:07 AM, TranceWorldLogic . <span dir="ltr">&lt;<a href="mailto:tranceworldlogic@gmail.com" target="_blank">tranceworldlogic@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hi,<br><br></div><div>I want to register my python script with ovirt to get notification.(e.g .Host went down or came up.)</div><div>But not got any information on same it look to me that polling is the only one solution.<br></div><div><br></div><div>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)<br><br></div><b>Why I Want Extend Ovirt-engine functionanlity?</b><br></div><div>I want to auto start VM after host come up.<br></div>And for this If ound a bug on Ovirt .. and it is very old and still no solution.<br><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1325468" target="_blank">https://bugzilla.redhat.com/sh<wbr>ow_bug.cgi?id=1325468</a><br>BugĀ 1325468
    

    
      <br><br></div><div>I am just searching for workaround.<br></div><div>Note: I am using ovirt 4.0.<br><br></div><div>Please help me to know whether ovirt-engine have any extension mechanism ?<br></div><div><br></div><div>Thanks,<br></div><div>~Rohit<br></div><br></div>
<br></div></div>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>