tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.* tempest tests are failing repeatedly in the gate for networking-ovn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-odl |
Invalid
|
Critical
|
Unassigned | ||
networking-ovn |
Fix Released
|
Critical
|
Numan Siddique | ||
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
We are seeing a lot of tempest failures for the tests tempest.
with the below error.
Either we should fix the error or at least disable these tests temporarily.
t156.9: tempest.
stderr
stdout
pythonlogging:'': {{{
2016-02-26 07:29:46,168 4673 INFO [tempest.
2016-02-26 07:29:46,169 4673 DEBUG [tempest.
Body: {"subnet": {"cidr": "2003::/64", "ip_version": 6, "network_id": "4c7de56a-
Response - Headers: {'content-length': '132', 'status': '404', 'date': 'Fri, 26 Feb 2016 07:29:46 GMT', 'connection': 'close', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-
Body: {"NeutronError": {"message": "Port 598c23eb-
2016-02-26 07:29:46,196 4673 INFO [tempest.
2016-02-26 07:29:46,197 4673 DEBUG [tempest.
Body: None
Response - Headers: {'content-
Body: {"ports": []}
2016-02-26 07:29:46,250 4673 INFO [tempest.
2016-02-26 07:29:46,251 4673 DEBUG [tempest.
Body: None
Response - Headers: {'content-
Body: {"subnets": [{"name": "", "enable_dhcp": true, "network_id": "4c7de56a-
2016-02-26 07:29:46,293 4673 INFO [tempest.
2016-02-26 07:29:46,293 4673 DEBUG [tempest.
Body: None
Response - Headers: {'content-
Body: {"routers": []}
}}}
Traceback (most recent call last):
File "tempest/
real_ip, eui_ip = self._get_
File "tempest/
subnet = self.create_
File "tempest/
**kwargs)
File "tempest/
return self.create_
File "tempest/
resp, body = self.post(req_uri, req_post_data)
File "tempest/
return self.request(
File "tempest/
resp, resp_body)
File "tempest/
raise exceptions.
tempest.
Details: {u'message': u'Port 598c23eb-
Changed in networking-ovn: | |
assignee: | nobody → Numan Siddique (numansiddique) |
status: | New → In Progress |
Changed in networking-ovn: | |
importance: | Undecided → High |
importance: | High → Critical |
summary: |
tempest.api.network.test_dhcp_ipv6.NetworksTestDHCPv6.* tempest tests - are failing repeatedly in the gate + are failing repeatedly in the gate for networking-ovn |
affects: | networking-ovn → neutron |
affects: | neutron → networking-ovn |
Changed in neutron: | |
assignee: | nobody → Numan Siddique (numansiddique) |
no longer affects: | neutron |
Changed in neutron: | |
assignee: | nobody → Numan Siddique (numansiddique) |
status: | New → In Progress |
The reason for port not found is because, dhcp agent calls rpc api "release_dhcp_port" and the port is deleted. And then when the tempest test calls create_subnet, db_base_ plugin_ v2.NeutronDbPlu ginV2._ create_ subnet, tries to update this port (https:/ /github. com/openstack/ neutron/ blob/master/ neutron/ db/db_base_ plugin_ v2.py#L595).
I am failing to understand why _create_subnet is updating the port if the subnet is auto address subnet.
This is a timing issue.