Use Swift as a Zaqar backend.

Use the new Swift storage backend for Zaqar. This removes mongo from the
undercloud.

Change-Id: I8b961fa542af4cf40c82d92192184ab5eb571e6d
This commit is contained in:
Thomas Herve 2017-02-15 08:56:22 +01:00
parent e04ac53157
commit 95de498d0f
3 changed files with 12 additions and 14 deletions

View File

@ -560,13 +560,9 @@ if str2bool(hiera('enable_validations', true)) {
include ::tripleo::profile::base::validations
}
include ::mongodb::globals
include ::mongodb::server
include ::mongodb::client
include ::zaqar
include ::zaqar::management::mongodb
include ::zaqar::messaging::mongodb
include ::zaqar::management::sqlalchemy
include ::zaqar::messaging::swift
include ::zaqar::keystone::auth
include ::zaqar::keystone::auth_websocket
include ::zaqar::transport::websocket

View File

@ -593,8 +593,11 @@ zaqar::keystone::auth_websocket::password: {{UNDERCLOUD_ZAQAR_PASSWORD}}
zaqar::unreliable: true
zaqar::transport::websocket::bind: {{LOCAL_IP}}
zaqar::transport::wsgi::bind: {{LOCAL_IP}}
zaqar::management::mongodb::uri: mongodb://127.0.0.1:27017
zaqar::messaging::mongodb::uri: mongodb://127.0.0.1:27017
zaqar::message_store: swift
zaqar::management_store: sqlalchemy
zaqar::management::sqlalchemy::uri: mysql+pymysql://zaqar:{{UNDERCLOUD_ZAQAR_PASSWORD}}@{{LOCAL_IP}}/zaqar
zaqar::messaging::swift::uri: swift://zaqar:{{UNDERCLOUD_ZAQAR_PASSWORD}}@/service
zaqar::messaging::swift::auth_url: "%{hiera('keystone_auth_uri')}"
zaqar::message_pipeline: 'zaqar.notification.notifier'
zaqar::max_messages_post_size: 1048576
@ -749,12 +752,6 @@ nova::notify_on_state_change: 'vm_state'
# Firewall
tripleo::firewall::manage_firewall: true
tripleo::firewall::firewall_rules:
'101 mongodb_config':
dport: 27019
'102 mongodb_sharding':
dport: 27018
'103 mongod':
dport: 27017
'105 ntp':
dport: 123
proto: udp

View File

@ -0,0 +1,5 @@
---
features:
- |
Use Swift as a backend of Zaqar. This effectively removes the new of
MongoDB on the undercloud.