Comment 35 for bug 1596075

Revision history for this message
Don Bowman (donbowman) wrote :

In #34 is another run w/ the logs, w/ change from #30.

The subnet w/ the error this time is : ed204a09-8e39-4aa1-8b02-9503c2655953 (172.16.72.0/24) and there is activity for it on n1 and n3 simultaneously:

grep -l ed204a09-8e39-4aa1-8b02-9503c2655953 *log *txt
n1-neutron.log
n2-neutron-nginx.log
n3-neutron.log
n1-neutron.pcap.txt
n3-neutron.pcap.txt

so n2 nginx dealt two requests for this subnet, 1 to n1, one to n3.

The n1 req (from pcap):

010.100.010.061.51330-172.017.000.003.09696: POST //v2.0/subnets.json HTTP/1.1
X-Forwarded-For: 172.17.0.5
X-Real-IP: 172.17.0.5
X-Forwarded-Host: neutron.sandvine.rocks
X-Forwarded-Server: neutron.sandvine.rocks
X-Forwarded-Proto: https
Host: neutron.sandvine.rocks
Connection: Keep-Alive
Content-Length: 241
Accept-Encoding: gzip, deflate
Accept: application/json
User-Agent: python-neutronclient
Content-Type: application/json
X-Auth-Token: 1100c1044472418999b542fc41cd8e10

{"subnet": {"enable_dhcp": true, "network_id": "ed204a09-8e39-4aa1-8b02-9503c2655953", "dns_nameservers": [], "allocation_pools": [{"start": "172.16.72.9", "end": "172.16.72.254"}], "ip_version": 4, "cidr": "172.16.72.0/24", "name": "sn72"}}

and the n3 req:

{"network": {"status": "ACTIVE", "subnets": [], "availability_zone_hints": [], "availability_zones": [], "name": "n72", "provider:physical_network": null, "admin_state_up": true, "updated_at": "2016-07-11T02:47:41", "tenant_id": "469300d96f9f406cacda5f001d387e52", "description": "", "tags": [], "ipv6_address_scope": null, "mtu": 8950, "router:external": false, "ipv4_address_scope": null, "vlan_transparent": false, "shared": false, "created_at": "2016-07-11T02:47:41", "provider:network_type": "vxlan", "id": "ed204a09-8e39-4aa1-8b02-9503c2655953", "provider:segmentation_id": 12}}
010.100.010.061.46104-172.017.000.005.09696: GET //v2.0/networks/ed204a09-8e39-4aa1-8b02-9503c2655953.json HTTP/1.1
{"network": {"status": "ACTIVE", "subnets": [], "availability_zone_hints": [], "availability_zones": [], "name": "n72", "provider:physical_network": null, "admin_state_up": true, "updated_at": "2016-07-11T02:47:41", "tenant_id": "469300d96f9f406cacda5f001d387e52", "created_at": "2016-07-11T02:47:41", "tags": [], "ipv6_address_scope": null, "provider:segmentation_id": 12, "mtu": 8950, "router:external": false, "ipv4_address_scope": null, "vlan_transparent": false, "shared": false, "provider:network_type": "vxlan", "id": "ed204a09-8e39-4aa1-8b02-9503c2655953", "description": ""}}
010.100.010.061.46142-172.017.000.005.09696: GET //v2.0/networks.json?fields=id&id=ed204a09-8e39-4aa1-8b02-9503c2655953 HTTP/1.1
{"networks": [{"id": "ed204a09-8e39-4aa1-8b02-9503c2655953"}]}

Resource CREATE failed: BadRequest: resources.sn253: Invalid input for operation: Requested subnet with cidr: 172.16.253.0/24 for |
| | network: b1ef80c2-8236-4a24-a06f-1cfc6b26d2dd overlaps with another subnet.

also failed, i guess @ the same time.