Satellite 6 capsule install fails with Could not find group foreman errors
Issue
Capsule install fails with the following errors:
Could not find group foreman
/Stage[main]/Certs::Config/File[/etc/pki/katello]/group: change from root to foreman failed: Could not find group foreman
Execution of '/usr/bin/yum -d 0 -e 0 -y list elasticsearch' returned 1: Error: No matching Packages to list
/Stage[main]/Elasticsearch::Install/Package[elasticsearch]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list elasticsearch' returned 1: Error: No matching Packages to list
Execution of '/usr/bin/yum -d 0 -e 0 -y list foreman-postgresql' returned 1: Error: No matching Packages to list
/Stage[main]/Foreman::Install/Package[foreman-postgresql]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list foreman-postgresql' returned 1: Error: No matching Packages to list
Could not set groups on user[apache]: Execution of '/usr/sbin/usermod -G foreman apache' returned 6: usermod: group 'foreman' does not exist
/Stage[main]/Apache/User[apache]/groups: change from to foreman failed: Could not set groups on user[apache]: Execution of '/usr/sbin/usermod -G foreman apache' returned 6: usermod: group 'foreman' does not exist
Execution of '/usr/bin/yum -d 0 -e 0 -y list candlepin-tomcat6' returned 1: Error: No matching Packages to list
/Stage[main]/Candlepin::Install/Package[candlepin-tomcat6]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list candlepin-tomcat6' returned 1: Error: No matching Packages to list
Execution of '/usr/bin/yum -d 0 -e 0 -y list candlepin' returned 1: Error: No matching Packages to list
/Stage[main]/Candlepin::Install/Package[candlepin]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list candlepin' returned 1: Error: No matching Packages to list
Environment
- Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.