1. I perform a *new install* of Satellite 6.14.0. The upgrade tasks never run, since it's a new install. Default product enablement is disabled. 2. I then upgrade to 6.14.1 or 6.15. The upgrade task's `last_run_time` is `nil`, so it will be included in `UpgradeTask.needing_run` and override all of my custom repos to Enabled. This is not desired or appropriate. https://community.theforeman.org/t/katello-4-9-custom-products-changes-with-sca/33763/10
Created from redmine issue https://projects.theforeman.org/issues/36540
Upstream bug assigned to None
Upstream bug assigned to paji
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36540 has been resolved.
VERIFIED. @Satellite 6.14.0 Snap10 rubygem-katello-4.9.0.9-1.el8sat.noarch using the manual reproducer: 1) Install 6.14.0 Snap 8 2) Create custom product with custom repo 3) Check AK overrides: Disabled 4) Upgrade using 6.14.z scenario (illusory upgrade - no new content present, still migrations are being run) 5) Check AK overrides: Enabled (overridden) >>> reproduced - content overrides were changed 6) Remove changed content overrides to get back to default AK overrides: Disabled 7) Enable Snap 10 repos and upgrade using 6.14.z scenario (Snap8 -> Snap11) 8) Check AK overrides: Disabled >>> when upgrading across 6.14.z no further content overrides migration is performed