Project

General

Profile

Bug #35871

Statistics migrations are purged even if foreman_statistics is present

Added by Ewoud Kohl van Wijngaarden about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

In #35347 the statistics and trends are purged, but if users have the foreman_statistics plugin installed they should remain.


Related issues

Related to Foreman - 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"Closed

Associated revisions

Revision 34728aee (diff)
Added by Ondřej Ezr about 1 month ago

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.

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

#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

Also available in: Atom PDF