Ask Your Question
0

ERROR aodh.notifier [-] Unable to notify alarm

asked 2019-04-19 09:27:22 -0500

hariprasath M gravatar image

updated 2019-04-19 09:28:18 -0500

Hi All,

I am trying for auto-scale a instance using Ceilometer, Aodh and Heat orchestration in openstack queens. I am able to launch instance and create alarms and state of the alarm is also getting changed based on the threshold. But getting below error in aodh-notifier.log

BadRequest: Expecting to find domain in user. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400)

2019-04-19 19:53:34.008 23066 ERROR aodh.notifier [-] Unable to notify alarm cf91cfe0-9a08-4bc0-9a6c-0b9689e77660: BadRequest: Expecting to find domain in user. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-063665e4-8909-4648-8293-4e8cd3ee730c)
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier Traceback (most recent call last):
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier   File "/usr/lib/python2.7/dist-packages/aodh/notifier/__init__.py", line 139, in _handle_action
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier     previous, current, reason, reason_data)
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier   File "/usr/lib/python2.7/dist-packages/aodh/notifier/trust.py", line 45, in notify
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier     headers = {'X-Auth-Token': keystone_client.get_auth_token(client)}
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier   File "/usr/lib/python2.7/dist-packages/aodh/keystone_client.py", line 58, in get_auth_token
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier     return client.session.auth.get_access(client.session).auth_token
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier   File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier     self.auth_ref = self.get_auth_ref(session)
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier   File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 201, in get_auth_ref
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier     return self._plugin.get_auth_ref(session, **kwargs)
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier   File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/v3/base.py", line 177, in get_auth_ref
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier     authenticated=False, log=False, **rkwargs)
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier   File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 848, in post
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier     return self.request(url, 'POST', **kwargs)
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier   File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 737, in request
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier     raise exceptions.from_response(resp, method, url)
2019-04-19 19:53:34.008 23066 ERROR aodh.notifier BadRequest: Expecting to find domain in user. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-063665e4-8909-4648-8293-4e8cd3ee730c)

If anyone faced this kind of scenario. Please help me on this.

Thanks, Hariprasath M

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-04-22 04:24:05 -0500

hariprasath M gravatar image

Hi

This is fixed when I changed the configuration of aodh.conf where we need to mention the user domain under keyston_auth as user_domain_id = XXXX, previously it was user_domain_name = XXX

Thanks, Hariprasath M

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-04-19 09:27:22 -0500

Seen: 40 times

Last updated: Apr 22