Bug #35871
Statistics migrations are purged even if foreman_statistics is present
Difficulty:
Triaged:
No
Description
In #35347 the statistics and trends are purged, but if users have the foreman_statistics plugin installed they should remain.
Related issues
Associated revisions
History
#1
Updated by Ewoud Kohl van Wijngaarden about 1 month ago
- Related to Bug #35347: After removing the foreman_docker plugin, foreman log is flooded with huge tracebacks related to "unknown class DockerRegistry, ignoring" and "unknown class Container, ignoring" added
#2
Updated by The Foreman Bot about 1 month ago
- Assignee set to Ondřej Ezr
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9559 added
#3
Updated by The Foreman Bot about 1 month ago
- Fixed in Releases 3.6.0 added
#4
Updated by Ondřej Ezr about 1 month ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|34728aee6b213c68e56df7bb5e3b86ab194b2a33.
#5
Updated by The Foreman Bot about 1 month ago
- Pull request https://github.com/theforeman/foreman/pull/9563 added
#6
Updated by The Foreman Bot about 1 month ago
- Fixed in Releases 3.5.1 added
Fixes #35871 - purge trends only when statistics not installed
We instroduced migration to purge trends data in 34709a3781355b63e7afe2864e03c5f663479602.
It forgot to add condition to check if the statistics plugin is not installed.