Actions
Bug #24366
closedmongo_db_up check cannot start mongo34
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Description
mongo_db_up check hard-codes 'mongod' service name
definitions/checks/mongo/db_up.rb
def next_steps
if feature(:mongo).local?
[Procedures::Service::Start.new(:only => 'mongod')]
else
[] # there is nothing we can do for remote db
end
so mongodb34 cannot be started by that
# foreman-maintain health check --label mongo-db-up
Running ForemanMaintain::Scenario::FilteredScenario
================================================================================
Make sure Mongo DB is up:
\ Checking connection to the Mongo DB [FAIL]
Mongo DB is not responding. It needs to be up and running to perform the following steps.
--------------------------------------------------------------------------------
Continue with step [Start applicable services]?, [y(yes), n(no), q(quit)] y
Start applicable services:
Starting the following service(s):
[FAIL]
No services found matching your parameters
Actions