<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">Hi Reza,</div><div class="gmail_default" style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:arial,helvetica,sans-serif"> Can you please share openstacksdk version in our compute node?</span></div><div class="gmail_default" style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:arial,helvetica,sans-serif"><br></span></div></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>---<font color="#333333" face="Times New Roman"><span style="font-size:14px;line-height:21.600000381469727px"> R</span></font><span style="color:rgb(51,51,51);font-family:'Times New Roman';font-size:14px;line-height:21.600000381469727px">egards,</span></div><div>Sampath</div><div><br></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 12, 2018 at 4:40 AM Reza Bakhshayeshi <<a href="mailto:reza.b2008@gmail.com">reza.b2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Hi</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">In newton masakari-monitors (version==2), when I shut off an instance, masakari engine repeatedly start and stop instance!</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">I get the following error on compute node:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">2018-09-12 11:15:27.584 3141 INFO masakarimonitors.instancemonitor.libvirt_handler.callback [-] Send a notification.<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback [-] HttpException: Conflict<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback Traceback (most recent call last):<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback   File "/usr/local/lib/python2.7/dist-packages/masakarimonitors/instancemonitor/libvirt_handler/callback.py", line 89, in _post_event<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback     payload=payload)<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback   File "/usr/local/lib/python2.7/dist-packages/masakariclient/sdk/vmha/v1/_proxy.py", line 65, in create_notification<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback     return self._create(_notification.Notification, **attrs)<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback   File "/usr/lib/python2.7/dist-packages/openstack/proxy2.py", line 193, in _create<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback     return res.create(self.session)<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback   File "/usr/lib/python2.7/dist-packages/openstack/resource2.py", line 570, in create<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback     json=request.body, headers=request.headers)<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback   File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 675, in post<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback     return self.request(url, 'POST', **kwargs)<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback   File "/usr/lib/python2.7/dist-packages/openstack/session.py", line 52, in map_exceptions_wrapper<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback     http_status=e.http_status, cause=e)<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback HttpException: HttpException: Conflict<br>2018-09-12 11:15:27.897 3141 ERROR masakarimonitors.instancemonitor.libvirt_handler.callback<br>2018-09-12 11:15:27.993 3141 DEBUG masakarimonitors.instancemonitor.libvirt_handler.eventfilter [-] libvirt Event Received.type = VM             hostname = compute1 uuid = 9e38b13e-ed53-4855-9037-1589da26415e time = 2018-09-12 11:15:27.993473 eventID = 0 eventType = 5             detail = 0 vir_event_filter /usr/local/lib/python2.7/dist-packages/masakarimonitors/instancemonitor/libvirt_handler/eventfilter.py:56<br>2018-09-12 11:15:27.994 3141 DEBUG masakarimonitors.instancemonitor.libvirt_handler.eventfilter [-] Event Filter Matched. vir_event_filter /usr/local/lib/python2.7/dist-packages/masakarimonitors/instancemonitor/libvirt_handler/eventfilter.py:60<br>2018-09-12 11:15:27.994 3141 INFO masakarimonitors.instancemonitor.libvirt_handler.callback [-] libvirt Event: type=VM hostname=compute1 uuid=9e38b13e-ed53-4855-9037-1589da26415e             time=2018-09-12 11:15:27.993473 eventID=LIFECYCLE detail=STOPPED_SHUTDOWN<br>2018-09-12 11:15:27.995 3141 INFO masakarimonitors.instancemonitor.libvirt_handler.callback [-] Send a notification.<br>2018-09-12 11:15:28.263 3141 WARNING masakarimonitors.instancemonitor.libvirt_handler.callback [-] Retry sending a notification. (HttpException: Conflict)<br>2018-09-12 11:15:28.561 3141 WARNING masakarimonitors.instancemonitor.libvirt_handler.callback [-] Retry sending a notification. (HttpException: Conflict)</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Do you have any idea?</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Regards,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Reza<br></div></div></div>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div>