Red Hat Bugzilla – Bug 1315324
'project_id' and 'user_id' fields are not set with alarm-gnocchi-resources-threshold-create
Last modified: 2016-08-15 02:16:16 EDT
Description of problem (Clone of upstream bug): Alarm of 'gnocchi-resource-threshold' type is create with empty fields : 'project_id' and 'user_id' ceilometer alarm-show d4d2d337-f0b3-48ce-905e-dbe4bf9c6a91 +---------------------------+--------------------------------------+ | Property | Value | +---------------------------+--------------------------------------+ | aggregation_method | mean | | alarm_actions | [u'log://'] | | alarm_id | d4d2d337-f0b3-48ce-905e-dbe4bf9c6a91 | | comparison_operator | ge | | description | My Test Alarm with Gnocchi backend | | enabled | True | | evaluation_periods | 1 | | granularity | 60 | | insufficient_data_actions | [u'log://'] | | metric | MyCacti1Day | | name | Cacti1Day-Alarm | | ok_actions | [u'log://'] | | project_id | | | repeat_actions | False | | resource_id | 2f98e37d-dc5e-5dec-aec2-47e272cb93e7 | | resource_type | generic | | severity | low | | state | insufficient data | | threshold | 3.0 | | type | gnocchi_resources_threshold | | user_id | | +---------------------------+--------------------------------------+ Version-Release number of selected component (if applicable): python-ceilometerclient-1.5.2-1.el7ost.noarch
Unlikely to be triggered on OSP 8, targetting at OSP 9.
Verified with python-ceilometerclient-2.3.0-1.el7ost.noarch ceilometer alarm-gnocchi-resources-threshold-create --name 'GnocchiResourceThresholdAlarm' --description 'Alarm 1 with Gnocchi backend' --severity 'moderate ' --enabled True --alarm-action 'log://' --ok-action 'log://' --insufficient-data-action 'log://' --granularity 60 --evaluation-periods 2 --aggregation-method 'mean' --comparison-operat or 'ge' --threshold 3.0 --metric radosgw.containers.objects.size --resource-type ceph_account --resource-id ceph-alarm-1 +---------------------------+--------------------------------------+ | Property | Value | +---------------------------+--------------------------------------+ | aggregation_method | mean | | alarm_actions | ["log://"] | | alarm_id | 2d1a7999-a3a5-498c-b997-b34cc5647ecc | | comparison_operator | ge | | description | Alarm 1 with Gnocchi backend | | enabled | True | | evaluation_periods | 2 | | granularity | 60 | | insufficient_data_actions | ["log://"] | | metric | radosgw.containers.objects.size | | name | GnocchiResourceThresholdAlarm | | ok_actions | ["log://"] | | project_id | d3ed8a8f708a4af8bf66c7c4e7915e68 | | repeat_actions | False | | resource_id | ceph-alarm-1 | | resource_type | ceph_account | | severity | moderate | | state | insufficient data | | threshold | 3.0 | | type | gnocchi_resources_threshold | | user_id | 99c0debaf9354b3abc8817e3ef3fefdf | +---------------------------+--------------------------------------+
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-1597.html