2018-04-04 09:40:53 |
Lucas Alvares Gomes |
bug |
|
|
added bug |
2018-04-04 09:40:59 |
Lucas Alvares Gomes |
networking-ovn: status |
New |
Confirmed |
|
2018-04-04 09:48:25 |
Lucas Alvares Gomes |
description |
The tempest test "test_create_port_when_quotas_is_full" 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 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].
[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 |
The tempest test "test_create_port_when_quotas_is_full" 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].
[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 |
|
2018-04-04 10:56:55 |
Lucas Alvares Gomes |
summary |
Tempest: test_create_port_when_quotas_is_full fails when OVN metadata is enabled |
Tempest: test_create_port_when_quotas_is_full and test_create_subnet_from_pool_with_quota fails when OVN metadata is enabled |
|
2018-04-04 10:58:41 |
Lucas Alvares Gomes |
description |
The tempest test "test_create_port_when_quotas_is_full" 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].
[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 |
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 |
|