Project

General

Profile

Bug #12520

DisownForemanTemplates migration fails when Foreman and Katello migrations not interleaved

Added by Ondřej Pražák over 3 years ago. Updated 9 months ago.

Status:
Closed
Priority:
High
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When running all Foreman migrations and then all Katello migrations, DisownForemanTemplates fails on 'PG::UndefinedTable', because config_templates table was renamed to templates. See the failed CI job for further details:
http://ci.theforeman.org/job/test_plugin_matrix/640/database=postgresql,label=fast,ruby=1.9.3/console

Associated revisions

Revision 122627eb (diff)
Added by Ondřej Pražák over 3 years ago

Fixes #12520 - Checking whether we have 'templates' or 'config_templates' table

Revision 89fd15a5
Added by Stephen Benjamin over 3 years ago

Merge pull request #5604 from xprazak2/config-templates-disown

Fixes #12520 - Checking whether we have 'templates' or 'config_templa…

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5604 added

#2 Updated by Stephen Benjamin over 3 years ago

  • Priority changed from Normal to High
  • Legacy Backlogs Release (now unused) set to 70
  • Triaged changed from No to Yes

#3 Updated by Stephen Benjamin over 3 years ago

  • Category set to 83

#4 Updated by Ondřej Pražák over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF