[OVN] Method "create_metadata_port" should pass the "fixed_ips" when creating the port

Bug #2011724 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Rodolfo Alonso

Bug Description

The method "create_metadata_port" creates the OVN metadata port. This port should have fixed IP addresses only on the subnets with DHCP enabled. Now this method is just creating a port in the selected network, without handling the DHCP status of the subnets. However, this method should fetch the network subnets and explicitly request a fixed IP only on those subnets with "dhcp_enabled" flag active.

Related bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2178599

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/877528

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/877528
Committed: https://opendev.org/openstack/neutron/commit/9704dca84ea3ad21ecf9730eea03692daeddf382
Submitter: "Zuul (22348)"
Branch: master

commit 9704dca84ea3ad21ecf9730eea03692daeddf382
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 15 06:29:39 2023 +0100

    [OVN] Explicitly define the fixed IPs for the metadata port

    The metadata port fixed IPs depend on the subnets "enabled_dhcp" flag.
    If the subnet has this flag disabled, the metadata port doesn't receive
    an IP on the subnet CIDR.

    The method ``create_metadata_port`` should explicitly define what fixed
    IPs should request the metadata port during the creating depending on
    the subnets "enabled_dhcp" flag.

    Closes-Bug: #2011724
    Change-Id: If362fab20ac03f8b62471b60c031f9349171ce93

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

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/neutron/+/877978

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/neutron/+/877979

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/neutron/+/877980

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/neutron/+/877984

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

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/neutron/+/877985

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/877978
Committed: https://opendev.org/openstack/neutron/commit/f822742af06b4e0e7e9729ad600102258df0ddad
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit f822742af06b4e0e7e9729ad600102258df0ddad
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 15 06:29:39 2023 +0100

    [OVN] Explicitly define the fixed IPs for the metadata port

    The metadata port fixed IPs depend on the subnets "enabled_dhcp" flag.
    If the subnet has this flag disabled, the metadata port doesn't receive
    an IP on the subnet CIDR.

    The method ``create_metadata_port`` should explicitly define what fixed
    IPs should request the metadata port during the creating depending on
    the subnets "enabled_dhcp" flag.

    Closes-Bug: #2011724
    Change-Id: If362fab20ac03f8b62471b60c031f9349171ce93
    (cherry picked from commit 9704dca84ea3ad21ecf9730eea03692daeddf382)

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/877979
Committed: https://opendev.org/openstack/neutron/commit/d35fa4cdd3f71900ebee66e2297b3c39658420e4
Submitter: "Zuul (22348)"
Branch: stable/zed

commit d35fa4cdd3f71900ebee66e2297b3c39658420e4
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 15 06:29:39 2023 +0100

    [OVN] Explicitly define the fixed IPs for the metadata port

    The metadata port fixed IPs depend on the subnets "enabled_dhcp" flag.
    If the subnet has this flag disabled, the metadata port doesn't receive
    an IP on the subnet CIDR.

    The method ``create_metadata_port`` should explicitly define what fixed
    IPs should request the metadata port during the creating depending on
    the subnets "enabled_dhcp" flag.

    Closes-Bug: #2011724
    Change-Id: If362fab20ac03f8b62471b60c031f9349171ce93
    (cherry picked from commit 9704dca84ea3ad21ecf9730eea03692daeddf382)

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/877980
Committed: https://opendev.org/openstack/neutron/commit/9150206a0744616cdc64313b62b718e7a2688d25
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 9150206a0744616cdc64313b62b718e7a2688d25
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 15 06:29:39 2023 +0100

    [OVN] Explicitly define the fixed IPs for the metadata port

    The metadata port fixed IPs depend on the subnets "enabled_dhcp" flag.
    If the subnet has this flag disabled, the metadata port doesn't receive
    an IP on the subnet CIDR.

    The method ``create_metadata_port`` should explicitly define what fixed
    IPs should request the metadata port during the creating depending on
    the subnets "enabled_dhcp" flag.

    Closes-Bug: #2011724
    Change-Id: If362fab20ac03f8b62471b60c031f9349171ce93
    (cherry picked from commit 9704dca84ea3ad21ecf9730eea03692daeddf382)

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/877984
Committed: https://opendev.org/openstack/neutron/commit/92e55ab51f228fa26c530eed00eba1ee15508422
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 92e55ab51f228fa26c530eed00eba1ee15508422
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 15 06:29:39 2023 +0100

    [OVN] Explicitly define the fixed IPs for the metadata port

    The metadata port fixed IPs depend on the subnets "enabled_dhcp" flag.
    If the subnet has this flag disabled, the metadata port doesn't receive
    an IP on the subnet CIDR.

    The method ``create_metadata_port`` should explicitly define what fixed
    IPs should request the metadata port during the creating depending on
    the subnets "enabled_dhcp" flag.

    Closes-Bug: #2011724
    Change-Id: If362fab20ac03f8b62471b60c031f9349171ce93
    (cherry picked from commit 9704dca84ea3ad21ecf9730eea03692daeddf382)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/877985
Committed: https://opendev.org/openstack/neutron/commit/512e1d64e3e9a5f12335e8aca9fde15eb186bf8c
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 512e1d64e3e9a5f12335e8aca9fde15eb186bf8c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 15 06:29:39 2023 +0100

    [OVN] Explicitly define the fixed IPs for the metadata port

    The metadata port fixed IPs depend on the subnets "enabled_dhcp" flag.
    If the subnet has this flag disabled, the metadata port doesn't receive
    an IP on the subnet CIDR.

    The method ``create_metadata_port`` should explicitly define what fixed
    IPs should request the metadata port during the creating depending on
    the subnets "enabled_dhcp" flag.

    Closes-Bug: #2011724
    Change-Id: If362fab20ac03f8b62471b60c031f9349171ce93
    (cherry picked from commit 9704dca84ea3ad21ecf9730eea03692daeddf382)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 19.7.0

This issue was fixed in the openstack/neutron 19.7.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 23.0.0.0b2

This issue was fixed in the openstack/neutron 23.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 22.0.1

This issue was fixed in the openstack/neutron 22.0.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 21.1.1

This issue was fixed in the openstack/neutron 21.1.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 20.3.1

This issue was fixed in the openstack/neutron 20.3.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron wallaby-eom

This issue was fixed in the openstack/neutron wallaby-eom release.

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

Other bug subscribers

Remote bug watches

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