octavia prepare.yaml gateway_ip variable is set incorrectly.

Bug #1949260 reported by Mitchell Walls
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
wu.chunyang

Bug Description

line 131 in kolla-ansible/ansible/roles/octavia/tasks/prepare.yml is wrong going by the docs https://docs.openstack.org/kolla-ansible/latest/reference/networking/octavia.html

currently is:
gateway_ip: "{{ octavia_amp_network['gateway_ip'] | default(omit, true) }}"

should be:
gateway_ip: "{{ octavia_amp_network['subnet']['gateway_ip'] | default(omit, true) }}"

Revision history for this message
wu.chunyang (wuchunyang) wrote :

thanks for you report. I've already verified that

Changed in kolla-ansible:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → wu.chunyang (wuchunyang)
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Wu, please use status "Triaged" if you verify this as a core.

wu.chunyang (wuchunyang)
Changed in kolla-ansible:
status: Confirmed → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
Changed in kolla-ansible:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/817034
Committed: https://opendev.org/openstack/kolla-ansible/commit/d7706aac1b1d356eaaa04ef57f4b920adcfe3668
Submitter: "Zuul (22348)"
Branch: master

commit d7706aac1b1d356eaaa04ef57f4b920adcfe3668
Author: wu.chunyang <email address hidden>
Date: Mon Nov 8 23:00:49 2021 +0800

    Fix octavia doesn't set subnet gateway_ip

    the gateway_ip should be in subnet dict.

    Closes-Bug: #1949260
    Change-Id: Iaa3fc69ee7954b5b202b0a6052c30bfb1780e84b

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/817267

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/817268

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/817269

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/817267
Committed: https://opendev.org/openstack/kolla-ansible/commit/7659f1e3204a578b32294bba226e174b112498be
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 7659f1e3204a578b32294bba226e174b112498be
Author: wu.chunyang <email address hidden>
Date: Mon Nov 8 23:00:49 2021 +0800

    Fix octavia doesn't set subnet gateway_ip

    the gateway_ip should be in subnet dict.

    Closes-Bug: #1949260
    Change-Id: Iaa3fc69ee7954b5b202b0a6052c30bfb1780e84b
    (cherry picked from commit d7706aac1b1d356eaaa04ef57f4b920adcfe3668)

tags: added: in-stable-xena
tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/817268
Committed: https://opendev.org/openstack/kolla-ansible/commit/951a25facdcdc9af3bd59646670f42de0de91d68
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 951a25facdcdc9af3bd59646670f42de0de91d68
Author: wu.chunyang <email address hidden>
Date: Mon Nov 8 23:00:49 2021 +0800

    Fix octavia doesn't set subnet gateway_ip

    the gateway_ip should be in subnet dict.

    Closes-Bug: #1949260
    Change-Id: Iaa3fc69ee7954b5b202b0a6052c30bfb1780e84b
    (cherry picked from commit d7706aac1b1d356eaaa04ef57f4b920adcfe3668)

tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/817269
Committed: https://opendev.org/openstack/kolla-ansible/commit/4305edb2f01de6ca6f841889b36f6b31841ffee1
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 4305edb2f01de6ca6f841889b36f6b31841ffee1
Author: wu.chunyang <email address hidden>
Date: Mon Nov 8 23:00:49 2021 +0800

    Fix octavia doesn't set subnet gateway_ip

    the gateway_ip should be in subnet dict.

    Closes-Bug: #1949260
    Change-Id: Iaa3fc69ee7954b5b202b0a6052c30bfb1780e84b
    (cherry picked from commit d7706aac1b1d356eaaa04ef57f4b920adcfe3668)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 13.0.0.0rc3

This issue was fixed in the openstack/kolla-ansible 13.0.0.0rc3 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 11.2.0

This issue was fixed in the openstack/kolla-ansible 11.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 12.3.0

This issue was fixed in the openstack/kolla-ansible 12.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 14.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 14.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.