get_resources doesn't guarantee latest representation

Bug #1229395 reported by Thomas Maddox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Invalid
Undecided
Unassigned
Grizzly
Fix Released
Medium
Thomas Maddox

Bug Description

get_resources method doesn't guarantee latest resource representation from the samples. This bug is specifically for stable/grizzly (as a backport), and was already fixed in Havana's master branch: https://bugs.launchpad.net/bugs/1208547.

Tests and failures using stable/grizzly devstack: http://paste.openstack.org/show/47395/

Revision history for this message
Thomas Maddox (thomas-maddox) wrote :

stable/grizzly

tags: added: potential-grizzly-backport
tags: added: grizzly-backport-potential
removed: potential-grizzly-backport
Julien Danjou (jdanjou)
Changed in ceilometer:
status: New → Triaged
importance: Undecided → Medium
Changed in ceilometer:
assignee: nobody → Thomas Maddox (thomas-maddox)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/48039

Changed in ceilometer:
status: Triaged → In Progress
Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: none → 2013.1.4
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (stable/grizzly)

Reviewed: https://review.openstack.org/48039
Committed: http://github.com/openstack/ceilometer/commit/e3d74663191ea497ed526a19f1de94427be42d21
Submitter: Jenkins
Branch: stable/grizzly

commit e3d74663191ea497ed526a19f1de94427be42d21
Author: Thomas Maddox <email address hidden>
Date: Tue Sep 24 12:44:57 2013 +0000

    Fix get_resources timestamp ordering for SQLAlchemy

    This patch ports over the ResourceTestOrdering tests from
    Ceilometer Master (Havana-3 RC-1) and applies them to the
    SQLAlchemy driver for stable/grizzly along with a fix.
    Partial cherry-pick from
    change ID Ib09e21cbc7bbd45a6ecc321403e9947df837e14b.

    Change-Id: If2d4299d17afc2d0d29433fcdccdfd5d85498cef
    Partial-Bug: #1229395

tags: added: in-stable-grizzly
Revision history for this message
Alan Pevec (apevec) wrote :

This should have been just a Grizzly task in bug 1208547
but now that it was used in the commit message, let's leave it as is.

Changed in ceilometer:
milestone: 2013.1.4 → none
assignee: Thomas Maddox (thomas-maddox) → nobody
importance: Medium → Undecided
status: In Progress → Invalid
tags: removed: grizzly-backport-potential in-stable-grizzly
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.