Foreman-installer failures

Problem:

Expected outcome:

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Other relevant data:

[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]

It looks like an empty template. Could you fill it in?

Could not set home on user[foreman]: Execution of ā€˜/sbin/usermod -d /usr/share/foreman foremanā€™ returned 6: usermod: user ā€˜foremanā€™ does not exist in /etc/passwd
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/execution.rb:285:in `executeā€™

there is already a user called foreman-proxy in /etc/passwd. Which prohibits creating user foremanā€¦

Any idea how to proceed?

what are you trying to run exactly there? ā€œforeman-installerā€ to deploy foreman or to deploy foreman-smart-proxy?
Or are you just trying to set a user called foreman?

In your case that means someone either created that user or foreman already been installed there.

I am all set. It was clashing with existing user. Thanks.

1 Like