Merge "Simplify Openstack services configuration possibilities"
This commit is contained in:
commit
9cdbae707b
@ -31,8 +31,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/aodh.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/aodh.conf"
|
||||
- "{{ node_custom_config }}/aodh/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/aodh/{{ inventory_hostname }}/aodh.conf"
|
||||
|
@ -67,8 +67,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/barbican.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/barbican.conf"
|
||||
- "{{ node_custom_config }}/barbican/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/barbican/{{ inventory_hostname }}/barbican.conf"
|
||||
|
@ -30,8 +30,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/ceilometer.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/ceilometer.conf"
|
||||
- "{{ node_custom_config }}/ceilometer/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/ceilometer/{{ inventory_hostname }}/ceilometer.conf"
|
||||
|
@ -48,8 +48,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/cinder.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/cinder.conf"
|
||||
- "{{ node_custom_config }}/cinder/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/cinder/{{ inventory_hostname }}/cinder.conf"
|
||||
|
@ -29,8 +29,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/cloudkitty.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/cloudkitty.conf"
|
||||
- "{{ node_custom_config }}/cloudkitty/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/cloudkitty/{{ inventory_hostname }}/cloudkitty.conf"
|
||||
|
@ -26,8 +26,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/congress.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/congress.conf"
|
||||
- "{{ node_custom_config }}/congress/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/congress/{{ inventory_hostname }}/congress.conf"
|
||||
|
@ -33,8 +33,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/designate.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/designate.conf"
|
||||
- "{{ node_custom_config }}/designate/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/designate/{{ inventory_hostname }}/designate.conf"
|
||||
|
@ -40,8 +40,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/freezer-api.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/freezer.conf"
|
||||
- "{{ node_custom_config }}/freezer/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/freezer/{{ inventory_hostname }}/{{ item.key }}.conf"
|
||||
|
@ -29,8 +29,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/{{ item.key }}.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/glance.conf"
|
||||
- "{{ node_custom_config }}/glance/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/glance/{{ inventory_hostname }}/{{ item.key }}.conf"
|
||||
|
@ -30,8 +30,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/gnocchi.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/gnocchi.conf"
|
||||
- "{{ node_custom_config }}/gnocchi/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/gnocchi/{{ inventory_hostname }}/gnocchi.conf"
|
||||
|
@ -37,8 +37,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/heat.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/heat.conf"
|
||||
- "{{ node_custom_config }}/heat/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/heat/{{ inventory_hostname }}/heat.conf"
|
||||
|
@ -29,8 +29,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/ironic.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/ironic.conf"
|
||||
- "{{ node_custom_config }}/ironic/{{ item }}.conf"
|
||||
- "{{ node_custom_config }}/ironic/{{ inventory_hostname }}/ironic.conf"
|
||||
@ -46,8 +44,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/ironic-inspector.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/ironic-inspector.conf"
|
||||
- "{{ node_custom_config }}/ironic-inspector/inspector.conf"
|
||||
- "{{ node_custom_config }}/ironic-inspector/{{ inventory_hostname }}/inspector.conf"
|
||||
|
@ -30,8 +30,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/karbor.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/karbor.conf"
|
||||
- "{{ node_custom_config }}/karbor/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/karbor/{{ inventory_hostname }}/karbor.conf"
|
||||
|
@ -40,8 +40,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/keystone.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/keystone.conf"
|
||||
- "{{ node_custom_config }}/keystone/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/keystone/{{ inventory_hostname }}/keystone.conf"
|
||||
|
@ -28,8 +28,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/kuryr.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/kuryr.conf"
|
||||
- "{{ node_custom_config }}/kuryr/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/kuryr/{{ inventory_hostname }}/{{ item.key }}.conf"
|
||||
|
@ -29,8 +29,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/magnum.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/magnum.conf"
|
||||
- "{{ node_custom_config }}/magnum/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/magnum/{{ inventory_hostname }}/magnum.conf"
|
||||
|
@ -28,8 +28,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/manila.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/manila.conf"
|
||||
- "{{ node_custom_config }}/manila/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/manila/{{ inventory_hostname }}/manila.conf"
|
||||
@ -54,8 +52,6 @@
|
||||
- "{{ role_path }}/templates/manila.conf.j2"
|
||||
- "{{ role_path }}/templates/manila-share.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/manila.conf"
|
||||
- "{{ node_custom_config }}/{{ item }}.conf"
|
||||
- "{{ node_custom_config }}/manila/{{ item }}.conf"
|
||||
|
@ -26,8 +26,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/mistral.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/mistral.conf"
|
||||
- "{{ node_custom_config }}/mistral/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/mistral/{{ inventory_hostname }}/mistral.conf"
|
||||
|
@ -23,8 +23,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/murano.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/murano.conf"
|
||||
- "{{ node_custom_config }}/murano/{{ item }}.conf"
|
||||
- "{{ node_custom_config }}/murano/{{ inventory_hostname }}/murano.conf"
|
||||
|
@ -24,8 +24,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/neutron.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/neutron.conf"
|
||||
- "{{ node_custom_config }}/neutron/{{ item }}.conf"
|
||||
- "{{ node_custom_config }}/neutron/{{ inventory_hostname }}/neutron.conf"
|
||||
|
@ -52,8 +52,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/neutron.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/neutron.conf"
|
||||
- "{{ node_custom_config }}/neutron/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/neutron/{{ inventory_hostname }}/neutron.conf"
|
||||
|
@ -23,8 +23,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/nova.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/nova.conf"
|
||||
- "{{ node_custom_config }}/nova/{{ item }}.conf"
|
||||
- "{{ node_custom_config }}/nova/{{ inventory_hostname }}/nova.conf"
|
||||
|
@ -50,8 +50,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/nova.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/nova.conf"
|
||||
- "{{ node_custom_config }}/nova/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/nova/{{ inventory_hostname }}/nova.conf"
|
||||
|
@ -28,8 +28,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/octavia.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/octavia.conf"
|
||||
- "{{ node_custom_config }}/octavia/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/octavia/{{ inventory_hostname }}/octavia.conf"
|
||||
|
@ -28,8 +28,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/panko.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/panko.conf"
|
||||
- "{{ node_custom_config }}/panko/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/panko/{{ inventory_hostname }}/{{ item.key }}.conf"
|
||||
|
@ -29,8 +29,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/sahara.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/sahara.conf"
|
||||
- "{{ node_custom_config }}/sahara/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/sahara/{{ inventory_hostname }}/sahara.conf"
|
||||
|
@ -26,7 +26,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/searchlight.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/searchlight.conf"
|
||||
- "{{ node_custom_config }}/searchlight/{{ inventory_hostname }}/searchlight.conf"
|
||||
dest: "{{ node_config_directory }}/{{ item.key }}/searchlight.conf"
|
||||
|
@ -29,8 +29,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/senlin.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/senlin.conf"
|
||||
- "{{ node_custom_config }}/senlin/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/senlin/{{ inventory_hostname }}/senlin.conf"
|
||||
|
@ -31,8 +31,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/solum.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/solum.conf"
|
||||
- "{{ node_custom_config }}/solum/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/solum/{{ inventory_hostname }}/solum.conf"
|
||||
|
@ -29,8 +29,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/tacker.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/tacker.conf"
|
||||
- "{{ node_custom_config }}/tacker/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/tacker/{{ inventory_hostname }}/tacker.conf"
|
||||
|
@ -42,8 +42,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/trove.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/trove.conf"
|
||||
- "{{ node_custom_config }}/trove/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/trove/{{ inventory_hostname }}/trove.conf"
|
||||
|
@ -30,8 +30,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/watcher.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/watcher.conf"
|
||||
- "{{ node_custom_config }}/watcher/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/watcher/{{ inventory_hostname }}/watcher.conf"
|
||||
|
@ -27,8 +27,6 @@
|
||||
sources:
|
||||
- "{{ role_path }}/templates/zun.conf.j2"
|
||||
- "{{ node_custom_config }}/global.conf"
|
||||
- "{{ node_custom_config }}/database.conf"
|
||||
- "{{ node_custom_config }}/messaging.conf"
|
||||
- "{{ node_custom_config }}/zun.conf"
|
||||
- "{{ node_custom_config }}/zun/{{ item.key }}.conf"
|
||||
- "{{ node_custom_config }}/zun/{{ inventory_hostname }}/zun.conf"
|
||||
|
@ -181,6 +181,17 @@ on host myhost, the operator needs to create file
|
||||
[DEFAULT]
|
||||
ram_allocation_ratio = 5.0
|
||||
|
||||
Kolla allows the operator to override configuration globally for all services.
|
||||
It will look for a file called ``/etc/kolla/config/global.conf``.
|
||||
|
||||
For example to modify database pool size connection for all services, the
|
||||
operator needs to create ``/etc/kolla/config/global.conf`` with content:
|
||||
|
||||
::
|
||||
|
||||
[database]
|
||||
max_pool_size = 100
|
||||
|
||||
The operator can make these changes after services were already deployed by
|
||||
using following command:
|
||||
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The following files /etc/kolla/config/database.conf and /etc/kolla/config/messaging.conf
|
||||
used to generate Openstack services config files are redundant with /etc/kolla/config/global.conf.
|
||||
They have been removed in order to simplify codebase.
|
Loading…
Reference in New Issue
Block a user