Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1315324 - 'project_id' and 'user_id' fields are not set with alarm-gnocchi-resources-threshold-create
'project_id' and 'user_id' fields are not set with alarm-gnocchi-resources-th...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-ceilometerclient (Show other bugs)
8.0 (Liberty)
Unspecified Unspecified
unspecified Severity unspecified
: ga
: 9.0 (Mitaka)
Assigned To: Pradeep Kilambi
Yurii Prokulevych
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-07 08:25 EST by Yurii Prokulevych
Modified: 2016-08-15 02:16 EDT (History)
7 users (show)

See Also:
Fixed In Version: python-ceilometerclient-2.3.0-1.el7ost
Doc Type: Bug Fix
Doc Text:
Alarms created with the type 'gnocchi-resource-threshold' has empty fields for the 'project_id' and 'user_id' fields. With this update, when alarms are created with type 'gnocchi-resource-threshold', the 'project_id' and 'user_id' fields are populated.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-08-11 08:14:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1506509 None None None 2016-03-07 08:25 EST
Red Hat Product Errata RHEA-2016:1597 normal SHIPPED_LIVE Red Hat OpenStack Platform 9 Release Candidate Advisory 2016-08-11 12:06:52 EDT

  None (edit)
Description Yurii Prokulevych 2016-03-07 08:25:05 EST
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
Comment 1 Julien Danjou 2016-06-03 09:26:31 EDT
Unlikely to be triggered on OSP 8, targetting at OSP 9.
Comment 3 Yurii Prokulevych 2016-07-07 08:42:17 EDT
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     |
+---------------------------+--------------------------------------+
Comment 5 errata-xmlrpc 2016-08-11 08:14:44 EDT
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

Note You need to log in before you can comment on or make changes to this bug.