Red Hat Satellite 6 installation failed with the error "Puppet User resource 'tomcat' failed"
Issue
-
During the installation of
Red Hat Satellite 6
, the satellite-installer command failed with the following error:# satellite-installer --scenario satellite --foreman-initial-organization "RedHat" --foreman-initial-location "India" --foreman-initial-admin-username admin --foreman-initial-admin-password *** ... [ERROR ] [configure] Could not set gid on user[tomcat]: Execution of '/sbin/usermod -g 91 tomcat' returned 6: usermod: user 'tomcat' does not exist in /etc/passwd [ERROR ] [configure] /Stage[main]/Candlepin::Config/User[tomcat]/gid: change from 1002 to 'tomcat' failed: Could not set gid on user[tomcat]: Execution of '/sbin/usermod -g 91 tomcat' returned 6: usermod: user 'tomcat' does not exist in /etc/passwd [...] Error 1: Puppet User resource 'tomcat' failed. Logs: /Stage[main]/Candlepin::Config/User[tomcat] Adding autorequire relationship with Group[tomcat] Starting to evaluate the resource (214 of XYZ) Evaluated in 0.03 seconds /Stage[main]/Candlepin::Config/User[tomcat]/gid change from 1002 to 'tomcat' failed: Could not set gid on user[tomcat]: Execution of '/sbin/usermod -g 91 tomcat' returned 6: usermod: user 'tomcat' does not exist in /etc/passwd
Environment
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.