Project

General

Profile

Actions

Bug #15039

closed

migrate_foreman error upgrading from 6.1 to 6.2 -> error: already initialized constant Katello::WhitelistConstraint::PATHS

Added by Brad Buckingham almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Upgrades
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1335699
Description of problem:

Attempting to upgrade to an early version of Satellite 6.2 Beta (internal build) from 6.1 is resulting in an error during foreman_migrate.

Version-Release number of selected component (if applicable):

Satellite 6.2 Snap 11

How reproducible:

Always

Steps to Reproduce:
1. install Satellite 6.1
2. update packages to Satellite 6.2
3. patch system to include fixes for bug 1334961 & bug 1335675
4. satellite-installer --scenario satellite --upgrade --force

Actual results:

  1. foreman-installer --upgrade
    Upgrading...
    Upgrade Step: stop_services...
    Upgrade Step: start_databases...
    Upgrade Step: update_http_conf...
    Upgrade Step: migrate_pulp...
    Upgrade Step: start_httpd...
    Upgrade Step: migrate_candlepin...
    Upgrade Step: migrate_foreman...
    Upgrade step migrate_foreman failed. Check logs for more information.

Expected results:

No error during the migrate_foreman step.

Additional info:

Note: see attached log for complete installer run.

In the /var/log/foreman-installer/satellite.log, the following is observed:

...[snip]...

[ INFO 2016-05-12 21:38:23 main] Upgrade Step: migrate_foreman...
[ERROR 2016-05-12 21:39:04 main] /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.28/config/routes/overrides.rb:3: warning: already initialized constant Katello::WhitelistConstraint::PATHS
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.28/config/routes/overrides.rb:3: warning: previous definition of PATHS was here

...[snip]...

Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Brad Buckingham
  • Pull request https://github.com/Katello/katello/pull/6046 added
Actions #2

Updated by Brad Buckingham almost 8 years ago

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

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 86
Actions

Also available in: Atom PDF