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