Project

General

Profile

Actions

Bug #27424

closed

Seed the DB when upgrading Katello

Added by Jonathon Turel over 4 years ago. Updated over 4 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 #1

Updated by The Foreman Bot over 4 years ago

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

Updated by Jonathon Turel over 4 years ago

  • Bugzilla link set to 1732921
Actions #3

Updated by Justin Sherrill over 4 years ago

  • Project changed from Packaging to Installer
Actions #4

Updated by The Foreman Bot over 4 years ago

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

Updated by Jonathon Turel over 4 years 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)
Actions #6

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 1.23.0 added
Actions #7

Updated by Jonathon Turel over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF