Project

General

Profile

Bug #25336

While upgrading satellite from 6.3->6.4, satellite-installer does not perform remove_legacy_mongo step in some situations which results in error

Added by Chris Roberts over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Installer
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
While upgrading satellite server from 6.3 -> 6.4, satellite-installer does not perform remove_legacy_mongo step in some situations which results in an error:

Installing Done [100%] [...........................................................]
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/foreman-installer/satellite.log
Upgrade failed during the installation phase. Fix the error and re-run the upgrade.
Error: rh-mongodb34-mongodb-syspaths conflicts with mongodb-2.6.11-2.el7sat.x86_64
Error: rh-mongodb34-mongodb-server-syspaths conflicts with mongodb-server-2.6.11-2.el7sat.x86_64
You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

yum install y -q rh-mongodb34-syspaths failed! Check the output for error!
[FAIL] Failed executing LANG=en_US.utf-8 satellite-installer --upgrade, exit status 6
-------------------------------------------------------------------------------

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

How reproducible:
Not always

Steps to Reproduce:
1. Enable Satellite 6.4 repositories
2. Update packages to 6.4 and then run the upgrade using foreman-maintain # foreman-maintain upgrade run --target-version 6.4
3.

Actual results:
Upgrade failed with error mentioned above

Expected results:
The upgrade should complete successfully

Additional info:

From the foreman-maintain log, it is observed that in some situations "Upgrade Step: remove_legacy_mongo... " is not executed which is causing issue while installation of rh-mongodb34-mongodb-syspaths package.

Associated revisions

Revision 6c6fd50a (diff)
Added by Chris Roberts over 1 year ago

Fixes #25336 - Move remove MongoDB from post to pre hook.

History

#1 Updated by The Foreman Bot over 1 year ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/707 added

#2 Updated by Chris Roberts over 1 year ago

  • Status changed from Ready For Testing to Closed

#3 Updated by Eric Helms over 1 year ago

  • Target version changed from Katello 3.9.1 to Katello 3.9.0

#4 Updated by Jonathon Turel over 1 year ago

  • Triaged changed from No to Yes

Also available in: Atom PDF