diff --git a/files/apts/qpid b/files/apts/qpid new file mode 100644 index 0000000000..e3bbf0961c --- /dev/null +++ b/files/apts/qpid @@ -0,0 +1 @@ +sasl2-bin # NOPRIME diff --git a/files/rpms/qpid b/files/rpms/qpid index 62148ba231..9e3f10af13 100644 --- a/files/rpms/qpid +++ b/files/rpms/qpid @@ -1,3 +1,4 @@ qpid-proton-c-devel # NOPRIME python-qpid-proton # NOPRIME +cyrus-sasl-lib # NOPRIME diff --git a/lib/rpc_backend b/lib/rpc_backend index de82fe115e..14c78fbf7b 100644 --- a/lib/rpc_backend +++ b/lib/rpc_backend @@ -132,39 +132,14 @@ function install_rpc_backend { # Install rabbitmq-server install_package rabbitmq-server elif is_service_enabled qpid; then - local qpid_conf_file=/etc/qpid/qpidd.conf if is_fedora; then install_package qpid-cpp-server - if [[ $DISTRO =~ (rhel6) ]]; then - qpid_conf_file=/etc/qpidd.conf - # RHEL6 leaves "auth=yes" in /etc/qpidd.conf, it needs to - # be no or you get GSS authentication errors as it - # attempts to default to this. - sudo sed -i.bak 's/^auth=yes$/auth=no/' $qpid_conf_file - fi elif is_ubuntu; then install_package qpidd - sudo sed -i '/PLAIN/!s/mech_list: /mech_list: PLAIN /' /etc/sasl2/qpidd.conf - sudo chmod o+r /etc/qpid/qpidd.sasldb else exit_distro_not_supported "qpid installation" fi - # If AMQP 1.0 is specified, ensure that the version of the - # broker can support AMQP 1.0 and configure the queue and - # topic address patterns used by oslo.messaging. - if [ "$RPC_MESSAGING_PROTOCOL" == "AMQP1" ]; then - QPIDD=$(type -p qpidd) - if ! $QPIDD --help | grep -q "queue-patterns"; then - exit_distro_not_supported "qpidd with AMQP 1.0 support" - fi - if ! grep -q "queue-patterns=exclusive" $qpid_conf_file; then - cat <