Project

General

Profile

Bug #27424

Seed the DB when upgrading Katello

Added by Jonathon Turel 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Since we've moved to using the UpgradeTask model1 of Foreman via seeds2 we need to be absolutely certain that db:seed runs during installation and upgrades so that all of the upgrade tasks are executed. We can't rely on the potential side-effect of other actions during installation or upgrade to do the seed for us.

[1] https://github.com/theforeman/foreman/pull/5780/files
[2] https://github.com/Katello/katello/blob/master/db/seeds.d/111-upgrade_tasks.rb

Associated revisions

Revision 126419a9 (diff)
Added by Jonathon Turel 3 months ago

Fixes #27424 - Ensure DB is seeded

History

#1 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-packaging/pull/3937 added

#2 Updated by Jonathon Turel 3 months ago

  • Bugzilla link set to 1732921

#3 Updated by Justin Sherrill 3 months ago

  • Project changed from Packaging to Installer

#4 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/375 added

#5 Updated by Jonathon Turel 3 months ago

  • Subject changed from rubygem-katello should trigger db:seed to Seed the DB when upgrading Katello
  • Pull request deleted (https://github.com/theforeman/foreman-packaging/pull/3937)

#6 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 1.23.0 added

#7 Updated by Jonathon Turel 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF