incorrect definition of attributes in event model

Bug #1333399 reported by gordon chung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Low
gordon chung

Bug Description

the event model in sql backend incorrectly defines its backref attributes. it also references an undefined attribute in trait_type model

see: https://github.com/openstack/ceilometer/blob/master/ceilometer/storage/sqlalchemy/models.py#L376

trait_type does not have name attribute but has desc attr

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

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

Changed in ceilometer:
assignee: nobody → gordon chung (chungg)
status: Triaged → In Progress
Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: none → juno-2
Changed in ceilometer:
assignee: gordon chung (chungg) → Eoghan Glynn (eglynn)
Eoghan Glynn (eglynn)
Changed in ceilometer:
assignee: Eoghan Glynn (eglynn) → nobody
assignee: nobody → gordon chung (chungg)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/101988
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=aef1ed8b79904dacdd9364c7cf8654a9c71a86c5
Submitter: Jenkins
Branch: master

commit aef1ed8b79904dacdd9364c7cf8654a9c71a86c5
Author: Gordon Chung <email address hidden>
Date: Mon Jun 23 15:52:13 2014 -0400

    clean up event model

    - fix defined relationships so they are properly backref
    - fix trait_type __repr__ function to reference correct variable

    Change-Id: Id606025ca3e91c6e9b7da597f8cc3181caf4d4b7
    Closes-Bug: #1333399

Changed in ceilometer:
status: In Progress → Fix Committed
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: juno-2 → 2014.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.