Bug #18405
closedUpdate installer upgrade process to include resolving data integrity issues.
Description
There are a couple of issues that were worked on recently to provide/update rake tasks to allow users to resolve possible data integrity issues for repositories and hosts/consumers. They included:
http://projects.theforeman.org/issues/17351 - e.g. added 'correct_repositories', 'correct_puppet_environments'...etc
http://projects.theforeman.org/issues/15721 - updated 'clean_backend_objects'
This issue is to enhance the installer upgrade process to perform these rake tasks to resolve these issues, to avoid users having to debug and manually execute the tasks.
The intent/goal would be to add the following parameter to the installer:
--clean-mismatches
true/false: defaults to 'true'
purpose: if 'true', execute the above tasks during the upgrade process. if 'false', execute the tasks in a 'non-commit' mode to report to the user the changes that would have been made