Add service policies defenition
In order to allow definition of policies per service, we need to add variables so service roles, that will be passed to openstack.osa.mq_setup. Currently this can be handled by leveraging group_vars and overriding `oslomsg_rpc_policies` as a whole, but it's not obvious and can be non-trivial for some groups which are co-locating multiple services or in case of metal deployments. Change-Id: I6a4989df2cd53cc50faae120e96aa4480268f42d
This commit is contained in:
2 changed files with 4 additions and 0 deletions
@@ -143,6 +143,7 @@ nova_oslomsg_rpc_servers: "{{ oslomsg_rpc_servers | default('127.0.0.1') }}"
nova_oslomsg_rpc_port:"{{ oslomsg_rpc_port | default('5672') }}"
nova_oslomsg_rpc_use_ssl:"{{ oslomsg_rpc_use_ssl | default(False) }}"
nova_oslomsg_rpc_userid:nova
nova_oslomsg_rpc_policies:[]
nova_oslomsg_rpc_vhost:
- name:/nova
state:"{{ (nova_oslomsg_rabbit_quorum_queues | bool) | ternary('absent', 'present') }}"
@@ -163,6 +164,7 @@ nova_oslomsg_notify_password: "{{ nova_oslomsg_rpc_password }}"
nova_oslomsg_notify_vhost:"{{ nova_oslomsg_rpc_vhost }}"
nova_oslomsg_notify_ssl_version:"{{ oslomsg_notify_ssl_version | default('TLSv1_2') }}"
nova_oslomsg_notify_ssl_ca_file:"{{ oslomsg_notify_ssl_ca_file | default('') }}"
nova_oslomsg_notify_policies:[]
## Qdrouterd info
# TODO(ansmith): Change structure when more backends will be supported
@@ -97,11 +97,13 @@
_oslomsg_rpc_password:"{{ nova_oslomsg_rpc_password }}"
_oslomsg_rpc_vhost:"{{ nova_oslomsg_rpc_vhost }}"
_oslomsg_rpc_transport:"{{ nova_oslomsg_rpc_transport }}"
_oslomsg_rpc_policies:"{{ nova_oslomsg_rpc_policies }}"
_oslomsg_notify_setup_host:"{{ nova_oslomsg_notify_setup_host }}"
_oslomsg_notify_userid:"{{ nova_oslomsg_notify_userid }}"
_oslomsg_notify_password:"{{ nova_oslomsg_notify_password }}"
_oslomsg_notify_vhost:"{{ nova_oslomsg_notify_vhost }}"
_oslomsg_notify_transport:"{{ nova_oslomsg_notify_transport }}"
_oslomsg_notify_policies:"{{ nova_oslomsg_notify_policies }}"
tags:
- always
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.