[OVN] "neutron-ovn-tempest-ovs-master-fedora" CI job failing since 2021-08-24

Bug #1942913 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Rodolfo Alonso
tempest
Fix Released
Undecided
Rodolfo Alonso
Changed in neutron:
importance: Undecided → Critical
tags: added: ovn
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

In OVN, when a new network and the first subnet are created, a metadata port is created (with an IP address assigned). This is not happening with other ML2 drivers.

The method "_check_network_internal_connectivity" [1] retrieves the network ports (that belong to a project) and filters those ones with "device_owner" "network:xxx" and "compute:xxx". From this list we need to remove the metadata ports; the "device_owner" of the metadata ports is "network:distributed" [2][3].

[1]https://github.com/openstack/tempest/blob/393e94a604f29940025c2c2d8f406419e7733e5c/tempest/scenario/test_network_basic_ops.py#L332-L338
[2]https://review.opendev.org/c/openstack/neutron-lib/+/732141
[3]https://review.opendev.org/c/openstack/neutron/+/732364

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

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

Changed in tempest:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/808109

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/808109
Committed: https://opendev.org/openstack/neutron/commit/421dc2195c7e47c8793e25a2d26e15e0b982f35e
Submitter: "Zuul (22348)"
Branch: master

commit 421dc2195c7e47c8793e25a2d26e15e0b982f35e
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Sep 9 16:11:46 2021 +0000

    Redefine "neutron-ovn-tempest-ovs-master-fedora" CI job

    The CI job "neutron-ovn-tempest-ovs-master-fedora" should be the same
    as "neutron-ovn-tempest-ovs-master" but executed in the Fedora nodeset.

    Related-Bug: #1942913
    Change-Id: I89700030dedab33c28baf95993206cf5cdd1e6d6

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.opendev.org/c/openstack/tempest/+/808081
Committed: https://opendev.org/openstack/tempest/commit/17655434ee475cdda4a7408cfe68f63c065fd41d
Submitter: "Zuul (22348)"
Branch: master

commit 17655434ee475cdda4a7408cfe68f63c065fd41d
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Sep 9 13:55:11 2021 +0000

    [OVN] Remove OVN metadata ports from network port list

    In "_check_network_internal_connectivity", all "network:" and
    "compute:" ports belonging to a network are retrieved. OVN
    metadata ports "network:distributed" should be filtered out because
    are not a DHCP nor L3 ports.

    This port type was introduced in Neutron in [1][2].

    [1]https://review.opendev.org/c/openstack/neutron-lib/+/732141
    [2]https://review.opendev.org/c/openstack/neutron/+/732364

    Partial-Bug: #1942913
    Change-Id: I7db94247c55f9ac39e3e30a4195cdcda6ed657d7

Changed in tempest:
status: In Progress → Invalid
status: Invalid → Fix Released
Changed in neutron:
status: New → Fix Released
tags: added: neutron-proactive-backport-potential
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.