Project

General

Profile

Actions

Bug #10643

closed

Multiple errors during installation of Katello 2.2 on RHEL 6.6

Added by Michal Kopecny over 9 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

First of all I am not a native speaker.
Clean Katello 2.2 installation (or --reset) on RHEL 6.6 ends up with following errors:

/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.prg.local]: Failed to call refresh: Could not load data from https://katello.prg.local
 /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.prg.local]: Could not load data from https://katello.prg.local
Preparing installation Done
  Something went wrong! Check the log for ERROR-level output
  The full log is at /var/log/katello-installer/katello-installer.log

Not sure how serious it is - maybe just some services aren't running yet ?
telnet localhost 443
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
output of netstat -ntulp | grep 443 is empty

Output from log:

[DEBUG 2015-05-28 15:28:42 main]  Executing 'qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' add exchange topic event --durable'
[ WARN 2015-05-28 15:28:43 main]  /Stage[main]/Certs::Candlepin/Exec[create candlepin qpid exchange]/returns: Failed: ConnectError: [Errno 111] Connection refused
[ERROR 2015-05-28 15:28:43 main]  qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' add exchange topic event --durable returned 1 instead of one of [0]
[ INFO 2015-05-28 15:28:43 main] /usr/lib/ruby/site_ruby/1.8/puppet/util/errors.rb:106:in `fail'
[ INFO 2015-05-28 15:28:43 main] /usr/lib/ruby/site_ruby/1.8/puppet/type/exec.rb:160:in `sync'
--
[ INFO 2015-05-28 15:28:43 main] /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:92:in `execute'
[ INFO 2015-05-28 15:28:43 main] /usr/bin/puppet:8
[ERROR 2015-05-28 15:28:43 main]  /Stage[main]/Certs::Candlepin/Exec[create candlepin qpid exchange]/returns: change from notrun to 0 failed: qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' add exchange topic event --durable returned 1 instead of one of [0]
[DEBUG 2015-05-28 15:28:43 main]  Exec[create candlepin qpid exchange](provider=posix): Executing check 'qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' exchanges event'
[DEBUG 2015-05-28 15:28:43 main]  Executing 'qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' exchanges event'
--
[DEBUG 2015-05-28 15:28:43 main]  Executing 'qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' add exchange topic event --durable'
[ WARN 2015-05-28 15:28:43 main]  /Stage[main]/Certs::Candlepin/Exec[create candlepin qpid exchange]/returns: Failed: ConnectError: [Errno 111] Connection refused
[ERROR 2015-05-28 15:28:43 main]  /Stage[main]/Certs::Candlepin/Exec[create candlepin qpid exchange]: Failed to call refresh: qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' add exchange topic event --durable returned 1 instead of one of [0]
[ERROR 2015-05-28 15:28:43 main]  /Stage[main]/Certs::Candlepin/Exec[create candlepin qpid exchange]: qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' add exchange topic event --durable returned 1 instead of one of [0]
[ INFO 2015-05-28 15:28:43 main] /usr/lib/ruby/site_ruby/1.8/puppet/util/errors.rb:106:in `fail'
[ INFO 2015-05-28 15:28:43 main] /usr/lib/ruby/site_ruby/1.8/puppet/type/exec.rb:160:in `sync'
--
[ WARN 2015-05-28 15:39:25 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.prg.local]: Dependency Exec[create candlepin qpid exchange] has failures: true
[ WARN 2015-05-28 15:39:25 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.prg.local]: Skipping because of failed dependencies
[ERROR 2015-05-28 15:39:25 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.prg.local]: Failed to call refresh: Could not load data from https://katello.prg.local
[ INFO 2015-05-28 15:39:25 main]  - is your server down?
[ INFO 2015-05-28 15:39:25 main]  - was rake apipie:cache run when using apipie cache? (typical production settings)
[ERROR 2015-05-28 15:39:26 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.prg.local]: Could not load data from https://katello.prg.local
[ INFO 2015-05-28 15:39:26 main]  - is your server down?
[ INFO 2015-05-28 15:39:26 main]  - was rake apipie:cache run when using apipie cache? (typical production settings)
--
[ INFO 2015-05-28 15:39:32 main] All hooks in group post finished
[DEBUG 2015-05-28 15:39:32 main] Exit with status code: 6 (signal was 6)
[ERROR 2015-05-28 15:39:32 main] Repeating errors encountered during run:
[ERROR 2015-05-28 15:39:32 main]  qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' add exchange topic event --durable returned 1 instead of one of [0]
[ERROR 2015-05-28 15:39:32 main]  /Stage[main]/Certs::Candlepin/Exec[create candlepin qpid exchange]/returns: change from notrun to 0 failed: qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' add exchange topic event --durable returned 1 instead of one of [0]
[ERROR 2015-05-28 15:39:32 main]  /Stage[main]/Certs::Candlepin/Exec[create candlepin qpid exchange]: Failed to call refresh: qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' add exchange topic event --durable returned 1 instead of one of [0]
[ERROR 2015-05-28 15:39:32 main]  /Stage[main]/Certs::Candlepin/Exec[create candlepin qpid exchange]: qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://katello.prg.local:5671' add exchange topic event --durable returned 1 instead of one of [0]
[ERROR 2015-05-28 15:39:32 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.prg.local]: Failed to call refresh: Could not load data from https://katello.prg.local
[ERROR 2015-05-28 15:39:32 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.prg.local]: Could not load data from https://katello.prg.local
[DEBUG 2015-05-28 15:39:32 main] Cleaning /etc/katello-installer/d20150528-1989-qu5jq7
[DEBUG 2015-05-28 15:39:32 main] Cleaning /tmp/default_values.yaml

There are also some sqlite3 errors in other logs in /var/log/foreman directory:

Tasks: TOP => db:abort_if_pending_migrations => environment
(See full trace by running task with --trace)
rake aborted!
Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (Could not find sqlite3 (~> 1.3.5) ...

Addition info:

LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.6 (Santiago)
Release: 6.6
Codename: Santiago

172.18.43.135 katello.prg.local katello is in /etc/hosts

Thank you and best regards,
Michal


Files

production.log.gz production.log.gz 199 KB Michal Kopecny, 05/29/2015 10:48 AM
production_reset.log.gz production_reset.log.gz 99.8 KB Michal Kopecny, 05/29/2015 10:50 AM
katello-installer.log katello-installer.log 1.38 MB Michal Kopecny, 05/29/2015 10:50 AM
katello-installer_reset.log katello-installer_reset.log 1 MB Michal Kopecny, 05/29/2015 10:50 AM
Actions

Also available in: Atom PDF