diff --git a/ansible/roles/octavia/tasks/prepare.yml b/ansible/roles/octavia/tasks/prepare.yml index c924874664..b3815f0867 100644 --- a/ansible/roles/octavia/tasks/prepare.yml +++ b/ansible/roles/octavia/tasks/prepare.yml @@ -128,7 +128,7 @@ allocation_pool_end: "{{ octavia_amp_network['subnet']['allocation_pool_end'] | default(omit, true) }}" enable_dhcp: "{{ octavia_amp_network['subnet']['enable_dhcp'] | default(omit) }}" no_gateway_ip: "{{ octavia_amp_network['subnet']['no_gateway_ip'] | default(omit) }}" - gateway_ip: "{{ octavia_amp_network['gateway_ip'] | default(omit, true) }}" + gateway_ip: "{{ octavia_amp_network['subnet']['gateway_ip'] | default(omit, true) }}" ip_version: "{{ octavia_amp_network['subnet']['ip_version'] | default(omit) }}" ipv6_address_mode: "{{ octavia_amp_network['subnet']['ipv6_address_mode'] | default(omit) }}" ipv6_ra_mode: "{{ octavia_amp_network['subnet']['ipv6_ra_mode'] | default(omit) }}" diff --git a/releasenotes/notes/bug-1949260-34d82ecd677dd8ff.yaml b/releasenotes/notes/bug-1949260-34d82ecd677dd8ff.yaml new file mode 100644 index 0000000000..4358d6b1ec --- /dev/null +++ b/releasenotes/notes/bug-1949260-34d82ecd677dd8ff.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fix octavia role doesn't set the amphora network's gateway_ip + `LP#1949260 `__