sql clear_expired_metering_data breaks resource metadata
Bug #1419239 reported by
ZhiQiang Fan
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
High
|
ZhiQiang Fan | ||
Juno |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
no matter what ttl is, the code:
for table in [models.MetaText, models.MetaBigInt,
will clean all the data in the four tables, then metadata query for resource api will no longer works
sample id is primary index generated by sql, metada id is resource internal_id, compare them is non sense
we should clean metadata for those cleaned resource, not samples
Changed in ceilometer: | |
assignee: | nobody → ZhiQiang Fan (aji-zqfan) |
description: | updated |
description: | updated |
tags: | added: juno-backport-potential |
Changed in ceilometer: | |
milestone: | none → kilo-3 |
importance: | Undecided → High |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | kilo-3 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/153902
Review: https:/