Browse code

The python-qpid packages must be installed when qpidd is configured

The python-qpid package is available for Ubuntu trusty, precise, and
all the supported RHEL based platforms. This package is necessary if
qpidd is configured as the RPC backend. It is the client API used to
talk to the broker, and must be installed on each system that
communicates with the broker.

Change-Id: I635d3e857aa4b769a80cb7cde405cfd6cae44d32

Kenneth Giusti authored on 2014/09/16 03:21:55
Showing 5 changed files
... ...
@@ -17,7 +17,7 @@ python-sqlalchemy
17 17
 python-mysqldb
18 18
 python-mysql.connector
19 19
 python-pyudev
20
-python-qpid # dist:precise
20
+python-qpid # NOPRIME
21 21
 dnsmasq-base
22 22
 dnsmasq-utils # for dhcp_release only available in dist:precise
23 23
 rabbitmq-server # NOPRIME
... ...
@@ -24,7 +24,7 @@ vlan
24 24
 curl
25 25
 genisoimage # required for config_drive
26 26
 rabbitmq-server # NOPRIME
27
-qpidd # dist:precise NOPRIME
27
+qpidd # NOPRIME
28 28
 socat # used by ajaxterm
29 29
 python-mox
30 30
 python-paste
... ...
@@ -45,4 +45,4 @@ python-m2crypto
45 45
 python-kombu
46 46
 python-feedparser
47 47
 python-iso8601
48
-python-qpid # dist:precise
48
+python-qpid # NOPRIME
... ...
@@ -15,7 +15,7 @@ python-kombu
15 15
 #rhel6 gets via pip
16 16
 python-paste        # dist:f19,f20,rhel7
17 17
 python-paste-deploy # dist:f19,f20,rhel7
18
-python-qpid
18
+python-qpid # NOPRIME
19 19
 python-routes
20 20
 python-sqlalchemy
21 21
 python-suds
... ...
@@ -34,7 +34,7 @@ python-paramiko # dist:f19,f20,rhel7
34 34
 # pip we need
35 35
 python-paste        # dist:f19,f20,rhel7
36 36
 python-paste-deploy # dist:f19,f20,rhel7
37
-python-qpid
37
+python-qpid # NOPRIME
38 38
 python-routes
39 39
 python-sqlalchemy
40 40
 python-suds
... ...
@@ -130,6 +130,11 @@ function install_rpc_backend {
130 130
         sudo mkdir -p /var/run/openstack
131 131
         sudo chown $STACK_USER /var/run/openstack
132 132
     fi
133
+
134
+    # If using the QPID broker, install the QPID python client API
135
+    if is_service_enabled qpid || [ -n "$QPID_HOST" ]; then
136
+        install_package python-qpid
137
+    fi
133 138
 }
134 139
 
135 140
 # restart the rpc backend