As we integrated OSprofiler with Zaqar by change
I32565de6c447cd5e95a0ef54a9fbd4e571c2d820 , then service
zaqar-server requires using notification API sends profiling
data to ceilometer, so zaqar needs relevant options to make
it work.
Change-Id: Ib09b241f60dd9961e9366f69cf7fbe8388179f96
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
| ... | ... |
@@ -135,6 +135,12 @@ function configure_zaqar {
|
| 135 | 135 |
configure_redis |
| 136 | 136 |
fi |
| 137 | 137 |
|
| 138 |
+ if is_service_enabled qpid || [ -n "$RABBIT_HOST" ] && [ -n "$RABBIT_PASSWORD" ]; then |
|
| 139 |
+ iniset $ZAQAR_CONF DEFAULT notification_driver messaging |
|
| 140 |
+ iniset $ZAQAR_CONF DEFAULT control_exchange zaqar |
|
| 141 |
+ fi |
|
| 142 |
+ iniset_rpc_backend zaqar $ZAQAR_CONF DEFAULT |
|
| 143 |
+ |
|
| 138 | 144 |
cleanup_zaqar |
| 139 | 145 |
} |
| 140 | 146 |
|