Bug #25336
closedWhile upgrading satellite from 6.3->6.4, satellite-installer does not perform remove_legacy_mongo step in some situations which results in error
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.