Project

General

Profile

Actions

Bug #5226

closed

Error in katello-installer starting mongod service for the first time.

Added by Devan Goodwin over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

[ERROR 2014-04-14 11:41:25 verbose] /Stage[main]/Mongodb::Server::Service/Service[mongodb]/ensure: change from stopped to running failed: Could not start Service[mongodb]: Execution of '/usr/share/
katello-installer/modules/service_wait/bin/service-wait mongod start' returned 7:
[ERROR 2014-04-14 12:01:28 verbose] /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Failed to call refresh: Could not start Service[mongodb]: Execution of '/usr/share/katello-installer/modu
les/service_wait/bin/service-wait mongod start' returned 7:
[ERROR 2014-04-14 12:01:28 verbose] /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Could not start Service[mongodb]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/ser
vice-wait mongod start' returned 7:

Caused by the fact that mongodb client is not installed at this point, but the service wait script is attempting to use it to check if the service is up yet and redirecting all output to /dev/null. Lacking a successful return code the wait script just keeps trying until it reaches the max and times out even though mongodb server is up and running fine. Later in install process the client is installed, thus a subsequent run of the installer will succeed fine.

Actions

Also available in: Atom PDF