satellite-maintain tool fails to get status of external MongoDB
Issue
- After upgrading the satellite-maintain tool to the latest version (rubygem-foreman_maintain-0.7.10-1.el7sat.noarch), it fails to query the service for external MongoDB. This can lead to a failure during upgrades, which are attempting to assess the current state of the remote database.
Starting the following service(s): [FAIL]
undefined method `enabled?' for RemoteDB(rh-mongodb34-mongod [5]):ForemanMaintain::Utils::Service::RemoteDB
Environment
- Red Hat Satellite 6.9.4 and earlier
- Using External MongoDB database
- rubygem-foreman_maintain-0.7.10-1.el7sat.noarch
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.