Tried another install using the 2.1 build with puppet 3.7.3, but the
noticed after a run of yum install katello puppet was updated to 3.7.4.
Looking at the yum log I see:
Feb 04 18:01:17 Installed: pulp-puppet-plugins-2.5.1-1.el6.noarch
Feb 04 18:01:20 Installed:
ruby193-rubygem-katello-2.2.0-1.201501281236gitaa5aee8.el6.noarch
Feb 04 18:01:20 Installed: katello-2.1.0-1.201411061509gitb0b8f43.el6.noarch
Feb 04 18:01:22 Updated: glibc-2.12-1.149.el6_6.5.i686
Feb 04 18:13:00 Installed: gdb-7.2-75.el6.x86_64
Feb 04 18:13:00 Installed: elfutils-libs-0.158-3.2.el6.x86_64
Feb 04 18:13:00 Installed: elfutils-0.158-3.2.el6.x86_64
Feb 04 18:13:00 Installed: rpm-build-4.8.0-38.el6_6.x86_64
Feb 04 18:13:00 Installed: katello-certs-tools-2.0.1-1.el6.noarch
Feb 04 18:14:13 Updated: puppet-3.7.4-1.el6.noarch
Feb 04 18:14:14 Installed: puppet-server-3.7.4-1.el6.noarch
Feb 04 18:16:00 Installed: gutterball-1.0.8-1.el6.noarch
so katello 2.1 gets installed, then puppet gets updated followed by an
install of puppet server - any ideas ?
Second Q
Note: After installation of Katello, be sure to trust Katello’s CA
certificate on your system. This is required for the encrypted NoVNC
connections. You will find katello-default-ca.crt in the /pub directory of
your Katello server (e.g.
http://katello.example.com/pub/katello-default-ca.crt).
Does this mean after the yum install katello, but before running
katello-installer, as when I ran the installer I had lots of cert probs at
the end :
Debug: /Stage[main]/Apache/Concat[/etc/httpd/conf/: 517/583, 88%, 1.9/s,
elapsed: 00:05:34, ETA: 00:00:34
Notice: /Stage[main]/Foreman::Database/Foreman_con: 521/583, 89%, 2.1/s,
elapsed: 00:05:50, ETA: 00:00:29
Notice: /Stage[main]/Puppet::Server::Config/Exec[p: 521/583, 89%, 1.5/s,
elapsed: 00:05:58, ETA: 00:00:42
Notice: /Stage[main]/Foreman_proxy::Config/Foreman: 521/583, 89%, 1.5/s,
elapsed: 00:05:59, ETA: 00:00:42
/Stage[main]/Certs::Qpid/Exec[generate-nss-password]: Failed to call
refresh: openssl rand -base64 24 >
/etc/pki/katello/nssdb/nss_db_password-file returned 1 instead of one of [0]
/Stage[main]/Certs::Qpid/Exec[generate-nss-password]: openssl rand -base64
24 > /etc/pki/katello/nssdb/nss_db_password-file returned 1 instead of one
of [0]
Notice: /Stage[main]/Certs::Qpid/Exec[create-nss-d: 521/583, 89%, 1.5/s,
elapsed: 00:06:00, ETA: 00:00:42
/Stage[main]/Certs::Qpid/Exec[create-nss-db]: Failed to call refresh:
certutil -N -d '/etc/pki/katello/nssdb' -f
'/etc/pki/katello/nssdb/nss_db_password-file' returned 255 instead of one
of [0]
/Stage[main]/Certs::Qpid/Exec[create-nss-db]: certutil -N -d
'/etc/pki/katello/nssdb' -f '/etc/pki/katello/nssdb/nss_db_password-file'
returned 255 instead of one of [0]
/Stage[main]/Certs::Qpid/Exec[add-ca-cert-to-nss-db]: Failed to call
refresh: certutil -A -d '/etc/pki/katello/nssdb' -n 'ca' -t 'TCu,Cu,Tuw' -a
-i '/etc/pki/katello/certs/katello-default-ca.crt' returned 255 instead of
one of [0]
/Stage[main]/Certs::Qpid/Exec[add-ca-cert-to-nss-db]: certutil -A -d
'/etc/pki/katello/nssdb' -n 'ca' -t 'TCu,Cu,Tuw' -a -i
'/etc/pki/katello/certs/katello-default-ca.crt' returned 255 instead of one
of [0]
/Stage[main]/Certs::Qpid/Exec[add-broker-cert-to-nss-db]: Failed to call
refresh: certutil -A -d '/etc/pki/katello/nssdb' -n 'broker' -t ',' -a -i
'/etc/pki/katello/certs/ukdc1-tm-ops06.worldpaytd.local-qpid-broker.crt'
returned 255 instead of one of [0]
/Stage[main]/Certs::Qpid/Exec[add-broker-cert-to-nss-db]: certutil -A -d
'/etc/pki/katello/nssdb' -n 'broker' -t ',' -a -i
'/etc/pki/katello/certs/ukdc1-tm-ops06.worldpaytd.local-qpid-broker.crt'
returned 255 instead of one of [0]
/Stage[main]/Certs::Qpid/Exec[generate-pfx-for-nss-db]: Failed to call
refresh: openssl pkcs12 -in
/etc/pki/katello/certs/ukdc1-tm-ops06.worldpaytd.local-qpid-broker.crt
-inkey
/etc/pki/katello/private/ukdc1-tm-ops06.worldpaytd.local-qpid-broker.key
-export -out
'/etc/pki/katello/ukdc1-tm-ops06.worldpaytd.local-qpid-broker.pfx'
-password 'file:/etc/pki/katello/nssdb/nss_db_password-file' returned 1
instead of one of [0]
/Stage[main]/Certs::Qpid/Exec[generate-pfx-for-nss-db]: openssl pkcs12 -in
/etc/pki/katello/certs/ukdc1-tm-ops06.worldpaytd.local-qpid-broker.crt
-inkey
/etc/pki/katello/private/ukdc1-tm-ops06.worldpaytd.local-qpid-broker.key
-export -out
'/etc/pki/katello/ukdc1-tm-ops06.worldpaytd.local-qpid-broker.pfx'
-password 'file:/etc/pki/katello/nssdb/nss_db_password-file' returned 1
instead of one of [0]
Warning: /Stage[main]/Certs::Gutterball/Certs::Ssl: 521/583, 89%, 1.5/s,
elapsed: 00:06:02, ETA: 00:00:42
/Stage[main]/Certs::Qpid/Exec[add-private-key-to-nss-db]: Failed to call
refresh: pk12util -i
'/etc/pki/katello/ukdc1-tm-ops06.worldpaytd.local-qpid-broker.pfx' -d
'/etc/pki/katello/nssdb' -w '/etc/pki/katello/nssdb/nss_db_password-file'
-k '/etc/pki/katello/nssdb/nss_db_password-file' returned 255 instead of
one of [0]
/Stage[main]/Certs::Qpid/Exec[add-private-key-to-nss-db]: pk12util -i
'/etc/pki/katello/ukdc1-tm-ops06.worldpaytd.local-qpid-broker.pfx' -d
'/etc/pki/katello/nssdb' -w '/etc/pki/katello/nssdb/nss_db_password-file'
-k '/etc/pki/katello/nssdb/nss_db_password-file' returned 255 instead of
one of [0]
Notice: /Stage[main]/Pulp::Config/File[/etc/pki/pu: 521/583, 89%, 1.4/s,
elapsed: 00:06:03, ETA: 00:00:45
Warning: /Stage[main]/Foreman::Plugin::Tasks/Servi: 521/583, 89%, 1.4/s,
elapsed: 00:06:04, ETA: 00:00:45
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[ukdc1-tm-ops06.worldpaytd.local]:
Failed to call refresh: Could not load data from
https://ukdc1-tm-ops06.worldpaytd.local
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[ukdc1-tm-ops06.worldpaytd.local]:
Could not load data from https://ukdc1-tm-ops06.worldpaytd.local
Done : 583/583, 100%, 2.5/s,
elapsed: 00:06:12
Done : 583/583, 100%, 2.5/s,
elapsed: 00:06:12
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/katello-installer/katello-installer.log
Mark
···
On the web install page it says:
On Tuesday, February 3, 2015 at 3:10:04 PM UTC, Mark White wrote:
Hi
I am completely new to katello, and am trying to install it on OEL 6.6 but
keeping hitting problems… can some one please suggest how I can find what
is going wring, this being the second install.
With my latest install in /var/log/katello-installer.log I see:
[ INFO 2015-02-03 13:02:55 main]
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:309:in run' [ INFO 2015-02-03 13:02:55 main] /opt/puppet/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:69:in
execute’
[ INFO 2015-02-03 13:02:55 main] /usr/local/bin/puppet:4
[ INFO 2015-02-03 13:02:55 main] undefined method `<<’ for {}:Hash on node
ukdc1-tm-ops04.worldpaytd.local
[ INFO 2015-02-03 13:02:55 main] Puppet has finished, bye!
[ INFO 2015-02-03 13:02:55 main] Executing hooks in group post
[DEBUG 2015-02-03 13:02:55 main] Hook
/usr/share/katello-installer/hooks/post/30-upgrade.rb returned nil
[DEBUG 2015-02-03 13:02:55 main] Hook
/usr/share/katello-installer/hooks/post/10-post_install.rb returned nil
[ INFO 2015-02-03 13:02:55 main] All hooks in group post finished
[DEBUG 2015-02-03 13:02:55 main] Exit with status code: 1 (signal was 1)
[DEBUG 2015-02-03 13:02:55 main] Cleaning
/etc/katello-installer/d20150203-10561-1ihdw0h
[DEBUG 2015-02-03 13:02:55 main] Cleaning /tmp/default_values.yaml
I also see that the foreman service does not start, and if I try to start
it manually I get:
]#Starting foreman:
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/lib/katello/configuration/loader.rb:123:in
config_file_path': no config file found, candidates: /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/config/katello.yml /usr/share/foreman/config/settings.plugins.d/katello.yaml /etc/katello/katello.yml (RuntimeError) from /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/lib/katello/configuration/loader.rb:46:in
block in config_data’
from
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/lib/katello/configuration/loader.rb:44:in
tap' from /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/lib/katello/configuration/loader.rb:44:in
config_data’
from
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/lib/katello/configuration/loader.rb:113:in
`load_config_file’
Is the second error because puppet did not configure the services
correctly ?
I found this old link which which is one of the closest I can find
http://projects.puppetlabs.com/issues/7422
I also found https://bugzilla.redhat.com/show_bug.cgi?id=1122623 which I
thought might be relevant as the server I am installing had had been
configured using puppet. I removed the old ssl directory however it does
not appear to have helped
any help appreciated.