[Katello 2.4] Capsule - Cannot load configurion file Unknown attribute 'idleTimeoutSeconds'

Katello 2.4 capsule installed as a fresh 2.4 install on a fresh 7.2 CentOS
server.

Cannot synchronize content from main host due to qdrouterd not starting.

Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net systemd[1]:
qdrouterd.service: main process exited, code=exited, status=1/FAILURE
Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net systemd[1]: Unit
qdrouterd.service entered failed state.
Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net systemd[1]:
qdrouterd.service failed.
Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net qdrouterd[10407]: Fri
Jan 15 23:51:02 2016 MAIN (critical) Router start-up failed: Python:
Exception: Cannot load configuration file
/etc/qpid-dispatch/qdrouterd.conf: org.apache.qpid.dispatch.connector:
Unknown attribute 'idleTimeoutSeconds' for
'org.apache.qpid.dispatch.connector'
Jan 15 23:51:02 katello1-ops-prod-nvan.globalrelay.net qdrouterd[10407]:
/usr/sbin/qdrouterd: Python: Exception: Cannot load configuration file
/etc/qpid-dispatch/qdrouterd.conf: org.apache.qpid.dispatch.connector:
Unknown attribute 'idleTimeoutSeconds' for
'org.apache.qpid.dispatch.connector'

Why would a fresh capsule install put an invalid setting about timeout in
the configuration file ?

Can I safely remove this ?

After further investigation, I'm even more confused. The error message
states that 'idleTimeoutSeconds' is an unknown attribute, but in the file
listed, that value does not exist.

The only value that does that is remotely similar is this :

connector {
name: hub
addr: katello1-ops-int-nvan.mydomain.net
port: 5646
sasl-mechanisms: ANONYMOUS
role: inter-router
ssl-profile: client
idle-timeout-seconds: 0
}

So which is it supposed to be ? idleTimeoutSeconds or idle-timeout-seconds?

The manual seemed to indicate that idleTimeoutSeconds was the correct one,
so why i a lowercase version of that with dashes in my config file?

Also, I found that the qdrouterd service is also failed on the my main
Katello server with the same error message so this error is clearly apply
to both a fresh Katello 2.4 install and an upgrade from Katello 2.3.

How do I fix this ???

··· On Friday, January 15, 2016 at 3:55:43 PM UTC-8, Nathan Peters wrote: > > Katello 2.4 capsule installed as a fresh 2.4 install on a fresh 7.2 CentOS > server. > > Cannot synchronize content from main host due to qdrouterd not starting. > > Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net systemd[1]: > qdrouterd.service: main process exited, code=exited, status=1/FAILURE > Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net systemd[1]: Unit > qdrouterd.service entered failed state. > Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net systemd[1]: > qdrouterd.service failed. > Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net qdrouterd[10407]: Fri > Jan 15 23:51:02 2016 MAIN (critical) Router start-up failed: Python: > Exception: Cannot load configuration file > /etc/qpid-dispatch/qdrouterd.conf: org.apache.qpid.dispatch.connector: > Unknown attribute 'idleTimeoutSeconds' for > 'org.apache.qpid.dispatch.connector' > Jan 15 23:51:02 katello1-ops-prod-nvan.globalrelay.net qdrouterd[10407]: > /usr/sbin/qdrouterd: Python: Exception: Cannot load configuration file > /etc/qpid-dispatch/qdrouterd.conf: org.apache.qpid.dispatch.connector: > Unknown attribute 'idleTimeoutSeconds' for > 'org.apache.qpid.dispatch.connector' > > > Why would a fresh capsule install put an invalid setting about timeout in > the configuration file ? > > Can I safely remove this ? >

So I've tried several troubleshooting steps to get this to work, but I
think the installer is really broken because nothing I do works.

I tried replacing the idle-timeout-seconds with the one in the error
message : idleTimeoutSeconds but the startup still failed.

I tried changing the value from 0 to 90 and it still failed.

However, when I commented out the idle-timeout-seconds line entirely the
service was able to start…

But now I have a new error and I'm not sure how to solve it…

Jan 16 00:33:23 katello1-ops-prod-nvan.mydomain.net qdrouterd[11962]: Sat
Jan 16 00:33:23 2016 SERVER (error) SSL local configuration failed for
katello1…

Can anyone here tell me why the idle-timeout was setting incorrectly and
why the SSL settings were set incorrectly and how to fix them?

··· On Friday, January 15, 2016 at 4:16:57 PM UTC-8, Nathan Peters wrote: > > After further investigation, I'm even more confused. The error message > states that 'idleTimeoutSeconds' is an unknown attribute, but in the file > listed, that value does not exist. > > The only value that does that is remotely similar is this : > > connector { > name: hub > addr: katello1-ops-int-nvan.mydomain.net > port: 5646 > sasl-mechanisms: ANONYMOUS > role: inter-router > ssl-profile: client > idle-timeout-seconds: 0 > } > > So which is it supposed to be ? idleTimeoutSeconds or > idle-timeout-seconds? > > The manual seemed to indicate that idleTimeoutSeconds was the correct one, > so why i a lowercase version of that with dashes in my config file? > > Also, I found that the qdrouterd service is also failed on the my main > Katello server with the same error message so this error is clearly apply > to both a fresh Katello 2.4 install and an upgrade from Katello 2.3. > > How do I fix this ???? > > On Friday, January 15, 2016 at 3:55:43 PM UTC-8, Nathan Peters wrote: >> >> Katello 2.4 capsule installed as a fresh 2.4 install on a fresh 7.2 >> CentOS server. >> >> Cannot synchronize content from main host due to qdrouterd not starting. >> >> Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net systemd[1]: >> qdrouterd.service: main process exited, code=exited, status=1/FAILURE >> Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net systemd[1]: Unit >> qdrouterd.service entered failed state. >> Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net systemd[1]: >> qdrouterd.service failed. >> Jan 15 23:51:02 katello1-ops-prod-nvan.mydomain.net qdrouterd[10407]: >> Fri Jan 15 23:51:02 2016 MAIN (critical) Router start-up failed: Python: >> Exception: Cannot load configuration file >> /etc/qpid-dispatch/qdrouterd.conf: org.apache.qpid.dispatch.connector: >> Unknown attribute 'idleTimeoutSeconds' for >> 'org.apache.qpid.dispatch.connector' >> Jan 15 23:51:02 katello1-ops-prod-nvan.globalrelay.net qdrouterd[10407]: >> /usr/sbin/qdrouterd: Python: Exception: Cannot load configuration file >> /etc/qpid-dispatch/qdrouterd.conf: org.apache.qpid.dispatch.connector: >> Unknown attribute 'idleTimeoutSeconds' for >> 'org.apache.qpid.dispatch.connector' >> >> >> Why would a fresh capsule install put an invalid setting about timeout in >> the configuration file ? >> >> Can I safely remove this ? >> >

Is puppet installed on that host BEFORE you begin the installation of
katello?
If so, try on a clean 7.2 host without puppet.

Regards,

Joop

··· On 16-1-2016 3:54, Nathan Peters wrote: > So I've tried several troubleshooting steps to get this to work, but I > think the installer is really broken because nothing I do works. >

Fresh installation of Katello 2.4 on a fresh installation of CentOS
7.2.1511 with all updates installed and rebooted before capsule install
still produces invalid configuration file for qdrouterd and the process
won't start.

[root@katello1-ops-prod-nvan ~]# capsule-installer --parent-fqdn
"katello1-ops-int-nvan.mydomain.net"
> --register-in-foreman "true"
> --foreman-oauth-key <key>
> --foreman-oauth-secret <secret>
> --pulp-oauth-secret <secret>
> --certs-tar "~/katello1-ops-prod-nvan.mydomain.net-certs.tar"
> --puppet "true"
> --puppetca "true"
> --pulp "true"
> --freeipa-remove-dns "false"
> --realm "true"
> --realm-principal "realm-proxy@MYDOMAIN.NET"
> --tftp "true"
> --templates "true"
> --foreman-proxy-http "false"
Installing Done
[100%] […]
Success!

  • Capsule is running at https://katello1-ops-prod-nvan.mydomain.net:9090
    The full log is at /var/log/capsule-installer/capsule-installer.log
    [root@katello1-ops-prod-nvan ~]# systemctl
    UNIT LOAD ACTIVE SUB
    DESCRIPTION
    proc-sys-fs-binfmt_misc.automount loaded active waiting
    Arbitrary Executable File Formats File System A

sys-devices-pci0000:00-0000:00:07.1-ata2-host2-target2:0:0-2:0:0:0-block-sr0.device
loaded active plugged VMware_Vir

sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda1.device
loaded active plugged Virtual_di

sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda2.device
loaded active plugged Virtual_di

sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda3.device
loaded active plugged Virtual_di

sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda.device
loaded active plugged Virtual_disk
sys-devices-pci0000:00-0000:00:11.0-0000:02:00.0-net-ens32.device loaded
active plugged 82545EM Gigabit Ethernet Con
sys-devices-platform-floppy.0-block-fd0.device loaded active plugged
/sys/devices/platform/floppy.0/block/fd0
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged
/sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged
/sys/devices/platform/serial8250/tty/ttyS3
sys-devices-pnp0-00:09-tty-ttyS0.device loaded active plugged
/sys/devices/pnp0/00:09/tty/ttyS0
sys-devices-pnp0-00:0a-tty-ttyS1.device loaded active plugged
/sys/devices/pnp0/00:0a/tty/ttyS1
sys-module-configfs.device loaded active plugged
/sys/module/configfs
sys-subsystem-net-devices-ens32.device loaded active plugged
82545EM Gigabit Ethernet Controller (Copper) (P
-.mount loaded active mounted /
boot.mount loaded active mounted
/boot
dev-hugepages.mount loaded active mounted
Huge Pages File System
dev-mqueue.mount loaded active mounted
POSIX Message Queue File System
run-user-0.mount loaded active mounted
/run/user/0
run-user-1156800010.mount loaded active mounted
/run/user/1156800010
sys-kernel-config.mount loaded active mounted
Configuration File System
sys-kernel-debug.mount loaded active mounted
Debug File System
brandbot.path loaded active waiting
Flexible branding
systemd-ask-password-plymouth.path loaded active waiting
Forward Password Requests to Plymouth Directory
systemd-ask-password-wall.path loaded active waiting
Forward Password Requests to Wall Directory Wat
session-1.scope loaded active running
Session 1 of user root
session-2.scope loaded active running
Session 2 of user npeters
auditd.service loaded active running
Security Auditing Service
crond.service loaded active running
Command Scheduler
dbus.service loaded active running
D-Bus System Message Bus
foreman-proxy.service loaded active running
Foreman Proxy
getty@tty1.service loaded active running
Getty on tty1
goferd.service loaded active running
Gofer Agent
httpd.service loaded active running
The Apache HTTP Server
irqbalance.service loaded active running
irqbalance daemon
kdump.service loaded active exited
Crash recovery kernel arming
kmod-static-nodes.service loaded active exited
Create list of required static device nodes for
mongod.service loaded active running
High-performance, schema-free document-oriented
network.service loaded active exited
LSB: Bring up/down networking
NetworkManager.service loaded active running
Network Manager
nfs-config.service loaded active exited
Preprocess NFS configuration
ntpd.service loaded active running
Network Time Service
oddjobd.service loaded active running
privileged operations for unprivileged applicat
polkit.service loaded active running
Authorization Manager
postfix.service loaded active running
Postfix Mail Transport Agent
pulp_celerybeat.service loaded active running
Pulp's Celerybeat
pulp_resource_manager.service loaded active running
Pulp Resource Manager
pulp_worker-0.service loaded active running
Pulp Worker #0
pulp_worker-1.service loaded active running
Pulp Worker #1
pulp_worker-2.service loaded active running
Pulp Worker #2
pulp_worker-3.service loaded active running
Pulp Worker #3
pulp_workers.service loaded active exited
Pulp Celery Workers
puppet.service loaded active running
Puppet agent
● qdrouterd.service loaded failed failed
Qpid Dispatch router daemon
qpidd.service loaded active running An
AMQP message broker daemon.
rhel-dmesg.service loaded active exited
Dump dmesg to /var/log/dmesg
rhel-domainname.service loaded active exited
Read and set NIS domainname from /etc/sysconfig
rhel-import-state.service loaded active exited
Import network configuration from initramfs
rhel-readonly.service loaded active exited
Configure read-only root support
rhsmcertd.service loaded active running
Enable periodic update of entitlement certifica
rsyslog.service loaded active running
System Logging Service
sshd.service loaded active running
OpenSSH server daemon
sssd.service loaded active running
System Security Services Daemon
systemd-journal-flush.service loaded active exited
Flush Journal to Persistent Storage
systemd-journald.service loaded active running
Journal Service
systemd-logind.service loaded active running
Login Service
systemd-random-seed.service loaded active exited
Load/Save Random Seed
systemd-remount-fs.service loaded active exited
Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited
Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited
Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited
Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited
udev Coldplug all Devices
systemd-udevd.service loaded active running
udev Kernel Device Manager
systemd-update-utmp.service loaded active exited
Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited
Permit User Sessions
systemd-vconsole-setup.service loaded active exited
Setup Virtual Console
tuned.service loaded active running
Dynamic System Tuning Daemon
wpa_supplicant.service loaded active running
WPA Supplicant daemon
xinetd.service loaded active running
Xinetd A Powerful Replacement For Inetd
-.slice loaded active active
Root Slice
system-getty.slice loaded active active
system-getty.slice
system.slice loaded active active
System Slice
user-0.slice loaded active active
user-0.slice
user-1156800010.slice loaded active active
user-1156800010.slice
user.slice loaded active active
User and Session Slice
dbus.socket loaded active running
D-Bus System Message Bus Socket
systemd-initctl.socket loaded active listening
/dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running
Journal Socket
systemd-shutdownd.socket loaded active listening
Delayed Shutdown Socket
systemd-udevd-control.socket loaded active running
udev Control Socket
systemd-udevd-kernel.socket loaded active running
udev Kernel Socket
dev-disk-by\x2duuid-d5e9a3f0\x2d7536\x2d42d3\x2db9ac\x2d5eacd9a3c295.swap
loaded active active /dev/disk/by-uuid/d5
basic.target loaded active active
Basic System
cryptsetup.target loaded active active
Encrypted Volumes
getty.target loaded active active
Login Prompts
local-fs-pre.target loaded active active
Local File Systems (Pre)
local-fs.target loaded active active
Local File Systems
multi-user.target loaded active active
Multi-User System
network-online.target loaded active active
Network is Online
network.target loaded active active
Network
nss-user-lookup.target loaded active active
User and Group Name Lookups
paths.target loaded active active
Paths
remote-fs.target loaded active active
Remote File Systems
slices.target loaded active active
Slices
sockets.target loaded active active
Sockets
swap.target loaded active active
Swap
sysinit.target loaded active active
System Initialization
timers.target loaded active active
Timers
systemd-tmpfiles-clean.timer loaded active waiting
Daily Cleanup of Temporary Directories

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.

109 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

[root@katello1-ops-prod-nvan qpid-dispatch]# cat qdrouterd.conf

··· ## ## Licensed to the Apache Software Foundation (ASF) under one ## or more contributor license agreements. See the NOTICE file ## distributed with this work for additional information ## regarding copyright ownership. The ASF licenses this file ## to you under the Apache License, Version 2.0 (the ## "License"); you may not use this file except in compliance ## with the License. You may obtain a copy of the License at ## ## http://www.apache.org/licenses/LICENSE-2.0 ## ## Unless required by applicable law or agreed to in writing, ## software distributed under the License is distributed on an ## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ## KIND, either express or implied. See the License for the ## specific language governing permissions and limitations ## under the License ##

See the qdrouterd.conf (5) manual page for information about this

file’s format and options.

container {
worker-threads: 4
container-name: katello1-ops-prod-nvan.mydomain.net
}

router {
mode: interior
router-id: katello1-ops-prod-nvan.mydomain.net
}

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: hub
addr: katello1-ops-int-nvan.mydomain.net
port: 5646
sasl-mechanisms: ANONYMOUS
role: inter-router
ssl-profile: client
idle-timeout-seconds: 0
}

linkRoutePattern {
prefix: pulp.
}

linkRoutePattern {
prefix: qmf.
}

listener {
addr: 0.0.0.0
port: 5647
sasl-mechanisms: ANONYMOUS
ssl-profile: server
}

fixed-address {
prefix: /closest
fanout: single
bias: closest
}

fixed-address {
prefix: /unicast
fanout: single
bias: closest
}

fixed-address {
prefix: /exclusive
fanout: single
bias: closest
}

fixed-address {
prefix: /multicast
fanout: multiple
}

fixed-address {
prefix: /broadcast
fanout: multiple
}

fixed-address {
prefix: /
fanout: multiple
}
[root@katello1-ops-prod-nvan qpid-dispatch]# systemctl status qdrouterd
● qdrouterd.service - Qpid Dispatch router daemon
Loaded: loaded (/usr/lib/systemd/system/qdrouterd.service; enabled;
vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2016-01-18 20:59:20 PST;
1min 44s ago
Main PID: 13610 (code=exited, status=1/FAILURE)

Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]: Started
Qpid Dispatch router daemon.
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]: Starting
Qpid Dispatch router daemon…
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
qdrouterd.service: main process exited, code=ex…URE
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]: Unit
qdrouterd.service entered failed state.
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
qdrouterd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@katello1-ops-prod-nvan qpid-dispatch]# systemctl status qdrouterd -l
● qdrouterd.service - Qpid Dispatch router daemon
Loaded: loaded (/usr/lib/systemd/system/qdrouterd.service; enabled;
vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2016-01-18 20:59:20 PST;
1min 56s ago
Main PID: 13610 (code=exited, status=1/FAILURE)

Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]: Started
Qpid Dispatch router daemon.
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]: Starting
Qpid Dispatch router daemon…
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
qdrouterd.service: main process exited, code=exited, status=1/FAILURE
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]: Unit
qdrouterd.service entered failed state.
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
qdrouterd.service failed.
[root@katello1-ops-prod-nvan qpid-dispatch]# katello-service restart
Redirecting to /bin/systemctl stop httpd.service

Redirecting to /bin/systemctl stop pulp_resource_manager.service

Redirecting to /bin/systemctl stop pulp_celerybeat.service

Redirecting to /bin/systemctl stop pulp_workers.service

Redirecting to /bin/systemctl stop foreman-proxy.service

Redirecting to /bin/systemctl stop qdrouterd.service

Redirecting to /bin/systemctl stop qpidd.service

Redirecting to /bin/systemctl stop mongod.service

Success!
Redirecting to /bin/systemctl start mongod.service

Redirecting to /bin/systemctl start qpidd.service

Redirecting to /bin/systemctl start qdrouterd.service

Redirecting to /bin/systemctl start foreman-proxy.service

Redirecting to /bin/systemctl start pulp_workers.service

Redirecting to /bin/systemctl start pulp_celerybeat.service

Redirecting to /bin/systemctl start pulp_resource_manager.service

Redirecting to /bin/systemctl start httpd.service

Success!
[root@katello1-ops-prod-nvan qpid-dispatch]# systemctl status qdrouterd -l
● qdrouterd.service - Qpid Dispatch router daemon
Loaded: loaded (/usr/lib/systemd/system/qdrouterd.service; enabled;
vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2016-01-18 21:04:06 PST;
27s ago
Process: 13961 ExecStart=/usr/sbin/qdrouterd -c
/etc/qpid-dispatch/qdrouterd.conf (code=exited, status=1/FAILURE)
Main PID: 13961 (code=exited, status=1/FAILURE)

Jan 18 21:04:06 katello1-ops-prod-nvan.mydomain.net systemd[1]: Started
Qpid Dispatch router daemon.
Jan 18 21:04:06 katello1-ops-prod-nvan.mydomain.net systemd[1]: Starting
Qpid Dispatch router daemon…
Jan 18 21:04:06 katello1-ops-prod-nvan.mydomain.net qdrouterd[13961]: Mon
Jan 18 21:04:06 2016 ERROR (error) Python: Exception: Cannot load
configuration file /etc/qpid-dispatch/qdrouterd.conf:
org.apache.qpid.dispatch.connector: Unknown attribute 'idleTimeoutSeconds’
for 'org.apache.qpid.dispatc

> Fresh installation of Katello 2.4 on a fresh installation of CentOS
> 7.2.1511 with all updates installed and rebooted before capsule
> install still produces invalid configuration file for qdrouterd and
> the process won't start.

Hey Nathan,

Apologies for the late reply. There was a new version of qpid-dispatch
that should have provided this functionality in 2.4. The version shipped
with 2.3 did not. What version do you have installed? You should have
qpid-dispatch-0.4-10.

I'll spin up a 2.4 test to see if i can reproduce.

-Justin

··· On 01/19/2016 12:11 AM, Nathan Peters wrote:

[root@katello1-ops-prod-nvan ~]# capsule-installer --parent-fqdn
"katello1-ops-int-nvan.mydomain.net"\

–register-in-foreman “true”
–foreman-oauth-key
–foreman-oauth-secret
–pulp-oauth-secret
–certs-tar “~/katello1-ops-prod-nvan.mydomain.net-certs.tar”
–puppet “true”
–puppetca “true”
–pulp “true”
–freeipa-remove-dns “false”
–realm “true”
–realm-principal "realm-proxy@MYDOMAIN.NET"
–tftp “true”
–templates “true”
–foreman-proxy-http "false"
Installing Done [100%]
[…]
Success!

  • Capsule is running at https://katello1-ops-prod-nvan.mydomain.net:9090
    The full log is at /var/log/capsule-installer/capsule-installer.log
    [root@katello1-ops-prod-nvan ~]# systemctl
    UNIT LOAD ACTIVE
    SUB DESCRIPTION
    proc-sys-fs-binfmt_misc.automount loaded active
    waiting Arbitrary Executable File Formats File System A
    sys-devices-pci0000:00-0000:00:07.1-ata2-host2-target2:0:0-2:0:0:0-block-sr0.device
    loaded active plugged VMware_Vir
    sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda1.device
    loaded active plugged Virtual_di
    sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda2.device
    loaded active plugged Virtual_di
    sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda3.device
    loaded active plugged Virtual_di
    sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda.device
    loaded active plugged Virtual_disk
    sys-devices-pci0000:00-0000:00:11.0-0000:02:00.0-net-ens32.device
    loaded active plugged 82545EM Gigabit Ethernet Con
    sys-devices-platform-floppy.0-block-fd0.device loaded active
    plugged /sys/devices/platform/floppy.0/block/fd0
    sys-devices-platform-serial8250-tty-ttyS2.device loaded active
    plugged /sys/devices/platform/serial8250/tty/ttyS2
    sys-devices-platform-serial8250-tty-ttyS3.device loaded active
    plugged /sys/devices/platform/serial8250/tty/ttyS3
    sys-devices-pnp0-00:09-tty-ttyS0.device loaded active
    plugged /sys/devices/pnp0/00:09/tty/ttyS0
    sys-devices-pnp0-00:0a-tty-ttyS1.device loaded active
    plugged /sys/devices/pnp0/00:0a/tty/ttyS1
    sys-module-configfs.device loaded active
    plugged /sys/module/configfs
    sys-subsystem-net-devices-ens32.device loaded active
    plugged 82545EM Gigabit Ethernet Controller (Copper) (P
    -.mount loaded active mounted /
    boot.mount loaded active
    mounted /boot
    dev-hugepages.mount loaded active
    mounted Huge Pages File System
    dev-mqueue.mount loaded active
    mounted POSIX Message Queue File System
    run-user-0.mount loaded active
    mounted /run/user/0
    run-user-1156800010.mount loaded active
    mounted /run/user/1156800010
    sys-kernel-config.mount loaded active
    mounted Configuration File System
    sys-kernel-debug.mount loaded active
    mounted Debug File System
    brandbot.path loaded active
    waiting Flexible branding
    systemd-ask-password-plymouth.path loaded active
    waiting Forward Password Requests to Plymouth Directory
    systemd-ask-password-wall.path loaded active
    waiting Forward Password Requests to Wall Directory Wat
    session-1.scope loaded active
    running Session 1 of user root
    session-2.scope loaded active
    running Session 2 of user npeters
    auditd.service loaded active
    running Security Auditing Service
    crond.service loaded active
    running Command Scheduler
    dbus.service loaded active
    running D-Bus System Message Bus
    foreman-proxy.service loaded active
    running Foreman Proxy
    getty@tty1.service loaded active
    running Getty on tty1
    goferd.service loaded active
    running Gofer Agent
    httpd.service loaded active
    running The Apache HTTP Server
    irqbalance.service loaded active
    running irqbalance daemon
    kdump.service loaded active
    exited Crash recovery kernel arming
    kmod-static-nodes.service loaded active
    exited Create list of required static device nodes for
    mongod.service loaded active
    running High-performance, schema-free document-oriented
    network.service loaded active
    exited LSB: Bring up/down networking
    NetworkManager.service loaded active
    running Network Manager
    nfs-config.service loaded active
    exited Preprocess NFS configuration
    ntpd.service loaded active
    running Network Time Service
    oddjobd.service loaded active
    running privileged operations for unprivileged applicat
    polkit.service loaded active
    running Authorization Manager
    postfix.service loaded active
    running Postfix Mail Transport Agent
    pulp_celerybeat.service loaded active
    running Pulp’s Celerybeat
    pulp_resource_manager.service loaded active
    running Pulp Resource Manager
    pulp_worker-0.service loaded active
    running Pulp Worker #0
    pulp_worker-1.service loaded active
    running Pulp Worker #1
    pulp_worker-2.service loaded active
    running Pulp Worker #2
    pulp_worker-3.service loaded active
    running Pulp Worker #3
    pulp_workers.service loaded active
    exited Pulp Celery Workers
    puppet.service loaded active
    running Puppet agent
    ● qdrouterd.service loaded failed
    failed Qpid Dispatch router daemon
    qpidd.service loaded active
    running An AMQP message broker daemon.
    rhel-dmesg.service loaded active
    exited Dump dmesg to /var/log/dmesg
    rhel-domainname.service loaded active
    exited Read and set NIS domainname from /etc/sysconfig
    rhel-import-state.service loaded active
    exited Import network configuration from initramfs
    rhel-readonly.service loaded active
    exited Configure read-only root support
    rhsmcertd.service loaded active
    running Enable periodic update of entitlement certifica
    rsyslog.service loaded active
    running System Logging Service
    sshd.service loaded active
    running OpenSSH server daemon
    sssd.service loaded active
    running System Security Services Daemon
    systemd-journal-flush.service loaded active
    exited Flush Journal to Persistent Storage
    systemd-journald.service loaded active
    running Journal Service
    systemd-logind.service loaded active
    running Login Service
    systemd-random-seed.service loaded active
    exited Load/Save Random Seed
    systemd-remount-fs.service loaded active
    exited Remount Root and Kernel File Systems
    systemd-sysctl.service loaded active
    exited Apply Kernel Variables
    systemd-tmpfiles-setup-dev.service loaded active
    exited Create Static Device Nodes in /dev
    systemd-tmpfiles-setup.service loaded active
    exited Create Volatile Files and Directories
    systemd-udev-trigger.service loaded active
    exited udev Coldplug all Devices
    systemd-udevd.service loaded active
    running udev Kernel Device Manager
    systemd-update-utmp.service loaded active
    exited Update UTMP about System Boot/Shutdown
    systemd-user-sessions.service loaded active
    exited Permit User Sessions
    systemd-vconsole-setup.service loaded active
    exited Setup Virtual Console
    tuned.service loaded active
    running Dynamic System Tuning Daemon
    wpa_supplicant.service loaded active
    running WPA Supplicant daemon
    xinetd.service loaded active
    running Xinetd A Powerful Replacement For Inetd
    -.slice loaded active
    active Root Slice
    system-getty.slice loaded active
    active system-getty.slice
    system.slice loaded active
    active System Slice
    user-0.slice loaded active
    active user-0.slice
    user-1156800010.slice loaded active
    active user-1156800010.slice
    user.slice loaded active
    active User and Session Slice
    dbus.socket loaded active
    running D-Bus System Message Bus Socket
    systemd-initctl.socket loaded active
    listening /dev/initctl Compatibility Named Pipe
    systemd-journald.socket loaded active
    running Journal Socket
    systemd-shutdownd.socket loaded active
    listening Delayed Shutdown Socket
    systemd-udevd-control.socket loaded active
    running udev Control Socket
    systemd-udevd-kernel.socket loaded active
    running udev Kernel Socket
    dev-disk-by\x2duuid-d5e9a3f0\x2d7536\x2d42d3\x2db9ac\x2d5eacd9a3c295.swap
    loaded active active /dev/disk/by-uuid/d5
    basic.target loaded active
    active Basic System
    cryptsetup.target loaded active
    active Encrypted Volumes
    getty.target loaded active
    active Login Prompts
    local-fs-pre.target loaded active
    active Local File Systems (Pre)
    local-fs.target loaded active
    active Local File Systems
    multi-user.target loaded active
    active Multi-User System
    network-online.target loaded active
    active Network is Online
    network.target loaded active
    active Network
    nss-user-lookup.target loaded active
    active User and Group Name Lookups
    paths.target loaded active
    active Paths
    remote-fs.target loaded active
    active Remote File Systems
    slices.target loaded active
    active Slices
    sockets.target loaded active
    active Sockets
    swap.target loaded active
    active Swap
    sysinit.target loaded active
    active System Initialization
    timers.target loaded active
    active Timers
    systemd-tmpfiles-clean.timer loaded active
    waiting Daily Cleanup of Temporary Directories

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.

109 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use ‘systemctl list-unit-files’.

[root@katello1-ops-prod-nvan qpid-dispatch]# cat qdrouterd.conf

Licensed to the Apache Software Foundation (ASF) under one

or more contributor license agreements. See the NOTICE file

distributed with this work for additional information

regarding copyright ownership. The ASF licenses this file

to you under the Apache License, Version 2.0 (the

“License”); you may not use this file except in compliance

with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,

software distributed under the License is distributed on an

“AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY

KIND, either express or implied. See the License for the

specific language governing permissions and limitations

under the License

See the qdrouterd.conf (5) manual page for information about this

file’s format and options.

container {
worker-threads: 4
container-name: katello1-ops-prod-nvan.mydomain.net
}

router {
mode: interior
router-id: katello1-ops-prod-nvan.mydomain.net
}

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: hub
addr: katello1-ops-int-nvan.mydomain.net
port: 5646
sasl-mechanisms: ANONYMOUS
role: inter-router
ssl-profile: client
idle-timeout-seconds: 0
}

linkRoutePattern {
prefix: pulp.
}

linkRoutePattern {
prefix: qmf.
}

listener {
addr: 0.0.0.0
port: 5647
sasl-mechanisms: ANONYMOUS
ssl-profile: server
}

fixed-address {
prefix: /closest
fanout: single
bias: closest
}

fixed-address {
prefix: /unicast
fanout: single
bias: closest
}

fixed-address {
prefix: /exclusive
fanout: single
bias: closest
}

fixed-address {
prefix: /multicast
fanout: multiple
}

fixed-address {
prefix: /broadcast
fanout: multiple
}

fixed-address {
prefix: /
fanout: multiple
}
[root@katello1-ops-prod-nvan qpid-dispatch]# systemctl status qdrouterd
● qdrouterd.service - Qpid Dispatch router daemon
Loaded: loaded (/usr/lib/systemd/system/qdrouterd.service; enabled;
vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2016-01-18 20:59:20
PST; 1min 44s ago
Main PID: 13610 (code=exited, status=1/FAILURE)

Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
Started Qpid Dispatch router daemon.
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
Starting Qpid Dispatch router daemon…
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
qdrouterd.service: main process exited, code=ex…URE
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]: Unit
qdrouterd.service entered failed state.
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
qdrouterd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@katello1-ops-prod-nvan qpid-dispatch]# systemctl status qdrouterd -l
● qdrouterd.service - Qpid Dispatch router daemon
Loaded: loaded (/usr/lib/systemd/system/qdrouterd.service; enabled;
vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2016-01-18 20:59:20
PST; 1min 56s ago
Main PID: 13610 (code=exited, status=1/FAILURE)

Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
Started Qpid Dispatch router daemon.
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
Starting Qpid Dispatch router daemon…
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
qdrouterd.serv

>> Fresh installation of Katello 2.4 on a fresh installation of CentOS
>> 7.2.1511 with all updates installed and rebooted before capsule
>> install still produces invalid configuration file for qdrouterd and
>> the process won't start.
>
> Hey Nathan,
>
> Apologies for the late reply. There was a new version of
> qpid-dispatch that should have provided this functionality in 2.4.
> The version shipped with 2.3 did not. What version do you have
> installed? You should have qpid-dispatch-0.4-10.
>
> I'll spin up a 2.4 test to see if i can reproduce.
Tested a fresh install on Centos 7 and
qpid-dispatch-router-0.4-10.el7.x86_64 was installed as expected (i had
the package name mistaken in my previous email), and the service started
fine. I would check to make sure the correct version is being installed.

-Justin

··· On 01/20/2016 09:13 AM, Justin Sherrill wrote: > On 01/19/2016 12:11 AM, Nathan Peters wrote:

-Justin

[root@katello1-ops-prod-nvan ~]# capsule-installer --parent-fqdn
"katello1-ops-int-nvan.mydomain.net"\

–register-in-foreman “true”
–foreman-oauth-key
–foreman-oauth-secret
–pulp-oauth-secret
–certs-tar “~/katello1-ops-prod-nvan.mydomain.net-certs.tar”
–puppet “true”
–puppetca “true”
–pulp “true”
–freeipa-remove-dns “false”
–realm “true”
–realm-principal "realm-proxy@MYDOMAIN.NET"
–tftp “true”
–templates “true”
–foreman-proxy-http "false"
Installing Done [100%]
[…]
Success!

  • Capsule is running at
    https://katello1-ops-prod-nvan.mydomain.net:9090
    The full log is at /var/log/capsule-installer/capsule-installer.log
    [root@katello1-ops-prod-nvan ~]# systemctl
    UNIT LOAD ACTIVE
    SUB DESCRIPTION
    proc-sys-fs-binfmt_misc.automount loaded active
    waiting Arbitrary Executable File Formats File System A
    sys-devices-pci0000:00-0000:00:07.1-ata2-host2-target2:0:0-2:0:0:0-block-sr0.device
    loaded active plugged VMware_Vir
    sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda1.device
    loaded active plugged Virtual_di
    sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda2.device
    loaded active plugged Virtual_di
    sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda3.device
    loaded active plugged Virtual_di
    sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda.device
    loaded active plugged Virtual_disk
    sys-devices-pci0000:00-0000:00:11.0-0000:02:00.0-net-ens32.device
    loaded active plugged 82545EM Gigabit Ethernet Con
    sys-devices-platform-floppy.0-block-fd0.device loaded active
    plugged /sys/devices/platform/floppy.0/block/fd0
    sys-devices-platform-serial8250-tty-ttyS2.device loaded active
    plugged /sys/devices/platform/serial8250/tty/ttyS2
    sys-devices-platform-serial8250-tty-ttyS3.device loaded active
    plugged /sys/devices/platform/serial8250/tty/ttyS3
    sys-devices-pnp0-00:09-tty-ttyS0.device loaded active
    plugged /sys/devices/pnp0/00:09/tty/ttyS0
    sys-devices-pnp0-00:0a-tty-ttyS1.device loaded active
    plugged /sys/devices/pnp0/00:0a/tty/ttyS1
    sys-module-configfs.device loaded active
    plugged /sys/module/configfs
    sys-subsystem-net-devices-ens32.device loaded active
    plugged 82545EM Gigabit Ethernet Controller (Copper) (P
    -.mount loaded active
    mounted /
    boot.mount loaded active
    mounted /boot
    dev-hugepages.mount loaded active
    mounted Huge Pages File System
    dev-mqueue.mount loaded active
    mounted POSIX Message Queue File System
    run-user-0.mount loaded active
    mounted /run/user/0
    run-user-1156800010.mount loaded active
    mounted /run/user/1156800010
    sys-kernel-config.mount loaded active
    mounted Configuration File System
    sys-kernel-debug.mount loaded active
    mounted Debug File System
    brandbot.path loaded active
    waiting Flexible branding
    systemd-ask-password-plymouth.path loaded active
    waiting Forward Password Requests to Plymouth Directory
    systemd-ask-password-wall.path loaded active
    waiting Forward Password Requests to Wall Directory Wat
    session-1.scope loaded active
    running Session 1 of user root
    session-2.scope loaded active
    running Session 2 of user npeters
    auditd.service loaded active
    running Security Auditing Service
    crond.service loaded active
    running Command Scheduler
    dbus.service loaded active
    running D-Bus System Message Bus
    foreman-proxy.service loaded active
    running Foreman Proxy
    getty@tty1.service loaded active running Getty on tty1
    goferd.service loaded active
    running Gofer Agent
    httpd.service loaded active
    running The Apache HTTP Server
    irqbalance.service loaded active
    running irqbalance daemon
    kdump.service loaded active
    exited Crash recovery kernel arming
    kmod-static-nodes.service loaded active
    exited Create list of required static device nodes for
    mongod.service loaded active
    running High-performance, schema-free document-oriented
    network.service loaded active
    exited LSB: Bring up/down networking
    NetworkManager.service loaded active
    running Network Manager
    nfs-config.service loaded active
    exited Preprocess NFS configuration
    ntpd.service loaded active
    running Network Time Service
    oddjobd.service loaded active
    running privileged operations for unprivileged applicat
    polkit.service loaded active
    running Authorization Manager
    postfix.service loaded active
    running Postfix Mail Transport Agent
    pulp_celerybeat.service loaded active
    running Pulp’s Celerybeat
    pulp_resource_manager.service loaded active
    running Pulp Resource Manager
    pulp_worker-0.service loaded active
    running Pulp Worker #0
    pulp_worker-1.service loaded active
    running Pulp Worker #1
    pulp_worker-2.service loaded active
    running Pulp Worker #2
    pulp_worker-3.service loaded active
    running Pulp Worker #3
    pulp_workers.service loaded active
    exited Pulp Celery Workers
    puppet.service loaded active
    running Puppet agent
    ● qdrouterd.service loaded failed
    failed Qpid Dispatch router daemon
    qpidd.service loaded active
    running An AMQP message broker daemon.
    rhel-dmesg.service loaded active
    exited Dump dmesg to /var/log/dmesg
    rhel-domainname.service loaded active
    exited Read and set NIS domainname from /etc/sysconfig
    rhel-import-state.service loaded active
    exited Import network configuration from initramfs
    rhel-readonly.service loaded active
    exited Configure read-only root support
    rhsmcertd.service loaded active
    running Enable periodic update of entitlement certifica
    rsyslog.service loaded active
    running System Logging Service
    sshd.service loaded active
    running OpenSSH server daemon
    sssd.service loaded active
    running System Security Services Daemon
    systemd-journal-flush.service loaded active
    exited Flush Journal to Persistent Storage
    systemd-journald.service loaded active
    running Journal Service
    systemd-logind.service loaded active
    running Login Service
    systemd-random-seed.service loaded active
    exited Load/Save Random Seed
    systemd-remount-fs.service loaded active
    exited Remount Root and Kernel File Systems
    systemd-sysctl.service loaded active
    exited Apply Kernel Variables
    systemd-tmpfiles-setup-dev.service loaded active
    exited Create Static Device Nodes in /dev
    systemd-tmpfiles-setup.service loaded active
    exited Create Volatile Files and Directories
    systemd-udev-trigger.service loaded active
    exited udev Coldplug all Devices
    systemd-udevd.service loaded active
    running udev Kernel Device Manager
    systemd-update-utmp.service loaded active
    exited Update UTMP about System Boot/Shutdown
    systemd-user-sessions.service loaded active
    exited Permit User Sessions
    systemd-vconsole-setup.service loaded active
    exited Setup Virtual Console
    tuned.service loaded active
    running Dynamic System Tuning Daemon
    wpa_supplicant.service loaded active
    running WPA Supplicant daemon
    xinetd.service loaded active
    running Xinetd A Powerful Replacement For Inetd
    -.slice loaded active
    active Root Slice
    system-getty.slice loaded active
    active system-getty.slice
    system.slice loaded active
    active System Slice
    user-0.slice loaded active
    active user-0.slice
    user-1156800010.slice loaded active
    active user-1156800010.slice
    user.slice loaded active
    active User and Session Slice
    dbus.socket loaded active
    running D-Bus System Message Bus Socket
    systemd-initctl.socket loaded active
    listening /dev/initctl Compatibility Named Pipe
    systemd-journald.socket loaded active
    running Journal Socket
    systemd-shutdownd.socket loaded active
    listening Delayed Shutdown Socket
    systemd-udevd-control.socket loaded active
    running udev Control Socket
    systemd-udevd-kernel.socket loaded active
    running udev Kernel Socket
    dev-disk-by\x2duuid-d5e9a3f0\x2d7536\x2d42d3\x2db9ac\x2d5eacd9a3c295.swap
    loaded active active /dev/disk/by-uuid/d5
    basic.target loaded active
    active Basic System
    cryptsetup.target loaded active
    active Encrypted Volumes
    getty.target loaded active
    active Login Prompts
    local-fs-pre.target loaded active
    active Local File Systems (Pre)
    local-fs.target loaded active
    active Local File Systems
    multi-user.target loaded active
    active Multi-User System
    network-online.target loaded active
    active Network is Online
    network.target loaded active
    active Network
    nss-user-lookup.target loaded active
    active User and Group Name Lookups
    paths.target loaded active
    active Paths
    remote-fs.target loaded active
    active Remote File Systems
    slices.target loaded active
    active Slices
    sockets.target loaded active
    active Sockets
    swap.target loaded active
    active Swap
    sysinit.target loaded active
    active System Initialization
    timers.target loaded active
    active Timers
    systemd-tmpfiles-clean.timer loaded active
    waiting Daily Cleanup of Temporary Directories

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of
SUB.
SUB = The low-level unit activation state, values depend on unit type.

109 loaded units listed. Pass --all to see loaded but inactive units,
too.
To show all installed unit files use ‘systemctl list-unit-files’.

[root@katello1-ops-prod-nvan qpid-dispatch]# cat qdrouterd.conf

Licensed to the Apache Software Foundation (ASF) under one

or more contributor license agreements. See the NOTICE file

distributed with this work for additional information

regarding copyright ownership. The ASF licenses this file

to you under the Apache License, Version 2.0 (the

“License”); you may not use this file except in compliance

with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,

software distributed under the License is distributed on an

“AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY

KIND, either express or implied. See the License for the

specific language governing permissions and limitations

under the License

See the qdrouterd.conf (5) manual page for information about this

file’s format and options.

container {
worker-threads: 4
container-name: katello1-ops-prod-nvan.mydomain.net
}

router {
mode: interior
router-id: katello1-ops-prod-nvan.mydomain.net
}

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: hub
addr: katello1-ops-int-nvan.mydomain.net
port: 5646
sasl-mechanisms: ANONYMOUS
role: inter-router
ssl-profile: client
idle-timeout-seconds: 0
}

linkRoutePattern {
prefix: pulp.
}

linkRoutePattern {
prefix: qmf.
}

listener {
addr: 0.0.0.0
port: 5647
sasl-mechanisms: ANONYMOUS
ssl-profile: server
}

fixed-address {
prefix: /closest
fanout: single
bias: closest
}

fixed-address {
prefix: /unicast
fanout: single
bias: closest
}

fixed-address {
prefix: /exclusive
fanout: single
bias: closest
}

fixed-address {
prefix: /multicast
fanout: multiple
}

fixed-address {
prefix: /broadcast
fanout: multiple
}

fixed-address {
prefix: /
fanout: multiple
}
[root@katello1-ops-prod-nvan qpid-dispatch]# systemctl status qdrouterd
● qdrouterd.service - Qpid Dispatch router daemon
Loaded: loaded (/usr/lib/systemd/system/qdrouterd.service;
enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2016-01-18 20:59:20
PST; 1min 44s ago
Main PID: 13610 (code=exited, status=1/FAILURE)

Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
Started Qpid Dispatch router daemon.
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
Starting Qpid Dispatch router daemon…
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
qdrouterd.service: main process exited, code=ex…URE
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]: Unit
qdrouterd.service entered failed state.
Jan 18 20:59:20 katello1-ops-prod-nvan.mydomain.net systemd[1]:
qdrouterd.service failed.
Hint: Some lines were ellipsi

This is the actual problem and I think it is one the devs need to put some
serious thought into :

Katello requires you to install the epel-release repository, which contains
qpid-dispatch-router.x86_64 0.5-1.el7

Katello also requires that before you can turn a machine into a capsule, it
needs to be registered through subscription management to the main Katello
server.

Therefore… (and especially if your capsule is in a network that doesn't
have internet access - one of the MAJOR selling points of a capsule is that
it does NOT need to be internet connected)… If you sync all content
required to install the Katello capsule, and make it available through your
subscription, something really bad happens…

The Katello-pulp repository apparently has repo protections to enforce its
products over anything else in any other repo, but the actual
capsule-installer package doesn't care what version it uses for its
dependencies.

So… If you get your katello-pulp content through a content view (because
you are a capsule that does not have direct internet access), and also your
epel content through a content view, the capsule installer will happily
install qpid-dispatch-router version 0.5 which will crash at startup
because it uses different config file options that 0.4 (which Katello
wants).

This wouldn't be such an issue if EPEL wasn't required to install Katello,
but the fact it is both required and contains an incompatible version of
qpid-dispatch-router is a problem, especially if your capsule doesn't have
internet access an relies on a content view.

IMO, the capsule-installer rpm should enforce version 0.4 of the
qpid-dispatch-router rather than happily grabbing and installing a totally
incompatible version.

··· On Wednesday, January 20, 2016 at 8:08:02 AM UTC-8, jsherril wrote: > > On 01/20/2016 09:13 AM, Justin Sherrill wrote: > > On 01/19/2016 12:11 AM, Nathan Peters wrote: > > Fresh installation of Katello 2.4 on a fresh installation of CentOS > 7.2.1511 with all updates installed and rebooted before capsule install > still produces invalid configuration file for qdrouterd and the process > won't start. > > > Hey Nathan, > > Apologies for the late reply. There was a new version of qpid-dispatch > that should have provided this functionality in 2.4. The version shipped > with 2.3 did not. What version do you have installed? You should have > qpid-dispatch-0.4-10. > > I'll spin up a 2.4 test to see if i can reproduce. > > Tested a fresh install on Centos 7 and > qpid-dispatch-router-0.4-10.el7.x86_64 was installed as expected (i had the > package name mistaken in my previous email), and the service started fine. > I would check to make sure the correct version is being installed. > > -Justin > > > > -Justin > > > [root@katello1-ops-prod-nvan ~]# capsule-installer --parent-fqdn " > katello1-ops-int-nvan.mydomain.net"\ > > --register-in-foreman "true"\ > > --foreman-oauth-key \ > > --foreman-oauth-secret \ > > --pulp-oauth-secret \ > > --certs-tar "~/katello1-ops-prod-nvan.mydomain.net-certs.tar"\ > > --puppet "true"\ > > --puppetca "true"\ > > --pulp "true"\ > > --freeipa-remove-dns "false"\ > > --realm "true"\ > > --realm-principal "realm...@MYDOMAIN.NET" \ > > --tftp "true"\ > > --templates "true"\ > > --foreman-proxy-http "false" > Installing Done > [100%] [....................................] > Success! > * Capsule is running at https://katello1-ops-prod-nvan.mydomain.net:9090 > The full log is at /var/log/capsule-installer/capsule-installer.log > [root@katello1-ops-prod-nvan ~]# systemctl > UNIT LOAD ACTIVE SUB > DESCRIPTION > proc-sys-fs-binfmt_misc.automount loaded active waiting > Arbitrary Executable File Formats File System A > > sys-devices-pci0000:00-0000:00:07.1-ata2-host2-target2:0:0-2:0:0:0-block-sr0.device > loaded active plugged VMware_Vir > > sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda1.device > loaded active plugged Virtual_di > > sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda2.device > loaded active plugged Virtual_di > > sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda3.device > loaded active plugged Virtual_di > > sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda.device > loaded active plugged Virtual_disk > sys-devices-pci0000:00-0000:00:11.0-0000:02:00.0-net-ens32.device loaded > active plugged 82545EM Gigabit Ethernet Con > sys-devices-platform-floppy.0-block-fd0.device loaded active plugged > /sys/devices/platform/floppy.0/block/fd0 > sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged > /sys/devices/platform/serial8250/tty/ttyS2 > sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged > /sys/devices/platform/serial8250/tty/ttyS3 > sys-devices-pnp0-00:09-tty-ttyS0.device loaded active plugged > /sys/devices/pnp0/00:09/tty/ttyS0 > sys-devices-pnp0-00:0a-tty-ttyS1.device loaded active plugged > /sys/devices/pnp0/00:0a/tty/ttyS1 > sys-module-configfs.device loaded active plugged > /sys/module/configfs > sys-subsystem-net-devices-ens32.device loaded active plugged > 82545EM Gigabit Ethernet Controller (Copper) (P > -.mount loaded active mounted / > boot.mount loaded active mounted > /boot > dev-hugepages.mount loaded active mounted > Huge Pages File System > dev-mqueue.mount loaded active mounted > POSIX Message Queue File System > run-user-0.mount loaded active mounted > /run/user/0 > run-user-1156800010.mount loaded active mounted > /run/user/1156800010 > sys-kernel-config.mount loaded active mounted > Configuration File System > sys-kernel-debug.mount loaded active mounted > Debug File System > brandbot.path loaded active waiting > Flexible branding > systemd-ask-password-plymouth.path loaded active waiting > Forward Password Requests to Plymouth Directory > systemd-ask-password-wall.path loaded active waiting > Forward Password Requests to Wall Directory Wat > session-1.scope loaded active running > Session 1 of user root > session-2.scope loaded active running > Session 2 of user npeters > auditd.service loaded active running > Security Auditing Service > crond.service loaded active running > Command Scheduler > dbus.service loaded active running > D-Bus System Message Bus > foreman-proxy.service loaded active running > Foreman Proxy > ge...@tty1.service loaded > active running Getty on tty1 > goferd.service loaded active running > Gofer Agent > httpd.service loaded active running > The Apache HTTP Server > irqbalance.service loaded active running > irqbalance daemon > kdump.service loaded active exited > Crash recovery kernel arming > kmod-static-nodes.service loaded active exited > Create list of required static device nodes for > mongod.service loaded active running > High-performance, schema-free document-oriented > network.service loaded active exited > LSB: Bring up/down networking > NetworkManager.service loaded active running > Network Manager > nfs-config.service loaded active exited > Preprocess NFS configuration > ntpd.service loaded active running > Network Time Service > oddjobd.service loaded active running > privileged operations for unprivileged applicat > polkit.service loaded active running > Authorization Manager > postfix.service loaded active running > Postfix Mail Transport Agent > pulp_celerybeat.service loaded active running > Pulp's Celerybeat > pulp_resource_manager.service loaded active running > Pulp Resource Manager > pulp_worker-0.service loaded active running > Pulp Worker #0 > pulp_worker-1.service loaded active running > Pulp Worker #1 > pulp_worker-2.service loaded active running > Pulp Worker #2 > pulp_worker-3.service loaded active running > Pulp Worker #3 > pulp_workers.service loaded active exited > Pulp Celery Workers > puppet.service loaded active running > Puppet agent > ● qdrouterd.service loaded failed failed > Qpid Dispatch router daemon > qpidd.service loaded active running > An AMQP message broker daemon. > rhel-dmesg.service loaded active exited > Dump dmesg to /var/log/dmesg > rhel-domainname.service loaded active exited > Read and set NIS domainname from /etc/sysconfig > rhel-import-state.service loaded active exited > Import network configuration from initramfs > rhel-readonly.service loaded active exited > Configure read-only root support > rhsmcertd.service loaded active running > Enable periodic update of entitlement certifica > rsyslog.service loaded active running > System Logging Service > sshd.service loaded active running > OpenSSH server daemon > sssd.service loaded active running > System Security Services Daemon > systemd-journal-flush.service loaded active exited > Flush Journal to Persistent Storage > systemd-journald.service loaded active running > Journal Service > systemd-logind.service loaded active running > Login Service > systemd-random-seed.service loaded active exited > Load/Save Random Seed > systemd-remount-fs.service loaded active exited > Remount Root and Kernel File Systems > systemd-sysctl.service loaded active exited > Apply Kernel Variables > systemd-tmpfiles-setup-dev.service loaded active exited > Create Static Device Nodes in /dev > systemd-tmpfiles-setup.service loaded active exited > Create Volatile Files and Directories > systemd-udev-trigger.service loaded active exited > udev Coldplug all Devices > systemd-udevd.service loaded active running > udev Kernel Device Manager > systemd-update-utmp.service loaded active exited > Update UTMP about System Boot/Shutdown > systemd-user-sessions.service loaded active exited > Permit User Sessions > systemd-vconsole-setup.service loaded active exited > Setup Virtual Console > tuned.service loaded active running > Dynamic System Tuning Daemon > wpa_supplicant.service loaded active running > WPA Supplicant daemon > xinetd.service loaded active running > Xinetd A Powerful Replacement For Inetd > -.slice loaded active active > Root Slice > system-getty.slice loaded active active > system-getty.slice > system.slice loaded active active > System Slice > user-0.slice loaded active active > user-0.slice > user-1156800010.slice loaded active active > user-1156800010.slice > user.slice loaded active active > User and Session Slice > dbus.socket loaded active running > D-Bus System Message Bus Socket > systemd-initctl.socket loaded active listening > /dev/initctl Compatibility Named Pipe > systemd-journald.socket loaded active running > Journal Socket > systemd-shutdownd.socket loaded active listening > Delayed Shutdown Socket > systemd-udevd-control.socket loaded active running > udev Control Socket > systemd-udevd-kernel.socket loaded active running > udev Kernel Socket > > dev-disk-by\x2duuid-d5e9a3f0\x2d7536\x2d42d3\x2db9ac\x2d5eacd9a3c295.swap > loaded active active /dev/disk/by-uuid/d5 > basic.target loaded active active > Basic System > cryptsetup.target loaded active active > Encrypted Volumes > getty.target loaded active active > Login Prompts > local-fs-pre.target loaded active active > Local File Systems (Pre) > local-fs.target loaded active active > Local File Systems > multi-user.target loaded active active > Multi-User System > network-online.target loaded active active > Network is Online > network.target loaded active active > Network > nss-user-lookup.target loaded active active > User and Group Name Lookups > paths.target loaded active active > Paths > remote-fs.target loaded active active > Remote File Systems > slices.target loaded active active > Slices > sockets.target loaded active active > Sockets > swap.target loaded active active > Swap > sysinit.target loaded active active > System Initialization > timers.target loaded active active > Timers > systemd-tmpfiles-clean.timer loaded active waiting > Daily Cleanup of Temporary Directories > > LOAD = Reflects whether the unit definition was properly loaded. > ACTIVE = The high-level unit activation state, i.e. generalization of SUB. > SUB = The low-level unit activation state, values depend on unit type. > > 109 loaded units listed. Pass --all to see loaded but inactive units, too. > To show all installed unit files use 'systemctl list-unit-files'. > > [root@katello1-ops-prod-nvan qpid-dispatch]# cat qdrouterd.conf > ## > ## Licensed to the Apache Software Foundation (ASF) under one > ## or more contributor license agreements. See the NOTICE file > ## distributed with this work for additional information > ## regarding copyright ownership. The ASF licenses this file > ## to you under the Apache License, Version 2.0 (the > ## "License"); you may not use this file except in compliance > ## with the License. You may obtain a copy of the License at > ## > ## http://www.apache.org/licenses/LICENSE-2.0 > ## > ## Unless required by applicable law or agreed to in writing, > ## software distributed under the License is distributed on an > ## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > ## KIND, either express or implied. See the License for the > ## specific language governing permissions and limitations > ## under the License > ## > > # See the qdrouterd.conf (5) manual page for information about this > # file's format and options. > container { > worker-threads: 4 > container-name: katello1-ops-prod-nvan.mydomain.net > } > > router { > mode: interior > router-id: katello1-ops-prod-nvan.mydomain.net > } > > 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: hub > addr: katello1-ops-int-nvan.mydomain.net > port: 5646 > sasl-mechanisms: ANONYMOUS > role: inter-router > ssl-profile: client > idle-timeout-seconds: 0 > } > > linkRoutePattern { > prefix: pulp. > } > > linkRoutePattern { > prefix: qmf. > } > > listener { > addr: 0.0.0.0 > port: 5647 > sasl-mechanisms: ANONYMOUS > ssl-profile: server > } > > > fixed-address { > prefix: /closest > fanout: single > bias: closest > } > > fixed-address { > prefix: /unicast > fanout: single > bias: closest > } > > fixed-address { > prefix: /exclusive > fanout: single > bias: closest > } > > fixed-address { > prefix: /multicast > fanout: multiple > } > > fixed-address { > prefix: /broadcast > fanout: multiple > } > > fixed-address { > prefix: / > fanout: multiple > } > [root@katello1-ops-prod-nvan qpid-dispatch]# systemctl status qdrouterd > ● qdrouterd.service - Qpid Dispatch router daemon >

> This is the actual problem and I think it is one the devs need to put
> some serious thought into :
>
> Katello requires you to install the epel-release repository, which
> contains qpid-dispatch-router.x86_64 0.5-1.el7
>
> Katello also requires that before you can turn a machine into a
> capsule, it needs to be registered through subscription management to
> the main Katello server.
>
> Therefore… (and especially if your capsule is in a network that
> doesn't have internet access - one of the MAJOR selling points of a
> capsule is that it does NOT need to be internet connected)… If you
> sync all content required to install the Katello capsule, and make it
> available through your subscription, something really bad happens…
>
> The Katello-pulp repository apparently has repo protections to enforce
> its products over anything else in any other repo, but the actual
> capsule-installer package doesn't care what version it uses for its
> dependencies.
>
> So… If you get your katello-pulp content through a content view
> (because you are a capsule that does not have direct internet access),
> and also your epel content through a content view, the capsule
> installer will happily install qpid-dispatch-router version 0.5 which
> will crash at startup because it uses different config file options
> that 0.4 (which Katello wants).
>
> This wouldn't be such an issue if EPEL wasn't required to install
> Katello, but the fact it is both required and contains an
> incompatible version of qpid-dispatch-router is a problem, especially
> if your capsule doesn't have internet access an relies on a content view.
>
> IMO, the capsule-installer rpm should enforce version 0.4 of the
> qpid-dispatch-router rather than happily grabbing and installing a
> totally incompatible version.
Yes, I agree. I wasn't even aware there was a newer version of dispatch
router in epel (and one that doesn't support this feature).

I've filed a bug here: Bug #13301: require specific version of qpid-dispatch-router on capsule and katello installation - Katello - Foreman to
try to address that.

··· On 01/20/2016 12:47 PM, Nathan Peters wrote:

On Wednesday, January 20, 2016 at 8:08:02 AM UTC-8, jsherril wrote:

On 01/20/2016 09:13 AM, Justin Sherrill wrote:
On 01/19/2016 12:11 AM, Nathan Peters wrote:
Fresh installation of Katello 2.4 on a fresh installation of
CentOS 7.2.1511 with all updates installed and rebooted before
capsule install still produces invalid configuration file for
qdrouterd and the process won't start.
Hey Nathan,

Apologies for the late reply.  There was a new version of
qpid-dispatch that should have provided this functionality in
2.4.  The version shipped with 2.3 did not.  What version do you
have installed? You should have qpid-dispatch-0.4-10.

I'll spin up a 2.4 test to see if i can reproduce.
Tested a fresh install on Centos 7 and
qpid-dispatch-router-0.4-10.el7.x86_64 was installed as expected
(i had the package name mistaken in my previous email), and the
service started fine.  I would check to make sure the correct
version is being installed.

-Justin
-Justin
[root@katello1-ops-prod-nvan ~]# capsule-installer --parent-fqdn
"katello1-ops-int-nvan.mydomain.net
<http://katello1-ops-int-nvan.mydomain.net>"\
>  --register-in-foreman "true"\
>  --foreman-oauth-key <key>\
>  --foreman-oauth-secret <secret>\
>  --pulp-oauth-secret <secret>\
>  --certs-tar "~/katello1-ops-prod-nvan.mydomain.net-certs.tar"\
>  --puppet "true"\
>  --puppetca "true"\
>  --pulp "true"\
>  --freeipa-remove-dns "false"\
>  --realm "true"\
>  --realm-principal "realm...@MYDOMAIN.NET" <javascript:>\
>  --tftp "true"\
>  --templates "true"\
>  --foreman-proxy-http "false"
Installing             Done [100%]
[....................................]
  Success!
  * Capsule is running at
https://katello1-ops-prod-nvan.mydomain.net:9090
<https://katello1-ops-prod-nvan.mydomain.net:9090>
  The full log is at
/var/log/capsule-installer/capsule-installer.log
[root@katello1-ops-prod-nvan ~]# systemctl
  UNIT LOAD   ACTIVE SUB       DESCRIPTION
  proc-sys-fs-binfmt_misc.automount loaded active waiting  
Arbitrary Executable File Formats File System A
 
sys-devices-pci0000:00-0000:00:07.1-ata2-host2-target2:0:0-2:0:0:0-block-sr0.device
loaded active plugged   VMware_Vir
 
sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda1.device
loaded active plugged   Virtual_di
 
sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda2.device
loaded active plugged   Virtual_di
 
sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda3.device
loaded active plugged   Virtual_di
 
sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda.device
loaded active plugged   Virtual_disk
 
sys-devices-pci0000:00-0000:00:11.0-0000:02:00.0-net-ens32.device loaded
active plugged   82545EM Gigabit Ethernet Con
  sys-devices-platform-floppy.0-block-fd0.device loaded active
plugged   /sys/devices/platform/floppy.0/block/fd0
  sys-devices-platform-serial8250-tty-ttyS2.device loaded active
plugged   /sys/devices/platform/serial8250/tty/ttyS2
  sys-devices-platform-serial8250-tty-ttyS3.device loaded active
plugged   /sys/devices/platform/serial8250/tty/ttyS3
  sys-devices-pnp0-00:09-tty-ttyS0.device loaded active
plugged   /sys/devices/pnp0/00:09/tty/ttyS0
  sys-devices-pnp0-00:0a-tty-ttyS1.device loaded active
plugged   /sys/devices/pnp0/00:0a/tty/ttyS1
  sys-module-configfs.device loaded active plugged  
/sys/module/configfs
  sys-subsystem-net-devices-ens32.device loaded active plugged  
82545EM Gigabit Ethernet Controller (Copper) (P
  -.mount loaded active mounted   /
  boot.mount loaded active mounted   /boot
  dev-hugepages.mount loaded active mounted   Huge Pages File System
  dev-mqueue.mount loaded active mounted   POSIX Message Queue
File System
  run-user-0.mount loaded active mounted   /run/user/0
  run-user-1156800010.mount loaded active mounted  
/run/user/1156800010
  sys-kernel-config.mount loaded active mounted   Configuration
File System
  sys-kernel-debug.mount loaded active mounted   Debug File System
  brandbot.path loaded active waiting   Flexible branding
  systemd-ask-password-plymouth.path loaded active waiting  
Forward Password Requests to Plymouth Directory
  systemd-ask-password-wall.path loaded active waiting   Forward
Password Requests to Wall Directory Wat
  session-1.scope loaded active running   Session 1 of user root
  session-2.scope loaded active running   Session 2 of user npeters
  auditd.service loaded active running   Security Auditing Service
  crond.service loaded active running   Command Scheduler
  dbus.service loaded active running   D-Bus System Message Bus
  foreman-proxy.service loaded active running   Foreman Proxy
ge...@tty1.service <javascript:> loaded active running   Getty
on tty1
  goferd.service loaded active running   Gofer Agent
  httpd.service loaded active running   The Apache HTTP Server
  irqbalance.service loaded active running   irqbalance daemon
  kdump.service loaded active exited    Crash recovery kernel arming
  kmod-static-nodes.service loaded active exited    Create list
of required static device nodes for
  mongod.service loaded active running   High-performance,
schema-free document-oriented
  network.service loaded active exited    LSB: Bring up/down
networking
  NetworkManager.service loaded active running   Network Manager
  nfs-config.service loaded active exited    Preprocess NFS
configuration
  ntpd.service loaded active running   Network Time Service
  oddjobd.service loaded active running   privileged operations
for unprivileged applicat
  polkit.service loaded active running   Authorization Manager
  postfix.service loaded active running   Postfix Mail Transport
Agent
  pulp_celerybeat.service loaded active running   Pulp's Celerybeat
  pulp_resource_manager.service loaded active running   Pulp
Resource Manager
  pulp_worker-0.service loaded active running   Pulp Worker #0
  pulp_worker-1.service loaded active running   Pulp Worker #1
  pulp_worker-2.service loaded active running   Pulp Worker #2
  pulp_worker-3.service loaded active running   Pulp Worker #3
  pulp_workers.service loaded active exited    Pulp Celery Workers
  puppet.service loaded active running   Puppet agent
● qdrouterd.service loaded failed failed    Qpid Dispatch router
daemon
  qpidd.service loaded active running   An AMQP message broker
daemon.
  rhel-dmesg.service loaded active exited    Dump dmesg to
/var/log/dmesg
  rhel-domainname.service loaded active exited    Read and set
NIS domainname from /etc/sysconfig
  rhel-import-state.service loaded active exited    Import
network configuration from initramfs
  rhel-readonly.service loaded active exited    Configure
read-only root support
  rhsmcertd.service loaded active running   Enable periodic
update of entitlement certifica
  rsyslog.service loaded active running   System Logging Service
  sshd.service loaded active running   OpenSSH server daemon
  sssd.service loaded active running   System Security Services
Daemon
  systemd-journal-flush.service loaded active exited    Flush
Journal to Persistent Storage
  systemd-journald.service loaded active running   Journal Service
  systemd-logind.service loaded active running   Login Service
  systemd-random-seed.service loaded active exited    Load/Save
Random Seed
  systemd-remount-fs.service loaded active exited    Remount
Root and Kernel File Systems
  systemd-sysctl.service loaded active exited    Apply Kernel
Variables
  systemd-tmpfiles-setup-dev.service loaded active exited   
Create Static Device Nodes in /dev
  systemd-tmpfiles-setup.service loaded active exited    Create
Volatile Files and Directories
  systemd-udev-trigger.service loaded active exited    udev
Coldplug all Devices
  systemd-udevd.service loaded active running   udev Kernel
Device Manager
  systemd-update-utmp.service loaded active exited    Update
UTMP about System Boot/Shutdown
  systemd-user-sessions.service loaded active exited    Permit
User Sessions
  systemd-vconsole-setup.service loaded active exited    Setup
Virtual Console
  tuned.service loaded active running   Dynamic System Tuning Daemon
  wpa_supplicant.service loaded active running   WPA Supplicant
daemon
  xinetd.service loaded active running   Xinetd A Powerful
Replacement For Inetd
  -.slice loaded active active    Root Slice
  system-getty.slice loaded active active    system-getty.slice
  system.slice loaded active active    System Slice
  user-0.slice loaded active active    user-0.slice
  user-1156800010.slice loaded active active   
user-1156800010.slice
  user.slice loaded active active    User and Session Slice
  dbus.socket loaded active running   D-Bus System Message Bus
Socket
  systemd-initctl.socket loaded active listening /dev/initctl
Compatibility Named Pipe
  systemd-journald.socket loaded active running   Journal Socket
  systemd-shutdownd.socket loaded active listening Delayed
Shutdown Socket
  systemd-udevd-control.socket loaded active running   udev
Control Socket
  systemd-udevd-kernel.socket loaded active running   udev
Kernel Socket
 
dev-disk-by\x2duuid-d5e9a3f0\x2d7536\x2d42d3\x2db9ac\x2d5eacd9a3c295.swap
loaded active active    /dev/disk/by-uuid/d5
  basic.target loaded active active    Basic System
  cryptsetup.target loaded active active    Encrypted Volumes
  getty.target loaded active active    Login Prompts
  local-fs-pre.target loaded active active    Local File Systems
(Pre)
  local-fs.target loaded active active    Local File Systems
  multi-user.target loaded active active    Multi-User System
  network-online.target loaded active active    Network is Online
  network.target loaded active active    Network
  nss-user-lookup.target loaded active active    User and Group
Name Lookups
  paths.target loaded active active    Paths
  remote-fs.target loaded active active    Remote File Systems
  slices.target loaded active active    Slices
  sockets.target loaded active active    Sockets
  swap.target loaded active active    Swap
  sysinit.target loaded active active    System Initialization
  timers.target loaded active active    Timers
  systemd-tmpfiles-clean.timer loaded active waiting   Daily
Cleanup of Temporary Directories

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e.
generalization of SUB.
SUB    = The low-level unit activation state, values depend on
unit type.

109 loaded units listed. Pass --all to see loaded but inactive
units, too.
To show all installed unit files use 'systemctl list-unit-files'.

[root@katello1-ops-prod-nvan qpid-dispatch]# cat qdrouterd.conf
##
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements.  See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership.  The ASF licenses this file
## to you under the Apache License, Version 2.0 (the
## "License"); you may not use this file except in compliance
## with the License.  You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
<http://www.apache.org/licenses/LICENSE-2.0>
##
## Unless required by applicable law or agreed to in writing,
## software distributed under the License is distributed on an
## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
## KIND, either express or implied.  See the License for the
## specific language governing permissions and limitations
## under the License
##

# See the qdrouterd.conf (5) manual page for information about this
# file's format and options.
container {
    worker-threads: 4
    container-name: katello1-ops-prod-nvan.mydomain.net
<http://katello1-ops-prod-nvan.mydomain.net>
}

router {
    mode: interior
    router-id: katello1-ops-prod-nvan.mydomain.net
<http://katello1-ops-prod-nvan.mydomain.net>
}

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: hub
    addr: katello1-ops-int-nvan.mydomain.net
<http://katello1-ops-int-nvan.mydomain.net>
    port: 5646
    sasl-mechanisms: ANONYMOUS
    role: inter-router
    ssl-profile: client
    idle-timeout-seconds: 0
}

linkRoutePattern {
    prefix: pulp.
}

linkRoutePattern {
    prefix: qmf.
}

listener {
    addr: 0.0.0.0
    port: 5647
    sasl-mechanisms: ANONYMOUS
    ssl-profile: server
}


fixed-address {
    prefix: /closest
    fanout: single
    bias: closest
}

fixed-address {
    prefix: /unicast
    fanout: single
    bias: closest
}

fixed-address {
    prefix: /exclusive
    fano