Update installer upgrade process to include resolving data integrity issues.
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:
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:
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
fixes #18405 - modify upgrade to include tasks to fix mismatches
There exist several rake tasks in katello to resolve data integrity
issues (or mismatches) between it and the backend services
(pulp and candlepin). This commit adds those steps to the installer
upgrade process so that the issues can be addressed automatically
versus the current behavior which may result in a failed upgrade
and then a need to run them manually.
Note: this is primarily for differences related to repository
and consumer resources.
The commit also includes an option (--disable-resolve-mismatches)
to run the upgrade without making any changes. It will still
run the tasks and report the changes that it would have made.
#7 Updated by Brad Buckingham over 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-installer|009c33d62593f343948f01dc803641387a1fd79f.