Bug #23153
closedInstaller sets listening address of qpid_router_agent to IPv4 0.0.0.0
Description
I have noticed on a new installation of foreman/katello on CentOS 7 that connections to the qpid-router on port 5647 don't work with error "connection refused". The reason is that the host has an IPv6 and IPv4 address in DNS. Due to that the connection is preferably tried done with IPv6.
However, the default configuration sets "qpid_router_agent_addr: 0.0.0.0" which makes it into /etc/qpid-dispatch/qdrouterd.conf. This means the qdrouterd listens only on the IPv4 address and not on IPv6. Thus, if a client connects and only tries with IPv6 it gets a connection refused and gives up.
I have manually reconfigure the listener in qdrouterd.conf
listener { # host: 0.0.0.0 port: 5647 sasl-mechanisms: ANONYMOUS ssl-profile: server }
and restarted the daemon. Now it listens to IPv4 and IPv6 and connections work just fine.
Thus, I guess the default for the option
--foreman-proxy-content-qpid-router-agent-addr Listener address for goferd agents (current: "0.0.0.0")
should not be 0.0.0.0 but emtpy instead to omit the host option from the listener configuration.