Project

General

Profile

Actions

Bug #10643

closed

Multiple errors during installation of Katello 2.2 on RHEL 6.6

Added by Michal Kopecny almost 9 years ago. Updated over 5 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 #1

Updated by Eric Helms almost 9 years ago

  • Status changed from New to Need more information
  • Triaged changed from No to Yes

Michal,

Can you try running 'katello-installer --reset' and see if you get the same failure during qpid configuration? If you do, can you check the status of the qpid service? Can you try starting it manually and see if it fails for any reason?

Actions #2

Updated by Michal Kopecny almost 9 years ago

Hello Eric,

It really seems that service qpidd is not listening on port 5671

[root@katello ~]# netstat -natulp | grep qpidd
tcp        0      0 :::5672                     :::*                        LISTEN      1386/qpidd

yet in config file "/etc/qpid/qpidd.conf" this port is configured

[root@katello ~]# grep 5671 /etc/qpid/qpidd.conf
ssl-port=5671

When I manually restart this service I see that port is used:

[root@katello ~]# service qpidd restart
Stopping Qpid AMQP daemon:                                 [  OK  ]
Starting Qpid AMQP daemon:                                 [  OK  ]
[root@katello ~]# netstat -natulp | grep qpidd
tcp        0      0 0.0.0.0:5671                0.0.0.0:*                   LISTEN      24716/qpidd
tcp        0      0 :::5671                     :::*                        LISTEN      24716/qpidd
tcp        0      0 :::5672                     :::*                        LISTEN      24716/qpidd

So it seems service gets configured during install but not reloaded/restarted properly.
But when I run katello-installer --reset I still get:

 /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.prg.local]: Could not evaluate: 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

In log there is:

[DEBUG 2015-05-29 11:02:44 main]  /Stage[main]/Certs::Foreman/Exec[foreman_certs_config]: The container Class[Certs::Foreman] will propagate my refresh event
[DEBUG 2015-05-29 11:02:44 main]  Class[Certs::Foreman]: The container Stage[main] will propagate my refresh event
[ERROR 2015-05-29 11:03:15 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.prg.local]: Could not evaluate: Could not load data from https://katello.prg.local
[ INFO 2015-05-29 11:03:15 main]  - is your server down?
[ INFO 2015-05-29 11:03:15 main]  - was rake apipie:cache run when using apipie cache? (typical production settings)
--
[ INFO 2015-05-29 11:03:19 main] All hooks in group post finished
[DEBUG 2015-05-29 11:03:19 main] Exit with status code: 6 (signal was 6)
[ERROR 2015-05-29 11:03:19 main] Repeating errors encountered during run:
[ERROR 2015-05-29 11:03:19 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello.prg.local]: Could not evaluate: Could not load data from https://katello.prg.local
[DEBUG 2015-05-29 11:03:19 main] Cleaning /etc/katello-installer/d20150529-29650-1mqq08a
[DEBUG 2015-05-29 11:03:19 main] Cleaning /tmp/default_values.yaml

There is httpd listening on 443 thought:

[root@katello katello-installer]# netstat -natulp | grep 443
tcp        0      0 172.18.43.135:41994         172.18.43.135:443           TIME_WAIT   -
tcp        0      0 :::443                      :::*                        LISTEN      544/httpd

Thank you and best regards,
Michal

Actions #3

Updated by Eric Helms almost 9 years ago

Can you check the end of /var/log/foreman/production.log for any potential errors or tracebacks you see? Specifically looking at when that registration call is made.

Actions #4

Updated by Michal Kopecny almost 9 years ago

Hello Eric,

This is a shortened /var/log/foreman/production.log from clean installation:
(at this stage there really is no service listening on https port)

2015-05-29 13:30:34 [I] Connecting to database specified by database.yml
2015-05-29 13:37:05 [I] Connecting to database specified by database.yml
2015-05-29 13:37:16 [W] PGError: ERROR:  relation "users" does not exist
LINE 1: SELECT id FROM "users" 
                       ^
: SELECT id FROM "users" 
2015-05-29 13:37:18 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 13:37:18 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 13:37:24 [I] Database was not initialized yet: skipping smart proxy katello extension
2015-05-29 13:37:32 [W] No such file or directory - "/usr/share/foreman/tmp/sockets/dynflow_socket" (Errno::ENOENT)
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `initialize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `new'
--
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2015-05-29 13:37:51 [I] Connecting to database specified by database.yml
2015-05-29 13:37:59 [W] PGError: ERROR:  relation "users" does not exist
LINE 1: SELECT id FROM "users" 
                       ^
: SELECT id FROM "users" 
2015-05-29 13:38:01 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 13:38:01 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 13:38:06 [I] Database was not initialized yet: skipping smart proxy katello extension
2015-05-29 13:38:13 [W] No such file or directory - "/usr/share/foreman/tmp/sockets/dynflow_socket" (Errno::ENOENT)
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `initialize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `new'
--
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2015-05-29 13:38:31 [I] Connecting to database specified by database.yml
2015-05-29 13:38:39 [W] PGError: ERROR:  relation "users" does not exist
LINE 1: SELECT id FROM "users" 
                       ^
: SELECT id FROM "users" 
2015-05-29 13:38:41 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 13:38:41 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 13:38:46 [I] Database was not initialized yet: skipping smart proxy katello extension
2015-05-29 13:38:53 [I] Clean start.
--
2015-05-29 13:39:02 [I] Migrating to RevertFaceNamesAndValuesToTextRecords (20110321070954)
2015-05-29 13:39:02 [I] Migrating to AddPriorityToParameter (20110327123639)
2015-05-29 13:39:02 [W] Scoped order and limit are ignored, it's forced to be batch order and batch size
2015-05-29 13:39:02 [I] Migrating to AddMediaPathToMedium (20110404150043)
2015-05-29 13:39:02 [I] Migrating to AddImageToHost (20110407091150)
--
2015-05-29 13:39:04 [I] Migrating to AddOkHostsBookMark (20120623002052)
2015-05-29 13:39:04 [I] Migrating to AddAuditableNameAndAssociatedNameToAudit (20120624081510)
2015-05-29 13:39:04 [W] Scoped order and limit are ignored, it's forced to be batch order and batch size
2015-05-29 13:39:04 [I] Migrating to AddOsFamilyToMedia (20120624093958)
2015-05-29 13:39:04 [I] Migrating to AddOsFamilyToPtable (20120624094034)
--
2015-05-29 13:39:22 [I] Migrating to CreateWizardStates (20141222113313)
2015-05-29 13:39:22 [I] Migrating to AddHostContentViewEnvironment (20141222151001)
2015-05-29 13:39:22 [W] Scoped order and limit are ignored, it's forced to be batch order and batch size
2015-05-29 13:39:22 [I] Migrating to AddDescriptionToTaxonomies (20141225073211)
2015-05-29 13:39:22 [I] Migrating to AddCapsuleIdToContainer (20150109012657)
--
2015-05-29 13:39:24 [I] Migrating to CopyUnmanagedHostsToInterfaces (20150508124600)
2015-05-29 13:39:24 [I] Migrating to AddUsergroupSyncToAuthSources (20150514121649)
2015-05-29 13:39:26 [W] Recreating the whole DB cache
2015-05-29 13:39:26 [I] shutting down Core ...
2015-05-29 13:39:26 [E] ... core terminated.
2015-05-29 13:39:39 [I] Connecting to database specified by database.yml
2015-05-29 13:39:51 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 13:39:51 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:00 [E] unknown klass , ignoring
2015-05-29 13:40:00 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:40:00 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:40:04 [W] No such file or directory - "/usr/share/foreman/tmp/sockets/dynflow_socket" (Errno::ENOENT)
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `initialize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `new'
--
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2015-05-29 13:41:06 [I] Connecting to database specified by database.yml
2015-05-29 13:41:18 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 13:41:19 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 13:41:31 [I] Clean start.
2015-05-29 13:41:37 [E] unknown klass , ignoring
2015-05-29 13:41:37 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:41:37 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:41:37 [E] unknown klass , ignoring
2015-05-29 13:41:37 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:41:37 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:41:37 [E] unknown klass , ignoring
2015-05-29 13:41:37 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:41:37 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
.
.
.
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:41:40 [E] unknown klass , ignoring
2015-05-29 13:41:40 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:41:40 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:41:40 [E] unknown klass , ignoring
2015-05-29 13:41:40 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:41:40 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 13:41:40 [E] unknown klass , ignoring
2015-05-29 13:41:40 [E] undefined method `constantize' for nil:NilClass
2015-05-29 13:41:40 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
[ERROR 2015-05-29 13:41:41 pulp_rest  #8803] RestClient.post "https://katello.prg.local/pulp/api/v2/users/", "{\"login\":\"admin\",\"name\":\"admin\",\"password\":\"SOFr3tQd2kjVAqLv\"}", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"OAuth oauth_body_hash=\"2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D\", oauth_consumer_key=\"katello\", oauth_nonce=\"oAt3U8JXbirtbSYuf3PokzavGmym0w34xNqaMtG25c\", oauth_signature=\"%2F5jn5G3%2F5L0iZZdfiz8xDp4739Q%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1432906901\", oauth_version=\"1.0\"", "Content-Length"=>"62", "accept"=>"application/json", "content_type"=>"application/json", "pulp-user"=>"admin" 
 |
2015-05-29 13:41:41 [E] Connection refused - connect(2) (Errno::ECONNREFUSED)
/opt/rh/ruby193/root/usr/share/ruby/net/http.rb:763:in `initialize'
/opt/rh/ruby193/root/usr/share/ruby/net/http.rb:763:in `open'
--
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2015-05-29 13:41:41 [I] shutting down Core ...
2015-05-29 13:41:41 [E] ... core terminated.
2015-05-29 13:41:54 [I] Connecting to database specified by database.yml
2015-05-29 13:42:06 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 13:42:06 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 13:42:18 [W] No such file or directory - "/usr/share/foreman/tmp/sockets/dynflow_socket" (Errno::ENOENT)
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `initialize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `new'
Actions #5

Updated by Michal Kopecny almost 9 years ago

This is shortened log from --reset action
(this time httpd listens on 443 - yet same error)

2015-05-29 14:06:13 [I] Connecting to database specified by database.yml
2015-05-29 14:07:37 [I] Connecting to database specified by database.yml
2015-05-29 14:07:45 [W] PGError: ERROR:  relation "users" does not exist
LINE 1: SELECT id FROM "users" 
                       ^
: SELECT id FROM "users" 
2015-05-29 14:07:47 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:07:47 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:07:52 [I] Database was not initialized yet: skipping smart proxy katello extension
2015-05-29 14:07:59 [W] No such file or directory - "/usr/share/foreman/tmp/sockets/dynflow_socket" (Errno::ENOENT)
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `initialize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `new'
--
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2015-05-29 14:08:17 [I] Connecting to database specified by database.yml
2015-05-29 14:08:25 [W] PGError: ERROR:  relation "users" does not exist
LINE 1: SELECT id FROM "users" 
                       ^
: SELECT id FROM "users" 
2015-05-29 14:08:27 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:08:27 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:08:32 [I] Database was not initialized yet: skipping smart proxy katello extension
2015-05-29 14:08:38 [W] No such file or directory - "/usr/share/foreman/tmp/sockets/dynflow_socket" (Errno::ENOENT)
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `initialize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `new'
--
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2015-05-29 14:08:56 [I] Connecting to database specified by database.yml
2015-05-29 14:09:04 [W] PGError: ERROR:  relation "users" does not exist
LINE 1: SELECT id FROM "users" 
                       ^
: SELECT id FROM "users" 
2015-05-29 14:09:06 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:09:06 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:09:11 [I] Database was not initialized yet: skipping smart proxy katello extension
2015-05-29 14:09:18 [W] No such file or directory - "/usr/share/foreman/tmp/sockets/dynflow_socket" (Errno::ENOENT)
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `initialize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `new'
--
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2015-05-29 14:09:40 [I] Connecting to database specified by database.yml
2015-05-29 14:09:50 [W] PGError: ERROR:  relation "users" does not exist
LINE 1: SELECT id FROM "users" 
                       ^
: SELECT id FROM "users" 
2015-05-29 14:09:52 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:09:52 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:09:57 [I] Database was not initialized yet: skipping smart proxy katello extension
2015-05-29 14:10:42 [I] Connecting to database specified by database.yml
2015-05-29 14:10:51 [W] PGError: ERROR:  relation "users" does not exist
LINE 1: SELECT id FROM "users" 
                       ^
: SELECT id FROM "users" 
2015-05-29 14:12:56 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:12:56 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:12:57 [I] Clean start.
2015-05-29 14:13:02 [I] Database was not initialized yet: skipping smart proxy katello extension
--
2015-05-29 14:13:06 [I] Migrating to RevertFaceNamesAndValuesToTextRecords (20110321070954)
2015-05-29 14:13:06 [I] Migrating to AddPriorityToParameter (20110327123639)
2015-05-29 14:13:06 [W] Scoped order and limit are ignored, it's forced to be batch order and batch size
2015-05-29 14:13:06 [I] Migrating to AddMediaPathToMedium (20110404150043)
2015-05-29 14:13:06 [I] Migrating to AddImageToHost (20110407091150)
--
2015-05-29 14:13:08 [I] Migrating to AddOkHostsBookMark (20120623002052)
2015-05-29 14:13:08 [I] Migrating to AddAuditableNameAndAssociatedNameToAudit (20120624081510)
2015-05-29 14:13:08 [W] Scoped order and limit are ignored, it's forced to be batch order and batch size
2015-05-29 14:13:08 [I] Migrating to AddOsFamilyToMedia (20120624093958)
2015-05-29 14:13:08 [I] Migrating to AddOsFamilyToPtable (20120624094034)
--
2015-05-29 14:13:25 [I] Migrating to CreateWizardStates (20141222113313)
2015-05-29 14:13:25 [I] Migrating to AddHostContentViewEnvironment (20141222151001)
2015-05-29 14:13:25 [W] Scoped order and limit are ignored, it's forced to be batch order and batch size
2015-05-29 14:13:25 [I] Migrating to CreateDiscoveryAttributeSets (20141223101707)
2015-05-29 14:13:25 [I] Migrating to FillDiscoveryAttributeSetsForExistingHosts (20141223142759)
--
2015-05-29 14:13:26 [I] Migrating to CopyUnmanagedHostsToInterfaces (20150508124600)
2015-05-29 14:13:26 [I] Migrating to AddUsergroupSyncToAuthSources (20150514121649)
2015-05-29 14:13:27 [W] Recreating the whole DB cache
2015-05-29 14:13:28 [I] shutting down Core ...
2015-05-29 14:13:28 [E] ... core terminated.
2015-05-29 14:13:41 [I] Connecting to database specified by database.yml
2015-05-29 14:13:54 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:13:54 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:14:03 [E] unknown klass , ignoring
2015-05-29 14:14:03 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:14:03 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
2015-05-29 14:14:03 [E] unknown klass , ignoring
2015-05-29 14:14:03 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:14:03 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
.
.
.
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:20:58 [E] unknown klass , ignoring
2015-05-29 14:20:58 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:20:58 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:20:58 [E] unknown klass , ignoring
2015-05-29 14:20:58 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:20:58 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:20:58 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:20:58 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:20:58 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:20:58 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:20:58 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:20:58 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:20:58 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:20:58 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:20:58 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:20:59 [E] unknown klass Katello::Product, ignoring
2015-05-29 14:20:59 [E] uninitialized constant ActiveModel::ForbiddenAttributesProtection
2015-05-29 14:20:59 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/models/katello/model.rb:15:in `<class:Model>'
--

2015-05-29 14:21:34 [I] Connecting to database specified by database.yml
2015-05-29 14:21:42 [W] Recreating the whole DB cache
2015-05-29 14:21:43 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:21:44 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:21:44 [E] unknown klass , ignoring
2015-05-29 14:21:44 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:21:44 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:21:48 [E] unknown klass , ignoring
2015-05-29 14:21:48 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:21:48 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:21:48 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:21:48 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:21:48 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:21:48 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:21:48 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:21:48 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:21:48 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:21:48 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:21:48 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:21:49 [E] unknown klass Katello::Product, ignoring
2015-05-29 14:21:49 [E] uninitialized constant ActiveModel::ForbiddenAttributesProtection
2015-05-29 14:21:49 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/models/katello/model.rb:15:in `<class:Model>'
--
.
.
.
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:23:31 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:23:31 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:23:31 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:23:31 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:23:31 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:23:31 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:23:31 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:23:31 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:23:31 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:23:31 [E] unknown klass Katello::Product, ignoring
2015-05-29 14:23:31 [E] uninitialized constant ActiveModel::ForbiddenAttributesProtection
2015-05-29 14:23:31 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/models/katello/model.rb:15:in `<class:Model>'
--

2015-05-29 14:23:35 [I] Connecting to database specified by database.yml
2015-05-29 14:23:48 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:23:48 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:24:02 [W] No such file or directory - "/usr/share/foreman/tmp/sockets/dynflow_socket" (Errno::ENOENT)
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `initialize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `new'
--
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2015-05-29 14:24:05 [I] Connecting to database specified by database.yml
2015-05-29 14:24:14 [W] Recreating the whole DB cache
2015-05-29 14:24:15 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:24:15 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:24:16 [E] unknown klass , ignoring
2015-05-29 14:24:16 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:24:16 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:24:16 [E] unknown klass , ignoring
2015-05-29 14:24:16 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:24:16 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
.
.
.
--
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:28:in `<main>'
2015-05-29 14:24:36 [E] unknown klass , ignoring
2015-05-29 14:24:36 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:24:36 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:28:in `<main>'
2015-05-29 14:24:37 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:24:37 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:24:37 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:28:in `<main>'
2015-05-29 14:24:37 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:24:37 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:24:37 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:28:in `<main>'
2015-05-29 14:24:37 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:24:37 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:24:37 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:28:in `<main>'
2015-05-29 14:24:37 [E] unknown klass Katello::Product, ignoring
2015-05-29 14:24:37 [E] uninitialized constant ActiveModel::ForbiddenAttributesProtection
2015-05-29 14:24:37 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/models/katello/model.rb:15:in `<class:Model>'
--
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:28:in `<main>'
2015-05-29 14:24:54 [I] Connecting to database specified by database.yml
2015-05-29 14:25:03 [W] Recreating the whole DB cache
2015-05-29 14:25:04 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:25:04 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:25:04 [E] unknown klass , ignoring
2015-05-29 14:25:04 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:25:04 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:25:04 [E] unknown klass , ignoring
2015-05-29 14:25:04 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:25:04 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:25:08 [E] unknown klass , ignoring
2015-05-29 14:25:08 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:25:08 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:25:08 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:25:08 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:25:08 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:25:08 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:25:08 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:25:08 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:25:08 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:25:08 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:25:08 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:25:09 [E] unknown klass Katello::Product, ignoring
2015-05-29 14:25:09 [E] uninitialized constant ActiveModel::ForbiddenAttributesProtection
2015-05-29 14:25:09 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/models/katello/model.rb:15:in `<class:Model>'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:26:48 [E] unknown klass , ignoring
2015-05-29 14:26:48 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:26:48 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:26:48 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:26:48 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:26:48 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:26:48 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:26:48 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:26:48 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:26:48 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:26:48 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:26:48 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:26:49 [E] unknown klass Katello::Product, ignoring
2015-05-29 14:26:49 [E] uninitialized constant ActiveModel::ForbiddenAttributesProtection
2015-05-29 14:26:49 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/models/katello/model.rb:15:in `<class:Model>'
--

2015-05-29 14:27:24 [I] Connecting to database specified by database.yml
2015-05-29 14:27:33 [W] Recreating the whole DB cache
2015-05-29 14:27:34 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:27:34 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:27:34 [E] unknown klass , ignoring
2015-05-29 14:27:34 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:27:34 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:30:14 [E] unknown klass Katello::Product, ignoring
2015-05-29 14:30:14 [E] uninitialized constant ActiveModel::ForbiddenAttributesProtection
2015-05-29 14:30:14 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/models/katello/model.rb:15:in `<class:Model>'
--
2015-05-29 14:30:18 [I] Connecting to database specified by database.yml
2015-05-29 14:30:20 [I] Connecting to database specified by database.yml
2015-05-29 14:30:31 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:30:31 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:30:33 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:30:34 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:30:47 [W] No such file or directory - "/usr/share/foreman/tmp/sockets/dynflow_socket" (Errno::ENOENT)
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `initialize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `new'
--
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2015-05-29 14:30:47 [I] Connecting to database specified by database.yml
2015-05-29 14:30:53 [W] No such file or directory - "/usr/share/foreman/tmp/sockets/dynflow_socket" (Errno::ENOENT)
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `initialize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.8/lib/dynflow/executors/remote_via_socket/core.rb:142:in `new'
--
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `call'
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2015-05-29 14:31:00 [W] Recreating the whole DB cache
2015-05-29 14:31:01 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-05-29 14:31:01 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-05-29 14:31:02 [E] unknown klass , ignoring
2015-05-29 14:31:02 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:31:02 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:31:02 [E] unknown klass , ignoring
2015-05-29 14:31:02 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:31:02 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:98:in `granular?'
--
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:40:09 [E] unknown klass , ignoring
2015-05-29 14:40:09 [E] undefined method `constantize' for nil:NilClass
2015-05-29 14:40:09 [E] /usr/share/foreman/app/models/filter.rb:65:in `get_resource_class'
/usr/share/foreman/app/models/filter.rb:91:in `resource_class'
/usr/share/foreman/app/models/filter.rb:7:in `validate'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:40:09 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:40:09 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:40:09 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:40:09 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:40:09 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:40:09 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:40:09 [E] unknown klass ExternalUsergroups, ignoring
2015-05-29 14:40:09 [E] uninitialized constant ExternalUsergroups
2015-05-29 14:40:09 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
--
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib/foreman_tasks/dynflow/daemon.rb:43:in `run_background'
/usr/bin/foreman-tasks:5:in `<main>'
2015-05-29 14:40:09 [E] unknown klass Katello::Product, ignoring
2015-05-29 14:40:09 [E] uninitialized constant ActiveModel::ForbiddenAttributesProtection
2015-05-29 14:40:09 [E] /opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks'
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/models/katello/model.rb:15:in `<class:Model>'
Actions #7

Updated by Michal Kopecny almost 9 years ago

Hi.

Meanwhile I have tried installation on CentOS 6.6 (instead of RH 6.6) and with the same result.

Thank you and best regards,
Michal

Actions #8

Updated by Eric Helms almost 9 years ago

Are you using any repositories outside of base and those specified by the installation instructions? I have not seen this reported elsewhere and I haven't been able to reproduce it myself so far.

Actions #9

Updated by Michal Kopecny almost 9 years ago

Eric Helms wrote:

Are you using any repositories outside of base and those specified by the installation instructions? I have not seen this reported elsewhere and I haven't been able to reproduce it myself so far.

Hello Eric,

In case of RH6.6 I have also MooseFS repo. In case of CentOS6.6 only default repos (part of OS installation) and those specified in installation instructions.
We have finally managed to finish installation with:
katello-installer
katello-installer --reset
/usr/sbin/foreman-rake db:migrate
katello-installer

seems there were some issues with DB tables or something like that.

Best regards,
Michal Kopecny

Actions #10

Updated by Michal Kopecny almost 9 years ago

Eric Helms wrote:

Are you using any repositories outside of base and those specified by the installation instructions? I have not seen this reported elsewhere and I haven't been able to reproduce it myself so far.

So you have managed to install Katello 2.2.1 on RH6.6 or CentoOS 6.6 with no problems at all ?

List of my repos:

repo id
MooseFS
SCL
epel
foreman
foreman-plugins
katello
katello-candlepin
katello-client
katello-pulp
puppetlabs-deps
puppetlabs-products
rhel-6-server-optional-rpms
rhel-6-server-rpms

Actions #11

Updated by Matthew Ceroni almost 9 years ago

I have run into this same issue.

This was a clean install (because my original installation via nightly build was fubar) on a CentOS 6.6 machines. I am attempting to run the steps listed above by Michal to see if that resolves my problem.

However the symptoms were essentially the same. qpidd started up but not on port 5671 as it thought something else was listening on there. That caused subsequent tasks to fail. I restarted qpidd to get it listening on the necessary port and re-ran the installer. But they I ran into all the DB errors that Michal listed above.

Actions #12

Updated by Matthew Ceroni almost 9 years ago

Following Michal installation procedure allowed me to arrive at a successful install.

Actions #13

Updated by Eric Helms almost 9 years ago

  • translation missing: en.field_release changed from 55 to 61
Actions #14

Updated by Eric Helms over 8 years ago

  • translation missing: en.field_release changed from 61 to 31
Actions #15

Updated by Stephen Benjamin over 8 years ago

  • translation missing: en.field_release changed from 31 to 70

Mass move to 2.4.0

Actions #16

Updated by Justin Sherrill over 8 years ago

  • translation missing: en.field_release changed from 70 to 86
Actions #17

Updated by Eric Helms almost 8 years ago

  • Status changed from Need more information to Resolved

Since there has been no action and this was on 2.2 which is no longer supported I am moving this to resolved. Please re-open if you still see this issue on 3.0.

Actions

Also available in: Atom PDF