Activity log for bug #1419239

Date Who What changed Old value New value Message
2015-02-07 08:06:26 ZhiQiang Fan bug added bug
2015-02-07 08:06:34 ZhiQiang Fan ceilometer: assignee ZhiQiang Fan (aji-zqfan)
2015-02-07 08:07:17 ZhiQiang Fan description no matter what ttl is, the code: https://github.com/openstack/ceilometer/blob/926f781096dcfa77a8f63e403c0959de20e182aa/ceilometer/storage/impl_sqlalchemy.py#L362 for table in [models.MetaText, models.MetaBigInt, models.MetaFloat, models.MetaBool]: (session.query(table) .join(sample_subq, sample_subq.c.id == table.id) .delete()) will clean the four table, then metadata query for resource api will no longer works sample id is message_id, metada id is resource id, compare them is non sense we should clean metadata for those cleaned resource, not samples no matter what ttl is, the code: https://github.com/openstack/ceilometer/blob/926f781096dcfa77a8f63e403c0959de20e182aa/ceilometer/storage/impl_sqlalchemy.py#L362             for table in [models.MetaText, models.MetaBigInt,                           models.MetaFloat, models.MetaBool]:                 (session.query(table)                  .join(sample_subq, sample_subq.c.id == table.id)                  .delete()) will clean all the data in the four tables, then metadata query for resource api will no longer works sample id is message_id, metada id is resource id, compare them is non sense we should clean metadata for those cleaned resource, not samples
2015-02-07 14:21:50 ZhiQiang Fan description no matter what ttl is, the code: https://github.com/openstack/ceilometer/blob/926f781096dcfa77a8f63e403c0959de20e182aa/ceilometer/storage/impl_sqlalchemy.py#L362             for table in [models.MetaText, models.MetaBigInt,                           models.MetaFloat, models.MetaBool]:                 (session.query(table)                  .join(sample_subq, sample_subq.c.id == table.id)                  .delete()) will clean all the data in the four tables, then metadata query for resource api will no longer works sample id is message_id, metada id is resource id, compare them is non sense we should clean metadata for those cleaned resource, not samples no matter what ttl is, the code: https://github.com/openstack/ceilometer/blob/926f781096dcfa77a8f63e403c0959de20e182aa/ceilometer/storage/impl_sqlalchemy.py#L362             for table in [models.MetaText, models.MetaBigInt,                           models.MetaFloat, models.MetaBool]:                 (session.query(table)                  .join(sample_subq, sample_subq.c.id == table.id)                  .delete()) 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
2015-02-09 01:15:15 OpenStack Infra ceilometer: status New In Progress
2015-02-09 22:16:32 Karolyn Chambers tags juno-backport-potential
2015-02-10 09:20:01 OpenStack Infra ceilometer: status In Progress Fix Committed
2015-02-10 11:02:52 Eoghan Glynn ceilometer: milestone kilo-3
2015-02-10 11:02:57 Eoghan Glynn ceilometer: importance Undecided High
2015-03-19 13:49:57 Thierry Carrez ceilometer: status Fix Committed Fix Released
2015-04-30 09:01:07 Thierry Carrez ceilometer: milestone kilo-3 2015.1.0
2015-05-14 22:47:53 OpenStack Infra tags juno-backport-potential in-stable-juno juno-backport-potential
2015-11-14 10:31:24 Alan Pevec nominated for series ceilometer/juno
2015-11-14 10:31:24 Alan Pevec bug task added ceilometer/juno
2015-11-14 15:03:48 Alan Pevec ceilometer/juno: status New Fix Committed
2015-11-14 15:03:48 Alan Pevec ceilometer/juno: milestone 2014.2.4
2015-11-19 21:39:42 Alan Pevec ceilometer/juno: status Fix Committed Fix Released