Tempest: test_create_port_when_quotas_is_full and test_create_subnet_from_pool_with_quota fails when OVN metadata is enabled

Bug #1761119 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Confirmed
Undecided
Unassigned

Bug Description

The tempest tests "test_create_port_when_quotas_is_full" and "test_create_subnet_from_pool_with_quota" from neutron-tempest-plugin fails when the OVN metadata is enabled.

When OVN metadata is enabled networking-ovn will create a metadata port when a network is created [0]. That will fulfill the quota limit set by that test [1]. The test then tries to create the ports to reach the quota but in the OVN w/ metadata case it will fail when creating the first one [2].

By creating that port one IP will also be allocated in the subnet, causing the "test_create_subnet_from_pool_with_quota" with: "No more IP addresses available on network ..."

[0] https://github.com/openstack/networking-ovn/blob/f3f5257fc465bbf44d589cc16e9ef7781f6b5b1d/networking_ovn/common/ovn_client.py#L1154

[1] https://github.com/openstack/neutron-tempest-plugin/blob/35bf37d1830328d72606f9c790b270d4fda2b854/neutron_tempest_plugin/api/admin/test_quotas_negative.py#L66

[2] https://github.com/openstack/neutron-tempest-plugin/blob/35bf37d1830328d72606f9c790b270d4fda2b854/neutron_tempest_plugin/api/admin/test_quotas_negative.py#L83

Changed in networking-ovn:
status: New → Confirmed
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-ovn (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/558771

summary: - Tempest: test_create_port_when_quotas_is_full fails when OVN metadata is
+ Tempest: test_create_port_when_quotas_is_full and
+ test_create_subnet_from_pool_with_quota fails when OVN metadata is
enabled
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-ovn (master)

Change abandoned by Lucas Alvares Gomes (<email address hidden>) on branch: master
Review: https://review.openstack.org/558771

Revision history for this message
Brian Haley (brian-haley) wrote :

This looks like it was fixed with https://review.openstack.org/#/c/559771/ ?

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.