Failed to create combination alarm with aodhclient

Bug #1579675 reported by Yurii Prokulevych
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-aodhclient
Triaged
High
ZhiQiang Fan

Bug Description

According to the developer's guide 'combination' alarms are available(supported?) - http://docs.openstack.org/developer/aodh/architecture.html#combination

Also, it can be created POSTing data directly to the API endpoint.

aodh --debug alarm create --type combination --name 'AClient-Combination-1' --description 'AodhClient-Combination-Alarm' --state ok --severity moderate --enabled True --alarm-action 'log://' --ok-action 'log://' --insufficient-data-action 'log://' --repeat-actions True --operator or --alarm_ids 9a4ca39e-0881-4d75-81fb-427bfc0a49b9 --alarm_ids 9a4ca39e-0881-4d75-81fb-427bfc0a49b9
...
aodh alarm create: error: argument -t/--type: invalid choice: 'combination' (choose from 'threshold', 'event', 'composite', 'gnocchi_resources_threshold', 'gnocchi_aggregation_by_metrics_threshold', 'gnocchi_aggregation_by_resources_threshold')

Packages:
aodhclient==0.4.0
openstack-aodh*-2.0.0-1.el7ost.noarch

Regards,
Yurii

Revision history for this message
ZhiQiang Fan (aji-zqfan) wrote :

Yes, there is a gap that aodhclient doesn't support combination alarms, because we already decide to deprecate it

but considering compatibility, we'd better add such support, as ceilometerclient is no longer suitable for alarming service

Changed in python-aodhclient:
importance: Undecided → High
assignee: nobody → ZhiQiang Fan (aji-zqfan)
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.