Revision history [back]

click to hide/show revision 1
initial version

Notifying alarm gets response: 403 AccessDenied.

Hello,

I am working on autoscaling with HEAT+ AODH + CEILOMETER. Here is the alarm list:

aodh alarm list
+-------------------------+-----------+--------------------------+-------+----------+---------+
| alarm_id                | type      | name                     | state | severity | enabled |
+-------------------------+-----------+--------------------------+-------+----------+---------+
| 887430c0-dc40-429b-9769 | threshold | my_stack-cpu_alarm_high- | alarm | low      | True    |
| -39311f360f35           |           | k4kgwps5mbpp             |       |          |         |
+-------------------------+-----------+--------------------------+-------+----------+---------+

Alarm is getting generated correctly but scaling out isn't working. I am getting following error in aoth-notifier.log

2017-04-03 12:27:57.078 2969 INFO aodh.notifier.rest [-] Notifying alarm my_stack-cpu_alarm_high-k4kgwps5mbpp 887430c0-dc40-429b-9769-39311f360f35 with severity low from alarm to alarm with action SplitResult(scheme=u'http', netloc=u'controller:8000', path=u'/v1/signal/arn%3Aopenstack%3Aheat%3A%3A6e665ce96bfa4907ac24b694b94711ab%3Astacks%2Fmy_stack%2F9fa05df9-fb1f-4c28-8ee9-829f91d87b7d%2Fresources%2Fscaleup_policy', query=u'Timestamp=2017-04-03T06%3A16%3A30Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=491dbec9b8db49d7b2ef4cab6d12943c&SignatureVersion=2&Signature=RN8U2dEBVRpKW4T9Z7g55yTBQO3pD3N8pO4VByjKxLM%3D', fragment='') because Remaining as alarm due to 1 samples outside threshold, most recent: 15.4217992288. request-id: req-a3ef1500-7e52-4d16-8fbd-9a6cad23ff0a 

   2017-04-03 12:27:57.120 2969 INFO aodh.notifier.rest [-] Notifying alarm <887430c0-dc40-429b-9769-39311f360f35> gets response: 403 AccessDenied.

It seems to me an authentication error but can't find the exact root cause. Please suggest what steps should I take to resolve this one and get auto-scaling working.