Errors during install on RHEL 6.4

James,

I just responded to you on IRC, but I figured I'd post here as well so
others can benefit.

Do you have EPEL on the system? If not, that's required.

··· On Mon, May 6, 2013 at 9:40 PM, james labocki wrote:

Hello, I followed the quickstart guide located here:

Foreman :: Manual

Here is the output of the last command which throws some errors. This is
on RHEL 6.4 with optional channels enabled. Can someone please advise what
I should do to make this work? I was advised on the IRC channel not to use
Fedora17 and to use EL6 instead.

Thanks
James

ruby /usr/share/foreman-installer/generate_answers.rb

Welcome to the Foreman Installer!

This installer will help you set up Foreman and the associated extra
configuration necessary to get you up and running. There is an interactive
shell
which will ask you questions, but if you just want to get up and running
as fast
as possible, answer ‘yes’ to the all-in-one install at the beginning

Ready to start? (y/n)
y

Do you want to use the default all-in-one setup?
This will configure Foreman, Foreman-Proxy, Puppet (including a
puppetmaster),
several puppet environments, TFTP (for provisioning) and sudo (for puppet
certificate management) (y/n)

Please enter “yes” or “no”.

Do you want to use the default all-in-one setup?
This will configure Foreman, Foreman-Proxy, Puppet (including a
puppetmaster),
several puppet environments, TFTP (for provisioning) and sudo (for puppet
certificate management) (y/n)
y

Do you want to run Puppet now with these settings? (y/n)

Please enter “yes” or “no”.

Do you want to run Puppet now with these settings? (y/n)
y

info: Applying configuration version '1367890417’
notice:
/Stage[main]/Foreman::Install/Foreman::Install::Repos[foreman]/Yumrepo[foreman]/descr:
descr changed ‘foreman’ to 'Foreman stable repository’
err: /Stage[main]/Foreman::Install/Package[foreman-sqlite3]/ensure: change
from absent to present failed: Execution of ‘/usr/bin/yum -d 0 -e 0 -y
install foreman-sqlite’ returned 1: Error: Package:
rubygem-mail-2.3.3-2.el6.noarch (foreman)
Requires: rubygem-treetop < 1.5
Error: Package: rubygem-erubis-2.6.6-1.el6.noarch (foreman)
Requires: rubygem-abstract >= 1.0.0
Error: Package: rubygem-mail-2.3.3-2.el6.noarch (foreman)
Requires: rubygem-treetop >= 1.4.8
Error: Package: foreman-1.1stable-3.el6.noarch (foreman)
Requires: rubygem(uuidtools)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

notice: /Stage[main]/Foreman::Install/Package[foreman]: Dependency
Package[foreman-sqlite3] has failures: true
warning: /Stage[main]/Foreman::Install/Package[foreman]: Skipping because
of failed dependencies
notice: /File[/etc/sysconfig/foreman]: Dependency Package[foreman-sqlite3]
has failures: true
warning: /File[/etc/sysconfig/foreman]: Skipping because of failed
dependencies
notice: /Stage[main]/Foreman::Config/User[foreman]: Dependency
Package[foreman-sqlite3] has failures: true
warning: /Stage[main]/Foreman::Config/User[foreman]: Skipping because of
failed dependencies
notice: /Stage[main]/Foreman::Config/Cron[expire_old_reports]: Dependency
Package[foreman-sqlite3] has failures: true
warning: /Stage[main]/Foreman::Config/Cron[expire_old_reports]: Skipping
because of failed dependencies
notice: /Stage[main]/Foreman::Config/Cron[clear_session_table]: Dependency
Package[foreman-sqlite3] has failures: true
warning: /Stage[main]/Foreman::Config/Cron[clear_session_table]: Skipping
because of failed dependencies
notice: /File[/usr/share/foreman/config/environment.rb]: Dependency
Package[foreman-sqlite3] has failures: true
warning: /File[/usr/share/foreman/config/environment.rb]: Skipping because
of failed dependencies
notice: /File[/etc/foreman/settings.yaml]: Dependency
Package[foreman-sqlite3] has failures: true
warning: /File[/etc/foreman/settings.yaml]: Skipping because of failed
dependencies
notice: /Stage[main]/Foreman::Config/Cron[daily summary]: Dependency
Package[foreman-sqlite3] has failures: true
warning: /Stage[main]/Foreman::Config/Cron[daily summary]: Skipping
because of failed dependencies
notice: /File[/usr/share/foreman]: Dependency Package[foreman-sqlite3] has
failures: true
warning: /File[/usr/share/foreman]: Skipping because of failed dependencies
notice: /File[/usr/share/foreman/config.ru]: Dependency
Package[foreman-sqlite3] has failures: true
warning: /File[/usr/share/foreman/config.ru]: Skipping because of failed
dependencies
notice: /Stage[main]/Foreman::Config::Passenger/Exec[restart_foreman]:
Dependency Package[foreman-sqlite3] has failures: true
warning: /Stage[main]/Foreman::Config::Passenger/Exec[restart_foreman]:
Skipping because of failed dependencies
notice: /Stage[main]/Foreman::Service/Service[foreman]: Dependency
Package[foreman-sqlite3] has failures: true
warning: /Stage[main]/Foreman::Service/Service[foreman]: Skipping because
of failed dependencies
notice: /Stage[main]/Xinetd::Install/Package[xinetd]/ensure: created
info: create new repo foreman_proxy in file
/etc/yum.repos.d/foreman_proxy.repo
notice:
/Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy]/descr:
descr changed ‘’ to 'Foreman stable repository’
notice:
/Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy]/baseurl:
baseurl changed ‘’ to '
http://yum.theforeman.org/releases/latest/el6/$basearch
notice:
/Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy]/enabled:
enabled changed ‘’ to '1’
notice:
/Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy]/gpgcheck:
gpgcheck changed ‘’ to '0’
info: changing mode of /etc/yum.repos.d/foreman_proxy.repo from 600 to 644
err: /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]/ensure:
change from absent to present failed: Execution of ‘/usr/bin/yum -d 0 -e 0
-y install foreman-proxy’ returned 1: Error: Package:
foreman-proxy-1.1stable-1.el6.noarch (foreman)
Requires: rubygem(sinatra)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

notice: /Stage[main]/Tftp::Install/Package[tftp-server]/ensure: created
notice: /Stage[main]/Tftp::Install/Package[syslinux]/ensure: created
info: FileBucket adding {md5}678efd3887a91cd4e0955aa6c8b12257
info: /File[/etc/xinetd.d/tftp]: Filebucketed /etc/xinetd.d/tftp to puppet
with sum 678efd3887a91cd4e0955aa6c8b12257
notice: /File[/etc/xinetd.d/tftp]/content: content changed
’{md5}678efd3887a91cd4e0955aa6c8b12257’ to
’{md5}048ae40e806063b3c64d145ce6b89e8f’
info: /File[/etc/xinetd.d/tftp]: Scheduling refresh of Service[xinetd]
notice: /File[/var/lib/tftpboot//chain.c32]/ensure: defined content as
’{md5}a068c7ca7159b708c34a1389c5e75ba0’
notice: /File[/var/lib/tftpboot//menu.c32]/ensure: defined content as
’{md5}73308b382ddddfb212de61895648d765’
notice: /File[/var/lib/tftpboot//pxelinux.0]/ensure: defined content as
’{md5}869e4a77638e71c9d7042a55fcfb9992’
notice: /File[/etc/tftpd.map]/ensure: defined content as
’{md5}e25509e3ae895f72cf1671b614890797’
info: /File[/etc/tftpd.map]: Scheduling refresh of Service[xinetd]
notice: /Stage[main]/Xinetd::Service/Service[xinetd]/ensure: ensure
changed ‘stopped’ to ‘running’
notice: /Stage[main]/Xinetd::Service/Service[xinetd]: Triggered ‘refresh’
from 2 events
notice:
/Stage[main]/Puppet::Server::Install/Package[puppet-server]/ensure: created
notice:
/Stage[main]/Foreman::Config::Enc/File[/var/lib/puppet/yaml]/ensure: created
notice: /File[/var/lib/puppet/yaml/foreman]/ensure: created
notice:
/File[/usr/lib/ruby/site_ruby/1.8/puppet/reports/foreman.rb]/ensure:
defined content as ‘{md5}a079b927041fe0dbf104cce38a3bf52a’
notice: /File[/etc/puppet/node.rb]/ensure: defined content as
’{md5}99f8af7b57d4a28cff063552f60dc956’
info: FileBucket adding {md5}58e2f9765e2994db8e8ab19a3513356e
info: /File[/etc/puppet/puppet.conf]: Filebucketed /etc/puppet/puppet.conf
to puppet with sum 58e2f9765e2994db8e8ab19a3513356e
notice: /File[/etc/puppet/puppet.conf]/content: content changed
’{md5}58e2f9765e2994db8e8ab19a3513356e’ to
’{md5}729ef37a02156c69ff63493a50362822’
notice:
/Stage[main]/Puppet::Server::Passenger/Exec[generate_ca_cert]/returns:
executed successfully
info: /Stage[main]/Puppet::Server::Passenger/Exec[generate_ca_cert]:
Scheduling refresh of Service[httpd]
notice: /File[/etc/puppet/rack]/ensure: created
notice: /File[/etc/puppet/rack/public]/ensure: created
notice: /File[/etc/puppet/rack/config.ru]/ensure: defined content as
’{md5}e0f1c0292e8108cfed8f13f2b44acc7b’
info: /File[/etc/puppet/rack/config.ru]: Scheduling refresh of
Exec[restart_puppet]
notice: /File[/etc/puppet/rack/tmp]/ensure: created
notice: /Stage[main]/Apache::Install/Package[httpd]/ensure: created
info: /Stage[main]/Apache::Install/Package[httpd]: Scheduling refresh of
Service[httpd]
notice: /Stage[main]/Apache::Ssl/Package[mod_ssl]/ensure: created
info: /Stage[main]/Apache::Ssl/Package[mod_ssl]: Scheduling refresh of
Exec[reload-apache]
info: /Stage[main]/Apache::Ssl/Package[mod_ssl]: Scheduling refresh of
Service[httpd]
err: /Stage[main]/Passenger::Install::Redhat/Package[passenger]/ensure:
change from absent to present failed: Execution of ‘/usr/bin/yum -d 0 -e 0
-y install mod_passenger’ returned 1: Error: Nothing to do

notice: /Stage[main]/Apache::Service/Service[httpd]: Dependency
Package[passenger] has failures: true
warning: /Stage[main]/Apache::Service/Service[httpd]: Skipping because of
failed dependencies
notice: /Stage[main]/Apache::Service/Service[httpd]: Triggered ‘refresh’
from 3 events
notice: /File[foreman_vhost]: Dependency Package[foreman-sqlite3] has
failures: true
warning: /File[foreman_vhost]: Skipping because of failed dependencies
notice: /File[puppet_vhost]/ensure: defined content as
’{md5}70542b3c8af93aa1d5992e46f0f04db5’
info: /File[puppet_vhost]: Scheduling refresh of Exec[reload-apache]
notice: /File[/var/cache/mod_ssl/scache]/ensure: created
info: /File[/var/cache/mod_ssl/scache]: Scheduling refresh of
Exec[reload-apache]
notice: /Stage[main]/Apache::Service/Exec[reload-apache]: Dependency
Package[foreman-sqlite3] has failures: true
notice: /Stage[main]/Apache::Service/Exec[reload-apache]: Dependency
Package[passenger] has failures: true
warning: /Stage[main]/Apache::Service/Exec[reload-apache]: Skipping
because of failed dependencies
notice: /Stage[main]/Apache::Service/Exec[reload-apache]: Triggered
’refresh’ from 3 events
notice: /File[/var/www]/owner: owner changed ‘root’ to ‘apache’
notice: /File[/var/www]/group: group changed ‘root’ to ‘apache’
notice: /Stage[main]/Puppet::Server::Passenger/Exec[restart_puppet]:
Triggered ‘refresh’ from 1 events
notice: /File[/etc/puppet/manifests/site.pp]/ensure: created
info: /File[/etc/puppet/manifests/site.pp]: Scheduling refresh of
Service[puppetmaster]
notice: /File[/etc/puppet/modules]/ensure: created
info: /File[/etc/puppet/modules]: Scheduling refresh of
Service[puppetmaster]
notice: /File[/etc/puppet/modules/production]/ensure: created
info: /File[/etc/puppet/modules/production]: Scheduling refresh of
Service[puppetmaster]
notice: /File[/etc/puppet/modules/development]/ensure: created
info: /File[/etc/puppet/modules/development]: Scheduling refresh of
Service[puppetmaster]
notice: /File[/etc/puppet/modules/common]/ensure: created
info: /File[/etc/puppet/modules/common]: Scheduling refresh of
Service[puppetmaster]
notice: /File[/var/lib/puppet/reports]/ensure: created
info: /File[/var/lib/puppet/reports]: Scheduling refresh of
Service[puppetmaster]
notice:
/File[/var/lib/puppet/ssl/private_keys/rhc-foreman.rhc.lab.eng.bos.redhat.com.pem]/seluser:
seluser changed ‘unconfined_u’ to ‘system_u’
info:
/File[/var/lib/puppet/ssl/private_keys/rhc-foreman.rhc.lab.eng.bos.redhat.com.pem]:
Scheduling refresh of Service[puppetmaster]
notice: /File[/etc/sudoers.d]: Dependency Package[foreman-proxy] has
failures: true
warning: /File[/etc/sudoers.d]: Skipping because of failed dependencies
notice: /File[/etc/sudoers.d/foreman-proxy]: Dependency
Package[foreman-proxy] has failures: true
warning: /File[/etc/sudoers.d/foreman-proxy]: Skipping because of failed
dependencies
notice: /Stage[main]/Puppet::Server::Service/Service[puppetmaster]:
Triggered ‘refresh’ from 7 events
notice: /Stage[main]/Foreman_proxy::Config/User[foreman-proxy]: Dependency
Package[foreman-proxy] has failures: true
warning: /Stage[main]/Foreman_proxy::Config/User[foreman-proxy]: Skipping
because of failed dependencies
notice: /File[/var/lib/tftpboot//pxelinux.cfg]: Dependency
Package[foreman-proxy] has failures: true
warning: /File[/var/lib/tftpboot//pxelinux.cfg]: Skipping because of
failed dependencies
notice: /File[/etc/puppet/autosign.conf]: Dependency
Package[foreman-proxy] has failures: true
warning: /File[/etc/puppet/autosign.conf]: Skipping because of failed
dependencies
notice: /File[/etc/foreman-proxy/settings.yml]: Dependency
Package[foreman-proxy] has failures: true
warning: /File[/etc/foreman-proxy/settings.yml]: Skipping because of
failed dependencies
notice: /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]:
Dependency Package[foreman-proxy] has failures: true
warning: /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]:
Skipping because of failed dependencies
notice: /File[/var/lib/tftpboot//boot]: Dependency Package[foreman-proxy]
has failures: true
warning: /File[/var/lib/tftpboot//boot]: Skipping because of failed
dependencies
info: FileBucket adding {md5}9fd7d4c6d42368cde52f47a51e61e559
info: /File[/etc/puppet/auth.conf]: Filebucketed /etc/puppet/auth.conf to
puppet with sum 9fd7d4c6d42368cde52f47a51e61e559
notice: /File[/etc/puppet/auth.conf]/content: content changed
’{md5}9fd7d4c6d42368cde52f47a51e61e559’ to
’{md5}7cc5b0639433cb46e83beebaddedd8ad’
info: Creating state file /var/lib/puppet/state/state.yaml
notice: Finished catalog run in 74.33 seconds

Okay, you’re all set! Check
/usr/share/foreman-installer/foreman_installer/answers.yaml for your
config.

You can apply it in the future as root with:
echo include foreman_installer | puppet apply --modulepath
/usr/share/foreman-installer -v
[root@rhc-foreman ~]#


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.