Actions
Bug #23547
closedNo services found matching parameters while checking connection to the Mongo DB
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Version :
Satellite 6.4
rh-mongodb34-3.0-14.el7.x86_64
Steps:
1. ./bin/foreman-maintain service stop
2. ./bin/foreman-maintain backup online /tmp/
-------------------------------------------------------------------------------- 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 -------------------------------------------------------------------------------- Rerunning the check after fix procedure Make sure Mongo DB is up: \ Checking connection to the Mongo DB [FAIL]
E, [2018-05-09 02:33:01-0400 #117470] ERROR -- : No services found matching your parameters (RuntimeError) /root/foreman_maintain/definitions/features/service.rb:44:in `filtered_services' /root/foreman_maintain/definitions/procedures/service/base.rb:18:in `run_service_action' /root/foreman_maintain/definitions/procedures/service/start.rb:11:in `run' /root/foreman_maintain/lib/foreman_maintain/executable.rb:139:in `__run__' /root/foreman_maintain/lib/foreman_maintain/runner/execution.rb:83:in `block (2 levels) in run' /root/foreman_maintain/lib/foreman_maintain/runner/execution.rb:107:in `capture_errors' /root/foreman_maintain/lib/foreman_maintain/runner/execution.rb:82:in `block in run' /root/foreman_maintain/lib/foreman_maintain/runner/execution.rb:101:in `with_metadata_calculation' /root/foreman_maintain/lib/foreman_maintain/runner/execution.rb:81:in `run' /root/foreman_maintain/lib/foreman_maintain/runner.rb:116:in `run_step' /root/foreman_maintain/lib/foreman_maintain/runner.rb:105:in `run_steps' /root/foreman_maintain/lib/foreman_maintain/runner.rb:98:in `execute_scenario_steps' /root/foreman_maintain/lib/foreman_maintain/runner.rb:51:in `run_scenario' /root/foreman_maintain/lib/foreman_maintain/runner.rb:94:in `block in execute_scenario_steps' /root/foreman_maintain/lib/foreman_maintain/runner.rb:94:in `each' /root/foreman_maintain/lib/foreman_maintain/runner.rb:94:in `execute_scenario_steps' /root/foreman_maintain/lib/foreman_maintain/runner.rb:51:in `run_scenario' /root/foreman_maintain/lib/foreman_maintain/runner.rb:32:in `block in run' /root/foreman_maintain/lib/foreman_maintain/runner.rb:31:in `each' /root/foreman_maintain/lib/foreman_maintain/runner.rb:31:in `run' /root/foreman_maintain/lib/foreman_maintain/cli/base.rb:47:in `run_scenario' /root/foreman_maintain/lib/foreman_maintain/cli/backup_command.rb:25:in `perform_backup' /root/foreman_maintain/lib/foreman_maintain/cli/backup_command.rb:111:in `execute' /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' /usr/share/gems/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute' /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' /usr/share/gems/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute' /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' /root/foreman_maintain/lib/foreman_maintain/cli.rb:27:in `run' /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run' ./bin/foreman-maintain:12:in `<main>' I, [2018-05-09 02:33:01-0400 #117470] INFO -- : --- Execution step 'Start applicable services' finished --- I, [2018-05-09 02:33:01-0400 #117470] INFO -- : --- Execution step 'Make sure Mongo DB is up' started --- D, [2018-05-09 02:33:01-0400 #117470] DEBUG -- : Running command mongo --host localhost --port 27017 --eval 'ping:1' pulp_database with stdin nil D, [2018-05-09 02:33:01-0400 #117470] DEBUG -- : output of the command: sh: mongo: command not found
Actions