Do not enable nova_legacy service by default

Change-Id: Ic89097fdc72d4fa11754201ed6e388bf79ca40b6
This commit is contained in:
Radosław Piliszek 2022-08-05 16:01:46 +02:00
parent 927e5f04a3
commit 4277c1a1a4
3 changed files with 11 additions and 0 deletions

View File

@ -212,6 +212,8 @@ nova_superconductor_workers: "{{ openstack_service_workers }}"
nova_metadata_api_workers: "{{ openstack_service_workers }}"
nova_scheduler_workers: "{{ openstack_service_workers }}"
nova_enable_nova_legacy_service: false
####################
# Keystone
####################
@ -222,6 +224,7 @@ nova_ks_services:
endpoints:
- {'interface': 'internal', 'url': '{{ nova_legacy_internal_endpoint }}'}
- {'interface': 'public', 'url': '{{ nova_legacy_public_endpoint }}'}
enabled: "{{ nova_enable_nova_legacy_service | bool }}"
- name: "nova"
type: "compute"
description: "OpenStack Compute Service"

View File

@ -20,6 +20,7 @@
until: service_ks_register_result is success
retries: "{{ service_ks_register_retries }}"
delay: "{{ service_ks_register_delay }}"
when: item.enabled | default(True) | bool
- name: "{{ project_name }} | Creating endpoints"
kolla_toolbox:
@ -45,6 +46,7 @@
until: service_ks_register_result is success
retries: "{{ service_ks_register_retries }}"
delay: "{{ service_ks_register_delay }}"
when: item.0.enabled | default(True) | bool
- name: "{{ project_name }} | Creating projects"
kolla_toolbox:

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The Nova legacy service and its endpoints are no longer advertised by
default. To revert to the old behaviour, please set
``nova_enable_nova_legacy_service: true`` in ``globals.yml``.