diff --git a/defaults/main.yml b/defaults/main.yml index 3a05b6a1..8075bef8 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -232,8 +232,6 @@ octavia_loadbalancer_topology: SINGLE octavia_glance_image_tag: octavia-amphora-image # add here the id of the image owner to avoid faked images being used octavia_amp_image_owner_id: -# add here the glance image id if tagging is not used (not recommended for prod) -octavia_amp_image_id: # download the image from an artefact server # Note: The default is the Octavia test image so don't use that in prod octavia_download_artefact: True diff --git a/releasenotes/notes/remove_amp_image_id-433eefffba7d6a96.yaml b/releasenotes/notes/remove_amp_image_id-433eefffba7d6a96.yaml new file mode 100644 index 00000000..d3033078 --- /dev/null +++ b/releasenotes/notes/remove_amp_image_id-433eefffba7d6a96.yaml @@ -0,0 +1,6 @@ +--- +deprecations: + - | + Remove ``octavia_amp_image_id`` option as the corresponding configuration + option in Octavia ``amp_image_id`` is deprected and image tags should be + used instead. diff --git a/templates/octavia.conf.j2 b/templates/octavia.conf.j2 index 9e8c8a06..c5fd4f78 100644 --- a/templates/octavia.conf.j2 +++ b/templates/octavia.conf.j2 @@ -89,12 +89,12 @@ server_ca = /etc/octavia/certs/server_ca.pem [controller_worker] amp_active_retries = {{ octavia_amp_active_retries }} -amp_image_id = {{ octavia_amp_image_id }} amp_image_tag = {{ octavia_glance_image_tag }} amp_image_owner_id = {{ octavia_amp_image_owner_id }} amp_flavor_id = {{ octavia_nova_flavor_uuid }} +{% if octavia_ssh_enabled %} amp_ssh_key_name = {{ octavia_ssh_key_name }} -amp_ssh_access_allowed = {{ octavia_ssh_enabled }} +{% endif %} amp_boot_network_list = {{ octavia_neutron_management_network_uuid }} amp_secgroup_list = {{ octavia_security_group_name }} client_ca = /etc/octavia/certs/client_ca.pem