Actions
Bug #25634
closedupgrade-mongo-storage-engine is not restoring database
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Description
- the sed command does not do anything:
hooks/pre/31-mongo_storage_engine.rb: Kafo::Helpers.execute("sed -i -e 's/run the installer with --upgrade-mongo-storage to upgrade to wiredTiger./Do not remove'/g #{hiera_file}") - tail -n 2 /etc/foreman-installer/custom-hiera.yaml
- Added by foreman-installer during upgrade, run the installer with --upgrade-mongo-storage to upgrade to WiredTiger.
mongodb::server::storage_engine: 'wiredTiger'
Mongo database is empty after upgrade.
- mongo
show dbs
local 0.078GB
pulp_database 1.953GB
- satellite-installer --upgrade-mongo-storage-engine
...
Installing Done [100%]
Success! * Satellite is running at https://.....redhat.com- To install an additional Capsule on separate machine continue by running:
capsule-certs-generate --foreman-proxy-fqdn "$CAPSULE" --certs-tar "/root/$CAPSULE-certs.tar"
- To upgrade an existing 6.4 Capsule to 6.5:
Please see official documentation for steps and parameters to use when upgrading a 6.4 Capsule to 6.5.
The full log is at /var/log/foreman-installer/satellite.log
- To install an additional Capsule on separate machine continue by running:
- mongo
show dbs
admin 0.000GB
local 0.000GB
pulp_database 0.000GB
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello-installer/pull/725 added
Updated by Chris Roberts about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello-installer|8879ed3d08f9673112a96e364a7ac5f188a495c7.
Actions