Bug #15039
closedmigrate_foreman error upgrading from 6.1 to 6.2 -> error: already initialized constant Katello::WhitelistConstraint::PATHS
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:
- 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]...
Updated by The Foreman Bot over 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
Updated by Brad Buckingham over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|d196861521ec421156b587cf8440fe69d2a19069.
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 86