Actions
Bug #39091
closedStructured APT migration rake task not marked as applied if there are no deb repos during upgrade
Difficulty:
trivial
Triaged:
Yes
Pull request:
Description
lib/katello/tasks/upgrades/4.19/enable_structured_apt_for_deb.rake is run as part of upgrades via foreman-rake upgrade:run
However, if there are no deb repos, we exit the rake task early using exit, and the last_run_time is not set in the upgrade_tasks table.
This means post upgrade checks complain that there are pending upgrade tasks, which they determine using:
SELECT name FROM upgrade_tasks WHERE last_run_time IS NULL;
We need to use "next" instead of "exit"!
Updated by The Foreman Bot 5 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/11646 added
Updated by Quirin Pamp 5 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|14735e4390199cd7f99841a93a2f96d89dbeeb45.
Actions