Bug #26737
closedvar/tmp/mongodb_engine_upgrade is not removed after successful MongoDB storage engine upgrade
Description
Cloned from BZ:
Description of problem:
Satellite 6.5 allows to move existing MongoDB installs from MMAPv1 to wiredTiger. To do so, the installer has a --upgrade-mongo-storage-engine flag, which will dump the existing MMAPv1 DB, re-configure MongoDB to use wireTiger and re-import the dump.
To do so, it will create a dump at /var/tmp/mongodb_engine_upgrade, but it does not remove the dump after the installer completed.
It also creates a backup (like the on-disk data), and that IS removed on success.
Version-Release number of selected component (if applicable):
6.5.0 Snap 26
How reproducible:
100%
Steps to Reproduce:
1. Install Satellite 6.3 (the last that defaulted to MMAPv1)
2. Upgrade to 6.4, 6.5
3. Upgrade storage engine with --upgrade-mongo-storage-engine
Actual results:
/var/tmp/mongodb_engine_upgrade is present after successful upgrade
Expected results:
/var/tmp/mongodb_engine_upgrade absent
Updated by The Foreman Bot over 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman-installer/pull/350 added
Updated by Chris Roberts over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset installer|4cb1b4eb41b83ffddb0b9e3ead7588bf847bd47f.
Updated by Ewoud Kohl van Wijngaarden over 5 years ago
- Triaged changed from No to Yes
- Fixed in Releases 1.23.0 added