InstanceGroup metadata "metering.groupname" not enough discriminating

Bug #1215840 reported by Swann Croiset
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Swann Croiset

Bug Description

InstanceGroup metadata metering.groupname not enough discriminating
if we have 2 stacks with the same AS resource name, Ceilometer evaluate all instance's samples of all groups .. which isn't not the behavior expected

Swann Croiset (swann-w)
Changed in heat:
assignee: nobody → Swann Croiset (swann-w)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/43698

Steven Hardy (shardy)
Changed in heat:
milestone: none → havana-3
Steven Hardy (shardy)
Changed in heat:
status: New → Triaged
status: Triaged → In Progress
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-3 → havana-rc1
Revision history for this message
Steven Hardy (shardy) wrote :

Ceilometer bug raised after discussion with ceilometer folks (eglynn and dhellmann):

https://bugs.launchpad.net/ceilometer/+bug/1221736

When this is fixed I think we should be able to pass an ARN or "-" delimted identifier, depending on which version of the AWS docs we decide to believe

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/43698
Committed: http://github.com/openstack/heat/commit/01fe09007222a3a701896a514a5de4dba7383e36
Submitter: Jenkins
Branch: master

commit 01fe09007222a3a701896a514a5de4dba7383e36
Author: Swann Croiset <email address hidden>
Date: Fri Sep 6 14:48:41 2013 +0200

    Use physical_resource_name as Ref for Instance/AS Group

    This allows to distinguish groups by stack when using resource
    OS::Metering::Alarm with the rule:
    matching_metadata: {
        'metadata.user_metadata.groupname': { 'Ref': 'WebServerASGroup'}}

    And add test for AutoScalingGroup Tags

    fixe bug #1215840

    Change-Id: If3de5c4abddcfb49f711db223a0c1a8c70f3c15a

Revision history for this message
Christopher Armstrong (radix) wrote :

should this be marked as fixed?

Swann Croiset (swann-w)
Changed in heat:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote :

Merged fixes are set FixCommitted. They go to FixReleased when included in a tagged release

Changed in heat:
status: Fix Released → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-rc1 → 2013.2
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.