Problem:
I am trying to install Foreman 2.0 and following steps mentioned in the foreman installation notes specific to CentOS 7 however it fails with below error. Any idea what is going on here and how can I fix it?
# foreman-installer
Running Start Services
================================================================================
Check if command is run as root user: [OK]
--------------------------------------------------------------------------------
Start applicable services:
Starting the following service(s):
postgresql
| All services started [OK]
--------------------------------------------------------------------------------
foreman-maintain service start --only=postgresql finished successfully!
could not change directory to "/root"
Running Stop Services
================================================================================
Check if command is run as root user: [OK]
--------------------------------------------------------------------------------
Stop applicable services:
Stopping the following service(s): [FAIL]
No services found matching your parameters
--------------------------------------------------------------------------------
Scenario [Stop Services] failed.
The following steps ended up in failing state:
[service-stop]
Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="service-stop"
foreman-maintain service stop failed! Check the output for error!
Expected outcome:
Foreman 2.0 should be able to install on Cent 7.
Foreman and Proxy versions:
Foreman master only version 2.0
Foreman and Proxy plugin versions:
Distribution and version:
CenOS 7U7 + Foreman 2.0
Other relevant data: