celery.worker.consumer:ERROR consumer: Cannot connect to qpid://foreman.example.com:5671//: [Errno 111] Connection refused

Hi, thanks for the reply. Yes, to test the functionality I made the change in the replacement /etc/qpid-dispatch/qdrouterd.conf file.

The entire output is captured here: https://paste.fedoraproject.org/paste/gBa-mZdDCCfSavsY4Z11iQ

FWIW,

[root@foremankatellodemo log]# hostname
foremankatellodemo.example.com
[root@foremankatellodemo log]#

[root@foremankatellodemo log]# egrep -v ‘^(^#|$)’ /etc/qpid-dispatch/qdouterd.conf
router {
id: foremankatellodemo.example.com
mode: interior
worker-threads: 2
}
ssl-profile {
name: client
cert-db: /etc/pki/katello/certs/katello-default-ca.crt
cert-file: /etc/pki/katello/qpid_router_client.crt
key-file: /etc/pki/katello/qpid_router_client.key
}
ssl-profile {
name: server
cert-db: /etc/pki/katello/certs/katello-default-ca.crt
cert-file: /etc/pki/katello/qpid_router_server.crt
key-file: /etc/pki/katello/qpid_router_server.key
}
connector {
name: broker
host: localhost
port: 5671
sasl-mechanisms: ANONYMOUS
role: route-container
ssl-profile: client
idle-timeout-seconds: 0
}
linkRoute {
prefix: pulp.
dir: out
connection: broker
}
linkRoute {
prefix: pulp.task
dir: in
connection: broker
}
linkRoute {
prefix: qmf.
dir: in
connection: broker
}
linkRoute {
prefix: qmf.
dir: out
connection: broker
}
listener {
host: 0.0.0.0
port: 5647
sasl-mechanisms: ANONYMOUS
ssl-profile: server
}
listener {
host: 0.0.0.0
port: 5646
sasl-mechanisms: ANONYMOUS
role: inter-router
ssl-profile: server
}
log {
module: DEFAULT
enable: info+
timestamp: true
output: /var/log/qdrouterd/qdrouterd.log
}
address {
prefix: closest
distribution: closest
}
address {
prefix: multicast
distribution: multicast
}
address {
prefix: unicast
distribution: closest
}
address {
prefix: exclusive
distribution: closest
}
address {
prefix: broadcast
distribution: multicast
}
[root@foremankatellodemo log]#

Version of components:

[root@foremankatellodemo log]# rpm -qa | grep -i qpid
qpid-cpp-server-linearstore-1.37.0-1.el7.x86_64
qpid-dispatch-router-1.0.0-1.el7.x86_64
qpid-qmf-1.37.0-1.el7.x86_64
qpid-proton-c-0.18.1-1.el7.x86_64
python-qpid-proton-0.18.1-1.el7.x86_64
qpid-cpp-server-1.37.0-1.el7.x86_64
qpid-cpp-client-1.37.0-1.el7.x86_64
tfm-rubygem-qpid_messaging-0.34.1-1.el7.x86_64
qpid-cpp-client-devel-1.37.0-1.el7.x86_64
python-qpid-qmf-1.37.0-1.el7.x86_64
foremankatellodemo.example.com-qpid-router-server-1.0-1.noarch
python-gofer-qpid-2.7.6-1.el7.noarch
qpid-tools-1.37.0-1.el7.noarch
foremankatellodemo.example.com-qpid-router-client-1.0-1.noarch
foremankatellodemo.example.com-qpid-client-cert-1.0-1.noarch
python-qpid-1.37.0-1.el7.noarch
foremankatellodemo.example.com-qpid-broker-1.0-1.noarch
[root@foremankatellodemo log]#

[root@foremankatellodemo log]# rpm -qa | grep -i katello
katello-installer-base-3.4.5-1.el7.noarch
foremankatellodemo.example.com-foreman-client-1.0-1.noarch
foremankatellodemo.example.com-puppet-client-1.0-1.noarch
katello-repos-3.4.0-3.el7.noarch
katello-certs-tools-2.4.0-1.el7.noarch
foremankatellodemo.example.com-foreman-proxy-client-1.0-1.noarch
katello-service-3.4.5-1.el7.noarch
pulp-katello-1.0.2-1.el7.noarch
katello-server-ca-1.0-1.noarch
tfm-rubygem-katello-3.4.5-1.el7.noarch
foremankatellodemo.example.com-qpid-router-server-1.0-1.noarch
foremankatellodemo.example.com-tomcat-1.0-1.noarch
katello-selinux-3.0.2-1.el7.noarch
katello-debug-3.4.5-1.el7.noarch
katello-common-3.4.5-1.el7.noarch
katello-3.4.5-1.el7.noarch
foremankatellodemo.example.com-apache-1.0-1.noarch
katello-client-bootstrap-1.4.0-2.el7.noarch
foremankatellodemo.example.com-qpid-router-client-1.0-1.noarch
foremankatellodemo.example.com-qpid-client-cert-1.0-1.noarch
foremankatellodemo.example.com-foreman-proxy-1.0-1.noarch
foremankatellodemo.example.com-qpid-broker-1.0-1.noarch
foreman-installer-katello-3.4.5-1.el7.noarch
tfm-rubygem-hammer_cli_katello-0.10.0-1.el7.noarch
katello-default-ca-1.0-1.noarch
[root@foremankatellodemo log]#

Logs:

[root@foremankatellodemo log]# journalctl -u qdrouterd
– Logs begin at Thu 2018-02-15 08:26:52 UTC, end at Thu 2018-02-15 14:50:57 UTC. –
Feb 15 08:27:03 foremankatellodemo.example.com systemd[1]: Started Qpid Dispatch router daemon.
Feb 15 08:27:03 foremankatellodemo.example.com systemd[1]: Starting Qpid Dispatch router daemon…
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: 2018-02-15 08:27:08.455174 +0000 ERROR (error) Python: Exception: Cannot load configura
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: 2018-02-15 08:27:08.478911 +0000 ERROR (error) Traceback (most recent call last):
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: File “/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py”, line
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: config = Config(filename)
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: File “/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py”, line
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: self.load(filename, raw_json)
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: File “/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py”, line
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: self.load(f, raw_json)
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: File “/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py”, line
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: self.schema.validate_all(entities)
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: File “/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py”, line
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: self.validate_add(a, entities)
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: File “/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/qdrouter.py”, lin
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: super(QdSchema, self).validate_add(attributes, entities)
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: File “/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py”, line
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: self.validate_entity(attributes)
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: File “/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py”, line
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: entity_type = self.entity_type(attributes[‘type’])
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: File “/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py”, line
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: return self._lookup(self.entity_types, name, “No such entity type ‘%s’”, error)
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: File “/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py”, line
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: raise ValidationError(message % name)
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: Exception: Cannot load configuration file /etc/qpid-dispatch/qdrouterd.conf: No such en
Feb 15 08:27:08 foremankatellodemo.example.com qdrouterd[656]: 2018-02-15 08:27:08.482662 +0000 MAIN (critical) Router start-up failed: Python: Except
Feb 15 08:27:08 foremankatellodemo.example.com systemd[1]: qdrouterd.service: main process exited, code=exited, status=1/FAILURE
Feb 15 08:27:08 foremankatellodemo.example.com systemd[1]: Unit qdrouterd.service entered failed state.
Feb 15 08:27:08 foremankatellodemo.example.com systemd[1]: qdrouterd.service failed.
Feb 15 08:35:27 foremankatellodemo.example.com systemd[1]: Started Qpid Dispatch router daemon.
Feb 15 08:35:27 foremankatellodemo.example.com systemd[1]: Starting Qpid Dispatch router daemon…
Feb 15 08:35:27 foremankatellodemo.example.com systemd[1]: qdrouterd.service: main process exited, code=exited, status=1/FAILURE
Feb 15 08:35:27 foremankatellodemo.example.com systemd[1]: Unit qdrouterd.service entered failed state.
Feb 15 08:35:27 foremankatellodemo.example.com systemd[1]: qdrouterd.service failed.
Feb 15 14:46:52 foremankatellodemo.example.com systemd[1]: Started Qpid Dispatch router daemon.
Feb 15 14:46:52 foremankatellodemo.example.com systemd[1]: Starting Qpid Dispatch router daemon…
Feb 15 14:46:53 foremankatellodemo.example.com systemd[1]: qdrouterd.service: main process exited, code=exited, status=1/FAILURE
Feb 15 14:46:53 foremankatellodemo.example.com systemd[1]: Unit qdrouterd.service entered failed state.
Feb 15 14:46:53 foremankatellodemo.example.com systemd[1]: qdrouterd.service failed.
Feb 15 14:47:22 foremankatellodemo.example.com systemd[1]: Started Qpid Dispatch router daemon.
Feb 15 14:47:22 foremankatellodemo.example.com systemd[1]: Starting Qpid Dispatch router daemon…
Feb 15 14:47:22 foremankatellodemo.example.com qdrouterd[6386]: 2018-02-15 14:47:22.801640 +0000 ERROR (error) Not found: Configuration file could not
Feb 15 14:47:22 foremankatellodemo.example.com qdrouterd[6386]: 2018-02-15 14:47:22.801676 +0000 MAIN (critical) Router start-up failed: Not found: Co
Feb 15 14:47:22 foremankatellodemo.example.com systemd[1]: qdrouterd.service: main process exited, code=exited, status=1/FAILURE
Feb 15 14:47:22 foremankatellodemo.example.com systemd[1]: Unit qdrouterd.service entered failed state.
Feb 15 14:47:22 foremankatellodemo.example.com systemd[1]: qdrouterd.service failed.
Feb 15 14:48:45 foremankatellodemo.example.com systemd[1]: Started Qpid Dispatch router daemon.
Feb 15 14:48:45 foremankatellodemo.example.com systemd[1]: Starting Qpid Dispatch router daemon…
Feb 15 14:48:45 foremankatellodemo.example.com systemd[1]: qdrouterd.service: main process exited, code=exited, status=1/FAILURE
Feb 15 14:48:45 foremankatellodemo.example.com systemd[1]: Unit qdrouterd.service entered failed state.
Feb 15 14:48:45 foremankatellodemo.example.com systemd[1]: qdrouterd.service failed.
Feb 15 14:50:57 foremankatellodemo.example.com systemd[1]: Started Qpid Dispatch router daemon.
Feb 15 14:50:57 foremankatellodemo.example.com systemd[1]: Starting Qpid Dispatch router daemon…
Feb 15 14:50:57 foremankatellodemo.example.com systemd[1]: qdrouterd.service: main process exited, code=exited, status=1/FAILURE
Feb 15 14:50:57 foremankatellodemo.example.com systemd[1]: Unit qdrouterd.service entered failed state.
Feb 15 14:50:57 foremankatellodemo.example.com systemd[1]: qdrouterd.service failed.
[root@foremankatellodemo log]#

Any thoughts?