project-koku / masu

This is a READ ONLY repo. See https://github.com/project-koku/koku for current masu implementation
GNU Affero General Public License v3.0
5 stars 6 forks source link

Summary data is not removed when expired data is removed. #274

Closed dccurtis closed 5 years ago

dccurtis commented 5 years ago

AWS and OCP summary and aggregate table data is not removed when expired report data is removed. The impact of this is that report data will still be visible on the Koku API even after a provider has been removed or the data has exceeded masu's report expiration date.

dccurtis commented 5 years ago

This is generally working as expected. The next time the data is summarized the expired data will be removed. If we want to remove the data immediately we should trigger a re-summarization when masu removes expired report data.

adberglund commented 5 years ago
lcouzens commented 5 years ago

It would be awesome to have some traction on this, we have a number of automation tests that require a clean database each time to prevent failures. Though we can use the re-summarization endpoint that has its own issues when trying to run it to clean up all provider data, I think its some issue with needing to have at least one provider to be able to re-summarize data.

lcouzens commented 5 years ago

Verfied Commit: 27cf79ead6b17456269a62ee7a502a3725924e54