Heat could not create samples with Ceilometer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Rico Lin | ||
Kilo |
Fix Released
|
Medium
|
Rico Lin |
Bug Description
Heat could not create samples with Ceilometer.
I'm not expert but meter_xxx parameter seems wrong in Heat.
Following patch works for me.
--- watchrule.py.org 2015-05-15 17:48:38.351871774 +0900
+++ watchrule.py 2015-05-15 18:08:53.509800025 +0900
@@ -270,20 +270,20 @@
def _to_ceilometer(
clients = self.context.
sample = {}
- sample[
+ sample[
for k, d in iter(data.items()):
if k == 'Namespace':
- sample[
- sample[
- sample[
+ sample[
+ sample[
+ sample[
dims = d.get('Dimensions', {})
if isinstance(dims, list):
description: | updated |
affects: | heat-templates → heat |
Changed in heat: | |
assignee: | nobody → Rico Lin (rico-lin) |
Changed in heat: | |
status: | New → Confirmed |
tags: | added: juno-backport-potential kilo-backport-potential |
Changed in heat: | |
milestone: | none → liberty-1 |
importance: | Undecided → Medium |
Changed in heat: | |
status: | Fix Committed → Fix Released |
tags: |
added: in-stable-kilo removed: kilo-backport-potential |
Changed in heat: | |
milestone: | liberty-1 → 5.0.0 |
Fix proposed to branch: master /review. openstack. org/183901
Review: https:/