git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openstack] [masakari-monitors] sending notification conflict error


Hi Reza,
 Can you please share openstacksdk version in our compute node?

--- Regards,
Sampath



On Wed, Sep 12, 2018 at 4:40 AM Reza Bakhshayeshi <reza.b2008 at gmail.com>
wrote:

> Hi
> In newton masakari-monitors (version==2), when I shut off an instance,
> masakari engine repeatedly start and stop instance!
> I get the following error on compute node:
>
> 2018-09-12 11:15:27.584 3141 INFO
> masakarimonitors.instancemonitor.libvirt_handler.callback [-] Send a
> notification.
> 2018-09-12 11:15:27.897 3141 ERROR
> masakarimonitors.instancemonitor.libvirt_handler.callback [-]
> HttpException: Conflict
> 2018-09-12 11:15:27.897 3141 ERROR
> masakarimonitors.instancemonitor.libvirt_handler.callback Traceback (most
> recent call last):
> 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
> 2018-09-12 11:15:27.897 3141 ERROR
> masakarimonitors.instancemonitor.libvirt_handler.callback
> payload=payload)
> 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
> 2018-09-12 11:15:27.897 3141 ERROR
> masakarimonitors.instancemonitor.libvirt_handler.callback     return
> self._create(_notification.Notification, **attrs)
> 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
> 2018-09-12 11:15:27.897 3141 ERROR
> masakarimonitors.instancemonitor.libvirt_handler.callback     return
> res.create(self.session)
> 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
> 2018-09-12 11:15:27.897 3141 ERROR
> masakarimonitors.instancemonitor.libvirt_handler.callback
> json=request.body, headers=request.headers)
> 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
> 2018-09-12 11:15:27.897 3141 ERROR
> masakarimonitors.instancemonitor.libvirt_handler.callback     return
> self.request(url, 'POST', **kwargs)
> 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
> 2018-09-12 11:15:27.897 3141 ERROR
> masakarimonitors.instancemonitor.libvirt_handler.callback
> http_status=e.http_status, cause=e)
> 2018-09-12 11:15:27.897 3141 ERROR
> masakarimonitors.instancemonitor.libvirt_handler.callback HttpException:
> HttpException: Conflict
> 2018-09-12 11:15:27.897 3141 ERROR
> masakarimonitors.instancemonitor.libvirt_handler.callback
> 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
> 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
> 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
> 2018-09-12 11:15:27.995 3141 INFO
> masakarimonitors.instancemonitor.libvirt_handler.callback [-] Send a
> notification.
> 2018-09-12 11:15:28.263 3141 WARNING
> masakarimonitors.instancemonitor.libvirt_handler.callback [-] Retry sending
> a notification. (HttpException: Conflict)
> 2018-09-12 11:15:28.561 3141 WARNING
> masakarimonitors.instancemonitor.libvirt_handler.callback [-] Retry sending
> a notification. (HttpException: Conflict)
>
> Do you have any idea?
>
> Regards,
> Reza
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180912/edc09752/attachment.html>