From 5595fdc2ac1437eb669a50aad1861a3ef6f69750 Mon Sep 17 00:00:00 2001 From: zhhuabj Date: Wed, 8 May 2013 18:27:20 +0800 Subject: [PATCH] Update the package name of qpid in the fedora platform The package name of qpid in default yum repository is qpid-cpp-server, not qpid-cpp-server-daemon. Fix bug 1177731 Change-Id: I4412029966583f5ef5a5a4cc80e7fdc4771c8eca --- files/rpms/nova | 2 +- files/rpms/quantum | 3 +-- lib/rpc_backend | 11 ++--------- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/files/rpms/nova b/files/rpms/nova index 328e7d6bed..c74f3963d5 100644 --- a/files/rpms/nova +++ b/files/rpms/nova @@ -40,7 +40,7 @@ python-sqlalchemy python-suds python-tempita rabbitmq-server # NOPRIME -qpid-cpp-server-daemon # NOPRIME +qpid-cpp-server # NOPRIME sqlite sudo vconfig diff --git a/files/rpms/quantum b/files/rpms/quantum index 450e39cdc8..32c6f626dc 100644 --- a/files/rpms/quantum +++ b/files/rpms/quantum @@ -18,8 +18,7 @@ python-routes python-sqlalchemy python-suds rabbitmq-server # NOPRIME -qpid-cpp-server-daemon # NOPRIME dist:f16,f17,f18 -qpid-cpp-server # NOPRIME dist:rhel6 +qpid-cpp-server # NOPRIME sqlite sudo vconfig diff --git a/lib/rpc_backend b/lib/rpc_backend index 3c485e42c7..27d3ba3364 100644 --- a/lib/rpc_backend +++ b/lib/rpc_backend @@ -70,11 +70,7 @@ function cleanup_rpc_backend { fi elif is_service_enabled qpid; then if is_fedora; then - if [[ $DISTRO =~ (rhel6) ]]; then - uninstall_package qpid-cpp-server - else - uninstall_package qpid-cpp-server-daemon - fi + uninstall_package qpid-cpp-server elif is_ubuntu; then uninstall_package qpidd else @@ -104,15 +100,12 @@ function install_rpc_backend() { rm -f "$tfile" elif is_service_enabled qpid; then if is_fedora; then + install_package qpid-cpp-server if [[ $DISTRO =~ (rhel6) ]]; then - install_package qpid-cpp-server - # 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/' /etc/qpidd.conf - else - install_package qpid-cpp-server-daemon fi elif is_ubuntu; then install_package qpidd