test_create_port_in_allowed_allocation_pools: No more IP addresses available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Guillaume Chenuet |
Bug Description
When running Tempest test 'tempest.
As we have 3 controllers, each one pick an IP and the pools have no more IP available.
In the code, the function created a new subnet with only 3 IPs available for the allocation pools. (ex: 192.168.1.4 - 192.168.1.6).
-----
pythonlogging:'': {{{
2015-11-09 11:49:18,795 22399 INFO [tempest_
2015-11-09 11:49:18,796 22399 DEBUG [tempest_
Body: None
Response - Headers: {'status': '200', 'content-length': '4199', 'vary': 'X-Auth-Token', 'connection': 'close', 'date': 'Mon, 09 Nov 2015 14:46:54 GMT', 'content-type': 'application/json', 'x-openstack-
Body: None
2015-11-09 11:49:18,948 22399 INFO [tempest_
2015-11-09 11:49:18,948 22399 DEBUG [tempest_
Body: {"network": {"name": "test-network-
Response - Headers: {'status': '201', 'content-length': '256', 'connection': 'close', 'date': 'Mon, 09 Nov 2015 14:46:54 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-
Body: {"network": {"status": "ACTIVE", "subnets": [], "name": "test-network-
2015-11-09 11:49:19,051 22399 INFO [tempest_
2015-11-09 11:49:19,051 22399 DEBUG [tempest_
Body: None
Response - Headers: {'status': '200', 'content-length': '4199', 'vary': 'X-Auth-Token', 'connection': 'close', 'date': 'Mon, 09 Nov 2015 14:46:54 GMT', 'content-type': 'application/json', 'x-openstack-
Body: None
2015-11-09 11:49:19,306 22399 INFO [tempest_
2015-11-09 11:49:19,307 22399 DEBUG [tempest_
Body: {"subnet": {"ip_version": 4, "network_id": "12e0345d-
Response - Headers: {'status': '201', 'content-length': '446', 'connection': 'close', 'date': 'Mon, 09 Nov 2015 14:46:54 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-
Body: {"subnet": {"name": "", "enable_dhcp": true, "network_id": "12e0345d-
2015-11-09 11:49:19,430 22399 INFO [tempest_
2015-11-09 11:49:19,431 22399 DEBUG [tempest_
Body: None
Response - Headers: {'status': '200', 'content-length': '4199', 'vary': 'X-Auth-Token', 'connection': 'close', 'date': 'Mon, 09 Nov 2015 14:46:54 GMT', 'content-type': 'application/json', 'x-openstack-
Body: None
2015-11-09 11:49:19,622 22399 INFO [tempest_
2015-11-09 11:49:19,622 22399 DEBUG [tempest_
Body: {"port": {"network_id": "12e0345d-
Response - Headers: {'status': '409', 'content-length': '164', 'connection': 'close', 'date': 'Mon, 09 Nov 2015 14:46:54 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-
Body: {"NeutronError": {"message": "No more IP addresses available on network 12e0345d-
2015-11-09 11:49:19,734 22399 INFO [tempest_
2015-11-09 11:49:19,735 22399 DEBUG [tempest_
Body: None
Response - Headers: {'status': '200', 'content-length': '4199', 'vary': 'X-Auth-Token', 'connection': 'close', 'date': 'Mon, 09 Nov 2015 14:46:55 GMT', 'content-type': 'application/json', 'x-openstack-
Body: None
2015-11-09 11:49:20,312 22399 INFO [tempest_
2015-11-09 11:49:20,312 22399 DEBUG [tempest_
Body: None
Response - Headers: {'date': 'Mon, 09 Nov 2015 14:46:55 GMT', 'status': '204', 'connection': 'close', 'content-length': '0', 'x-openstack-
Body:
}}}
Traceback (most recent call last):
File "/home/
body = self.client.
File "/home/
resp, body = self.post(uri, post_data)
File "/usr/lib/
return self.request(
File "/usr/lib/
resp, resp_body)
File "/usr/lib/
raise exceptions.
Conflict: An object with that identifier already exists
Details: {u'message': u'No more IP addresses available on network 12e0345d-
description: | updated |
Changed in tempest: | |
assignee: | nobody → Guillaume Chenuet (gchenuet) |
status: | New → In Progress |
Fix proposed to branch: master /review. openstack. org/243649
Review: https:/