Project

General

Profile

Actions

Bug #27424

closed

Seed the DB when upgrading Katello

Added by Jonathon Turel about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Difficulty:
Triaged:
No
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

Actions

Also available in: Atom PDF