From 59aaec13f16163b438963ff72f2f0edc1ac76c74 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 15 Nov 2022 13:21:36 +0100 Subject: [PATCH] Support copying nova_compute Kolla configuration This folder can be used to store a Nova release file [1] specific to nova_compute containers. [1] https://opendev.org/openstack/nova/src/branch/master/etc/nova/release.sample Change-Id: I2f4f02dbd6834ffd0fa5189b818bdc91a5c168a2 --- ansible/roles/kolla-openstack/vars/main.yml | 5 ++++- .../notes/kolla-config-nova-compute-3c2b18b04ce9d417.yaml | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/kolla-config-nova-compute-3c2b18b04ce9d417.yaml diff --git a/ansible/roles/kolla-openstack/vars/main.yml b/ansible/roles/kolla-openstack/vars/main.yml index 8033b354f..21ce7c583 100644 --- a/ansible/roles/kolla-openstack/vars/main.yml +++ b/ansible/roles/kolla-openstack/vars/main.yml @@ -178,7 +178,10 @@ kolla_openstack_custom_config: dest: "{{ kolla_node_custom_config_path }}/nova" patterns: "*" enabled: "{{ kolla_enable_nova }}" - # Nova. + - src: "{{ kolla_extra_config_path }}/nova_compute" + dest: "{{ kolla_node_custom_config_path }}/nova_compute" + patterns: "*" + enabled: "{{ kolla_enable_nova }}" - src: "{{ kolla_nova_libvirt_certificates_src }}" dest: "{{ kolla_node_custom_config_path }}/nova/nova-libvirt" patterns: diff --git a/releasenotes/notes/kolla-config-nova-compute-3c2b18b04ce9d417.yaml b/releasenotes/notes/kolla-config-nova-compute-3c2b18b04ce9d417.yaml new file mode 100644 index 000000000..64aaf6dea --- /dev/null +++ b/releasenotes/notes/kolla-config-nova-compute-3c2b18b04ce9d417.yaml @@ -0,0 +1,7 @@ +--- +features: + - | + Adds support for copying ``$KAYOBE_CONFIG_PATH/kolla/config/nova_compute`` + to Kolla configuration. This folder can contain a `Nova release file + `__ + which can configure the ``vendor`` or ``product`` strings used by Nova.