[openstack-dev] [masakari] BUG in Masakari Installation and Procedure and/or Documentation

Waines, Greg Greg.Waines at windriver.com
Wed Jan 24 21:13:57 UTC 2018


I am looking for some input before I raise a BUG.

I reviewed the following commits which documented the Masakari and MasakariMonitors Installation and Procedures.
i.e.
https://review.openstack.org/#/c/489570/
https://review.openstack.org/#/c/489095/

I created an AIO devstack with Masakari on current/master ... this morning.
I followed the above instructions on configuring and installing Masakari and MasakariMonitors.

I created a VM and then ‘sudo kill -9 <qemu-pid-of-vm>’
and
I got the following error from instance monitoring trying to send the notification message to masakari-engine.
( The request you have made requires authentication. ) ... see below,

Is this a known BUG ?
Greg.


2018-01-24 20:29:16.902 12473 INFO masakarimonitors.instancemonitor.libvirt_handler.callback [-] Libvirt Event: type=VM, hostname=devstack-masakari-new, uuid=6884cf13-5797-487b-9cb1-053a2e18b60e, time=2018-01-24 20:29:16.902347, event_id=LIFECYCLE, detail=STOPPED_FAILED)

2018-01-24 20:29:16.903 12473 INFO masakarimonitors.ha.masakari [-] Send a notification. {'notification': {'hostname': 'devstack-masakari-new', 'type': 'VM', 'payload': {'instance_uuid': '6884cf13-5797-487b-9cb1-053a2e18b60e', 'vir_domain_event': 'STOPPED_FAILED', 'event': 'LIFECYCLE'}, 'generated_time': datetime.datetime(2018, 1, 24, 20, 29, 16, 902347)}}

2018-01-24 20:29:16.977 12473 WARNING masakarimonitors.ha.masakari [-] Retry sending a notification. (HttpException: The request you have made requires authentication. (HTTP 401) (Request-ID: req-9c734f56-aca9-40a9-b2dd-3f372de8c34e), The request you have made requires authentication.): HttpException: HttpException: The request you have made requires authentication. (HTTP 401) (Request-ID: req-9c734f56-aca9-40a9-b2dd-3f372de8c34e), The request you have made requires authentication.

...

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari [-] Exception caught: HttpException: The request you have made requires authentication. (HTTP 401) (Request-ID: req-26a5de94-aaad-4f8f-949e-cbfeb5e31b8b), The request you have made requires authentication.: HttpException: HttpException: The request you have made requires authentication. (HTTP 401) (Request-ID: req-26a5de94-aaad-4f8f-949e-cbfeb5e31b8b), The request you have made requires authentication.

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari Traceback (most recent call last):

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/masakarimonitors/ha/masakari.py", line 91, in send_notification

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     payload=event['notification']['payload'])

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/v1/_proxy.py", line 65, in create_notification

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     return self._create(_notification.Notification, **attrs)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/openstack/proxy2.py", line 194, in _create

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     return res.create(self._session)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/openstack/resource2.py", line 588, in create

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     json=request.body, headers=request.headers)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 848, in post

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     return self.request(url, 'POST', **kwargs)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/openstack/session.py", line 64, in map_exceptions_wrapper

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     return func(*args, **kwargs)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/openstack/session.py", line 352, in request

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     return super(Session, self).request(*args, **kwargs)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 573, in request

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     auth_headers = self.get_auth_headers(auth)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 900, in get_auth_headers

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     return auth.get_headers(self, **kwargs)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/plugin.py", line 95, in get_headers

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     token = self.get_token(session)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 88, in get_token

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     return self.get_access(session).auth_token

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     self.auth_ref = self.get_auth_ref(session)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 198, in get_auth_ref

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     return self._plugin.get_auth_ref(session, **kwargs)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/v3/base.py", line 165, in get_auth_ref

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     authenticated=False, log=False, **rkwargs)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 848, in post

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     return self.request(url, 'POST', **kwargs)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari   File "/usr/local/lib/python2.7/dist-packages/openstack/session.py", line 66, in map_exceptions_wrapper

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari     raise exceptions.from_exception(e)

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari HttpException: HttpException: The request you have made requires authentication. (HTTP 401) (Request-ID: req-26a5de94-aaad-4f8f-949e-cbfeb5e31b8b), The request you have made requires authentication.

2018-01-24 20:31:17.769 12473 ERROR masakarimonitors.ha.masakari






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180124/47223f53/attachment.html>


More information about the OpenStack-dev mailing list