Fails to create alarm with trust URL action
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aodh |
Fix Released
|
High
|
Thomas Herve |
Bug Description
Tried this on master:
$ ceilometer alarm-create --name alarm1 --alarm-action trust+http://
'NoneType' object has no attribute 'user_id' (HTTP 500) (Request-ID: req-19b78842-
The traceback:
2016-03-10 10:41:31.639722 2016-03-10 10:41:31.639 17986 ERROR wsme.api [-] Server-side error: "'NoneType' object has no attribute 'user_id'". Detail:
2016-03-10 10:41:31.639740 Traceback (most recent call last):
2016-03-10 10:41:31.639742
2016-03-10 10:41:31.639743 File "/usr/lib/
2016-03-10 10:41:31.639744 result = f(self, *args, **kwargs)
2016-03-10 10:41:31.639745
2016-03-10 10:41:31.639746 File "/opt/stack/
2016-03-10 10:41:31.639747 data.update_
2016-03-10 10:41:31.639748
2016-03-10 10:41:31.639749 File "/opt/stack/
2016-03-10 10:41:31.639750 auth_plugin)
2016-03-10 10:41:31.639750
2016-03-10 10:41:31.639751 File "/opt/stack/
2016-03-10 10:41:31.639752 trustee_user_id = admin_client.
2016-03-10 10:41:31.639753
2016-03-10 10:41:31.639754 AttributeError: 'NoneType' object has no attribute 'user_id'
Presumably the session refactoring went wrong.
Changed in aodh: | |
assignee: | nobody → Thomas Herve (therve) |
Changed in aodh: | |
importance: | Undecided → High |
milestone: | none → mitaka-rc1 |
Fix proposed to branch: master /review. openstack. org/291092
Review: https:/