Added notification options for keystone
So keystone will emit notifications to the messaging queue in a way supported by ceilometer Change-Id: Ibf6bbd50d58e67b0bf5abbfb1b111a9ed92a18ac Closes-Bug: #1523932
This commit is contained in:
parent
e28d2dcadd
commit
089e4f973f
@ -181,6 +181,9 @@ This configures nova to send notifications to the message bus:
|
|||||||
This configures neutron to send notifications to the message bus:
|
This configures neutron to send notifications to the message bus:
|
||||||
``neutron_ceilometer_enabled: False``
|
``neutron_ceilometer_enabled: False``
|
||||||
|
|
||||||
|
This configures keystone to send notifications to the message bus:
|
||||||
|
``keystone_ceilometer_enabled: False``
|
||||||
|
|
||||||
Once all of these steps are complete, you are ready to run the
|
Once all of these steps are complete, you are ready to run the
|
||||||
os-ceilometer-install.yml playbook! Or, if deploying a new stack, simply run
|
os-ceilometer-install.yml playbook! Or, if deploying a new stack, simply run
|
||||||
setup-openstack.yml. The ceilometer playbooks will run as part of this playbook
|
setup-openstack.yml. The ceilometer playbooks will run as part of this playbook
|
||||||
|
@ -24,6 +24,7 @@ cinder_ceilometer_enabled: False
|
|||||||
glance_ceilometer_enabled: False
|
glance_ceilometer_enabled: False
|
||||||
nova_ceilometer_enabled: False
|
nova_ceilometer_enabled: False
|
||||||
neutron_ceilometer_enabled: False
|
neutron_ceilometer_enabled: False
|
||||||
|
keystone_ceilometer_enabled: False
|
||||||
|
|
||||||
## Aodh Options
|
## Aodh Options
|
||||||
aodh_db_type: mongodb
|
aodh_db_type: mongodb
|
||||||
|
@ -95,6 +95,7 @@ nova_ceilometer_enabled: false
|
|||||||
cinder_ceilometer_enabled: false
|
cinder_ceilometer_enabled: false
|
||||||
neutron_ceilometer_enabled: false
|
neutron_ceilometer_enabled: false
|
||||||
heat_ceilometer_enabled: false
|
heat_ceilometer_enabled: false
|
||||||
|
keystone_ceilometer_enabled: false
|
||||||
|
|
||||||
## Keystone authentication middleware
|
## Keystone authentication middleware
|
||||||
ceilometer_keystone_auth_plugin: password
|
ceilometer_keystone_auth_plugin: password
|
||||||
|
@ -66,7 +66,12 @@ messaging_urls = rabbit://{{ neutron_rabbitmq_userid }}:{{ neutron_rabbitmq_pass
|
|||||||
messaging_urls = rabbit://{{ heat_rabbitmq_userid }}:{{ heat_rabbitmq_password }}@{{ hostvars[host]['ansible_ssh_host'] }}:{{ rabbitmq_port }}/{{ heat_rabbitmq_vhost }}
|
messaging_urls = rabbit://{{ heat_rabbitmq_userid }}:{{ heat_rabbitmq_password }}@{{ hostvars[host]['ansible_ssh_host'] }}:{{ rabbitmq_port }}/{{ heat_rabbitmq_vhost }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
# TODO: Keystone
|
{% if keystone_ceilometer_enabled %}
|
||||||
|
# Keystone
|
||||||
|
{% for host in groups['rabbitmq_all'] %}
|
||||||
|
messaging_urls = rabbit://{{ keystone_rabbitmq_userid }}:{{ keystone_rabbitmq_password }}@{{ hostvars[host]['ansible_ssh_host'] }}:{{ rabbitmq_port }}/{{ keystone_rabbitmq_vhost }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
# TODO: Swift
|
# TODO: Swift
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
|
@ -330,6 +330,9 @@ keystone_service_in_ldap: false
|
|||||||
keystone_sp_apt_packages:
|
keystone_sp_apt_packages:
|
||||||
- libapache2-mod-shib2
|
- libapache2-mod-shib2
|
||||||
|
|
||||||
|
# Keystone notification settings
|
||||||
|
keystone_ceilometer_enabled: false
|
||||||
|
|
||||||
# Common apt packages
|
# Common apt packages
|
||||||
keystone_apt_packages:
|
keystone_apt_packages:
|
||||||
- apache2
|
- apache2
|
||||||
|
@ -19,6 +19,10 @@ log_file = keystone.log
|
|||||||
log_dir = /var/log/keystone
|
log_dir = /var/log/keystone
|
||||||
rpc_backend = {{ keystone_rpc_backend }}
|
rpc_backend = {{ keystone_rpc_backend }}
|
||||||
|
|
||||||
|
{% if keystone_ceilometer_enabled %}
|
||||||
|
notification_driver = messagingv2
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if 'memcache' in keystone_token_driver and 'fernet' not in keystone_token_provider %}
|
{% if 'memcache' in keystone_token_driver and 'fernet' not in keystone_token_provider %}
|
||||||
[memcache]
|
[memcache]
|
||||||
servers = {{ keystone_memcached_servers }}
|
servers = {{ keystone_memcached_servers }}
|
||||||
@ -159,4 +163,3 @@ trusted_dashboard = {{ item }}
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ heat_ceilometer_enabled: True
|
|||||||
neutron_ceilometer_enabled: True
|
neutron_ceilometer_enabled: True
|
||||||
nova_ceilometer_enabled: True
|
nova_ceilometer_enabled: True
|
||||||
swift_ceilometer_enabled: True
|
swift_ceilometer_enabled: True
|
||||||
|
keystone_ceilometer_enabled: True
|
||||||
|
|
||||||
## Aodh Options
|
## Aodh Options
|
||||||
aodh_db_type: mongodb
|
aodh_db_type: mongodb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user