Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/api/test_subnets.py", line 91, in test_allocate_ips_are_from_correct_subnet cidr=str(cidr_1))
File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/api/base.py", line 465, in create_subnet
**kwargs)
File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/services/network/json/network_client.py", line 145, in _create
resp, body = self.post(uri, post_data)
File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 299, in post
return self.request('POST', url, extra_headers, headers, body, chunked)
File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body)
File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 824, in _error_checker
raise exceptions.Conflict(resp_body, resp=resp)
tempest.lib.exceptions.Conflict: Conflict with state of target resource
Details: {'type': 'IpAddressGenerationFailureNoMatchingSubnet', 'message': 'No valid service subnet for the given device owner, network 13fb40e3-9cb7-4e41-beb0-b762f3cb0306, service type network:distributed.', 'detail': ''}
Captured pythonlogging:
~~~~~~~~~~~~~~~~~~~~~~~
2021-07-06 08:33:27,115 213754 INFO [tempest.lib.common.rest_client] Request (SubnetServiceTypeTestJSON:test_allocate_ips_are_from_correct_subnet): 409 POST http://192.168.24.3:9696/v2.0/subnets 0.873s
2021-07-06 08:33:27,116 213754 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: {"subnet": {"network_id": "13fb40e3-9cb7-4e41-beb0-b762f3cb0306", "cidr": "192.168.1.0/24", "ip_version": 4, "service_types": ["test:type_1"], "gateway_ip": "192.168.1.1"}}
Response - Headers: {'content-type': 'application/json', 'content-length': '232', 'x-openstack-request-id': 'req-b4ce6cfe-fda6-47db-bece-b016abd95a61', 'date': 'Tue, 06 Jul 2021 08:33:27 GMT', 'connection': 'close', 'status': '409', 'content-location': 'http://192.168.24.3:9696/v2.0/subnets'}
Body: b'{"NeutronError": {"type": "IpAddressGenerationFailureNoMatchingSubnet", "message": "No valid service subnet for the given device owner, network 13fb40e3-9cb7-4e41-beb0-b762f3cb0306, service type network:distributed.", "detail": ""}}'
based on the testproject https:/ /review. rdoproject. org/r/c/ testproject/ +/34399 and https:/ /logserver. rdoproject. org/99/ 34399/1/ check/periodic- tripleo- ci-centos- 8-standalone- full-tempest- api-master/ c17638c/ logs/undercloud /var/log/ tempest/ tempest_ run.log. txt.gz tempest_ plugin. api.test_ subnets. SubnetServiceTy peTestJSON. test_allocate_ ips_are_ from_correct_ subnet[ id-7e0edb66- 1bb2-4473- ab83-d039cddced 0d] ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
```
neutron_
-------
Captured traceback: python3. 6/site- packages/ neutron_ tempest_ plugin/ api/test_ subnets. py", line 91, in test_allocate_ ips_are_ from_correct_ subnet
cidr=str( cidr_1) ) python3. 6/site- packages/ neutron_ tempest_ plugin/ api/base. py", line 465, in create_subnet python3. 6/site- packages/ neutron_ tempest_ plugin/ services/ network/ json/network_ client. py", line 145, in _create python3. 6/site- packages/ tempest/ lib/common/ rest_client. py", line 299, in post 'POST', url, extra_headers, headers, body, chunked) python3. 6/site- packages/ tempest/ lib/common/ rest_client. py", line 703, in request
self._ error_checker( resp, resp_body) python3. 6/site- packages/ tempest/ lib/common/ rest_client. py", line 824, in _error_checker Conflict( resp_body, resp=resp) lib.exceptions. Conflict: Conflict with state of target resource ationFailureNoM atchingSubnet' , 'message': 'No valid service subnet for the given device owner, network 13fb40e3- 9cb7-4e41- beb0-b762f3cb03 06, service type network: distributed. ', 'detail': ''}
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
**kwargs)
File "/usr/lib/
resp, body = self.post(uri, post_data)
File "/usr/lib/
return self.request(
File "/usr/lib/
File "/usr/lib/
raise exceptions.
tempest.
Details: {'type': 'IpAddressGener
Captured pythonlogging: ~~~~~~~ ~~~~~~~ ~~ lib.common. rest_client] Request (SubnetServiceT ypeTestJSON: test_allocate_ ips_are_ from_correct_ subnet) : 409 POST http:// 192.168. 24.3:9696/ v2.0/subnets 0.873s lib.common. rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} 9cb7-4e41- beb0-b762f3cb03 06", "cidr": "192.168.1.0/24", "ip_version": 4, "service_types": ["test:type_1"], "gateway_ip": "192.168.1.1"}} request- id': 'req-b4ce6cfe- fda6-47db- bece-b016abd95a 61', 'date': 'Tue, 06 Jul 2021 08:33:27 GMT', 'connection': 'close', 'status': '409', 'content-location': 'http:// 192.168. 24.3:9696/ v2.0/subnets'} ationFailureNoM atchingSubnet" , "message": "No valid service subnet for the given device owner, network 13fb40e3- 9cb7-4e41- beb0-b762f3cb03 06, service type network: distributed. ", "detail": ""}}'
~~~~~~~
2021-07-06 08:33:27,115 213754 INFO [tempest.
2021-07-06 08:33:27,116 213754 DEBUG [tempest.
Body: {"subnet": {"network_id": "13fb40e3-
Response - Headers: {'content-type': 'application/json', 'content-length': '232', 'x-openstack-
Body: b'{"NeutronError": {"type": "IpAddressGener
```
Apart from this patch https:/ /review. opendev. org/c/openstack /neutron/ +/797595 I am not sure Do we need to change something else somewhere to make it passing?