Katello-installer (2.3) fails with foreman-issue

Hi,

Postgres is up and running, but katello-installer notices a connection
refused.

systemctl status postgresql.service

postgresql.service - PostgreSQL database server
Loaded: loaded (/etc/systemd/system/postgresql.service; enabled)
Active: active (running) since Tue 2015-07-28 15:46:34 CEST; 11s ago
Process: 9031 ExecStop=/usr/bin/pg_ctl stop -D ${PGDATA} -s -m fast
(code=exited, status=0/SUCCESS)
Process: 9041 ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o -p
${PGPORT} -w -t 300 (code=exited, status=0/SUCCESS)
Process: 9035 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA}
(code=exited, status=0/SUCCESS)
Main PID: 9045 (postgres)
CGroup: /system.slice/postgresql.service
├─9045 /usr/bin/postgres -D /var/lib/pgsql/data -p 5432
├─9046 postgres: logger process
├─9048 postgres: checkpointer process
├─9049 postgres: writer process
├─9050 postgres: wal writer process
├─9051 postgres: autovacuum launcher process
├─9052 postgres: stats collector process
├─9053 postgres: candlepin candlepin 127.0.0.1(52506) idle
├─9054 postgres: candlepin candlepin 127.0.0.1(52505) idle
├─9055 postgres: candlepin candlepin 127.0.0.1(52508) idle
├─9056 postgres: candlepin candlepin 127.0.0.1(52509) idle
├─9057 postgres: gutterball gutterball 127.0.0.1(52510) idle
├─9058 postgres: gutterball gutterball 127.0.0.1(52511) idle
├─9059 postgres: gutterball gutterball 127.0.0.1(52512) idle
├─9060 postgres: gutterball gutterball 127.0.0.1(52513) idle
└─9061 postgres: gutterball gutterball 127.0.0.1(52514) idle

katello-installer

pulp-manage-db && touch /var/lib/pulp/init.flag returned 1 instead of one
of [0]
/Stage[main]/Pulp::Config/Exec[migrate_pulp_db]/returns: change from
notrun to 0 failed: pulp-manage-db && touch /var/lib/pulp/init.flag
returned 1 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]:
Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead
of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]:
/usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[ol7-dep.tiri.lan]:
Failed to call refresh: Proxy ol7-dep.tiri.lan cannot be registered (Could
not load data from https://ol7-dep.tiri.lan
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[ol7-dep.tiri.lan]:
Proxy ol7-dep.tiri.lan cannot be registered (Could not load data from
https://ol7-dep.tiri.lan
Installing Done
[100%]
[…]
Something went wrong! Check the log for ERROR-level output

foreman-rake db:seed --trace

Performance on MRI may be improved with the concurrent-ruby-ext gem. Please
see http://concurrent-ruby.com
** Invoke db:seed (first_time)
** Execute db:seed
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:abort_if_pending_migrations
Seeding /usr/share/foreman/db/seeds.d/03-auth_sources.rb
Seeding /usr/share/foreman/db/seeds.d/03-permissions.rb
Seeding /usr/share/foreman/db/seeds.d/03-roles.rb
Seeding /usr/share/foreman/db/seeds.d/04-admin.rb
Seeding /usr/share/foreman/db/seeds.d/05-taxonomies.rb
Seeding /usr/share/foreman/db/seeds.d/06-architectures.rb
Seeding /usr/share/foreman/db/seeds.d/07-provisioning_templates.rb
Seeding /usr/share/foreman/db/seeds.d/08-partition_tables.rb
Seeding /usr/share/foreman/db/seeds.d/10-installation_media.rb
Seeding /usr/share/foreman/db/seeds.d/11-smart_proxy_features.rb
Seeding /usr/share/foreman/db/seeds.d/13-compute_profiles.rb
Seeding /usr/share/foreman/db/seeds.d/15-bookmarks.rb
Seeding /usr/share/foreman/db/seeds.d/16-mail_notifications.rb
Seeding
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.7.1/db/seeds.d/20-foreman_tasks_permissions.rb
Seeding
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-6.0.0/db/seeds.d/50-bootdisk_templates.rb
All seed files executed
rake aborted!
Connection refused - connect(2)
/opt/rh/ruby193/root/usr/share/ruby/net/http.rb:763:in initialize' /opt/rh/ruby193/root/usr/share/ruby/net/http.rb:763:inopen'
/opt/rh/ruby193/root/usr/share/ruby/net/http.rb:763:in block in connect' /opt/rh/ruby193/root/usr/share/ruby/timeout.rb:69:intimeout'
/opt/rh/ruby193/root/usr/share/ruby/timeout.rb:100:in timeout' /opt/rh/ruby193/root/usr/share/ruby/net/http.rb:763:inconnect'
/opt/rh/ruby193/root/usr/share/ruby/net/http.rb:756:in do_start' /opt/rh/ruby193/root/usr/share/ruby/net/http.rb:745:instart'
/opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.35/lib/restclient_ext/request.rb:44:in
transmit' /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:inexecute'
/opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in
execute' /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/resource.rb:51:inget'
/opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.5/lib/runcible/base.rb:91:in
get_response' /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.5/lib/runcible/base.rb:79:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.5/lib/runcible/resources/event_notifier.rb:71:in
list' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/app/models/katello/glue/pulp/repo.rb:33:inensure_sync_notification'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/db/seeds.rb:31:in
<top (required)>' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:inload'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in
block in load' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:inload_dependency'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in
load' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:520:inload_seed'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in
method_missing&#39; /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/lib/katello/engine.rb:154:inblock (2 levels) in <class:Engine>'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in call&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:inblock in execute'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in each&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:inexecute'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:158:in block in invoke_with_call_chain&#39; /opt/rh/ruby193/root/usr/share/ruby/monitor.rb:211:inmon_synchronize'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:151:in
invoke_with_call_chain&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:144:ininvoke'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:116:in invoke_task&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:inblock (2
levels) in top_level'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in each&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:inblock in
top_level'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in
standard_exception_handling&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:88:intop_level'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:66:in block in run&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:instandard_exception_handling'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in run&#39; /opt/rh/ruby193/root/usr/bin/rake:32:in<main>'
Tasks: TOP => db:seed

Any help is appreciated.
Thomas