yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #63993
[Bug 1691248] [NEW] test_dhcpv6_64_subnets failed with "u'IpAddressAlreadyAllocated', u'message': u'IP address 2003::XXX already allocated in subnet"
Public bug reported:
http://logs.openstack.org/20/464020/5/check/gate-tempest-dsvm-neutron-
linuxbridge-ubuntu-xenial/a4d35a8/logs/testr_results.html.gz
Traceback (most recent call last):
File "tempest/api/network/test_dhcp_ipv6.py", line 230, in test_dhcpv6_64_subnets
subnet_slaac = self.create_subnet(self.network, **kwargs)
File "tempest/api/network/base.py", line 180, in create_subnet
**kwargs)
File "tempest/lib/services/network/subnets_client.py", line 27, in create_subnet
return self.create_resource(uri, post_data)
File "tempest/lib/services/network/base.py", line 60, in create_resource
resp, body = self.post(req_uri, req_post_data)
File "tempest/lib/common/rest_client.py", line 270, in post
return self.request('POST', url, extra_headers, headers, body, chunked)
File "tempest/lib/common/rest_client.py", line 659, in request
self._error_checker(resp, resp_body)
File "tempest/lib/common/rest_client.py", line 780, in _error_checker
raise exceptions.Conflict(resp_body, resp=resp)
tempest.lib.exceptions.Conflict: An object with that identifier already exists
Details: {u'detail': u'', u'type': u'IpAddressAlreadyAllocated', u'message': u'IP address 2003::f816:3eff:fe20:97dd already allocated in subnet 9fd8d6ef-eb85-468c-8453-6c532c61a433'}
The request that failed is req-e628a3d3-3c24-4ced-81b0-ec28993ef6f8.
In neutron-server log:
May 16 17:43:04.748624 ubuntu-xenial-osic-cloud1-s3700-8840984 neutron-server[16388]: DEBUG neutron.db.api [req-e628a3d3-3c24-4ced-81b0-ec28993ef6f8 tempest-NetworksTestDHCPv6-363802631 tempest-NetworksTestDHCPv6-363802631] Retry wrapper got retriable exception: UPDATE statement on table 'standardattributes' expected to update 1 row(s); 0 were matched. {{(pid=16472) wrapped /opt/stack/new/neutron/neutron/db/api.py:129}}
May 16 17:43:04.749082 ubuntu-xenial-osic-cloud1-s3700-8840984 neutron-server[16388]: DEBUG oslo_db.api [req-e628a3d3-3c24-4ced-81b0-ec28993ef6f8 tempest-NetworksTestDHCPv6-363802631 tempest-NetworksTestDHCPv6-363802631] Performing DB retry for function neutron.db.db_base_plugin_v2._create_subnet_postcommit {{(pid=16472) wrapper /usr/local/lib/python2.7/dist-packages/oslo_db/api.py:152}}
May 16 17:43:04.998299 ubuntu-xenial-osic-cloud1-s3700-8840984 neutron-server[16388]: DEBUG neutron.db.api [req-e628a3d3-3c24-4ced-81b0-ec28993ef6f8 tempest-NetworksTestDHCPv6-363802631 tempest-NetworksTestDHCPv6-363802631] Retry wrapper got retriable exception: Failed to create a duplicate IpamAllocation: for attribute(s) ['PRIMARY'] with value(s) 2003::f816:3eff:fe20:97dd-a561d8cf-6822-4fb7-8b33-499041cefac4 {{(pid=16472) wrapped /opt/stack/new/neutron/neutron/db/api.py:129}}
May 16 17:43:04.998410 ubuntu-xenial-osic-cloud1-s3700-8840984 neutron-server[16388]: DEBUG oslo_db.api [req-e628a3d3-3c24-4ced-81b0-ec28993ef6f8 tempest-NetworksTestDHCPv6-363802631 tempest-NetworksTestDHCPv6-363802631] Performing DB retry for function neutron.db.db_base_plugin_v2._create_subnet_postcommit {{(pid=16472) wrapper /usr/local/lib/python2.7/dist-packages/oslo_db/api.py:152}}
Seems like different reasons for retries? Is it some unfortunate
scenario where different errors depleted attempts?
** Affects: neutron
Importance: High
Status: New
** Tags: api db gate-failure l3-ipam-dhcp
** Changed in: neutron
Importance: Undecided => High
** Tags added: api db l3-ipam-dhcp
** Tags added: gate-failure
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1691248
Title:
test_dhcpv6_64_subnets failed with "u'IpAddressAlreadyAllocated',
u'message': u'IP address 2003::XXX already allocated in subnet"
Status in neutron:
New
Bug description:
http://logs.openstack.org/20/464020/5/check/gate-tempest-dsvm-neutron-
linuxbridge-ubuntu-xenial/a4d35a8/logs/testr_results.html.gz
Traceback (most recent call last):
File "tempest/api/network/test_dhcp_ipv6.py", line 230, in test_dhcpv6_64_subnets
subnet_slaac = self.create_subnet(self.network, **kwargs)
File "tempest/api/network/base.py", line 180, in create_subnet
**kwargs)
File "tempest/lib/services/network/subnets_client.py", line 27, in create_subnet
return self.create_resource(uri, post_data)
File "tempest/lib/services/network/base.py", line 60, in create_resource
resp, body = self.post(req_uri, req_post_data)
File "tempest/lib/common/rest_client.py", line 270, in post
return self.request('POST', url, extra_headers, headers, body, chunked)
File "tempest/lib/common/rest_client.py", line 659, in request
self._error_checker(resp, resp_body)
File "tempest/lib/common/rest_client.py", line 780, in _error_checker
raise exceptions.Conflict(resp_body, resp=resp)
tempest.lib.exceptions.Conflict: An object with that identifier already exists
Details: {u'detail': u'', u'type': u'IpAddressAlreadyAllocated', u'message': u'IP address 2003::f816:3eff:fe20:97dd already allocated in subnet 9fd8d6ef-eb85-468c-8453-6c532c61a433'}
The request that failed is req-e628a3d3-3c24-4ced-81b0-ec28993ef6f8.
In neutron-server log:
May 16 17:43:04.748624 ubuntu-xenial-osic-cloud1-s3700-8840984 neutron-server[16388]: DEBUG neutron.db.api [req-e628a3d3-3c24-4ced-81b0-ec28993ef6f8 tempest-NetworksTestDHCPv6-363802631 tempest-NetworksTestDHCPv6-363802631] Retry wrapper got retriable exception: UPDATE statement on table 'standardattributes' expected to update 1 row(s); 0 were matched. {{(pid=16472) wrapped /opt/stack/new/neutron/neutron/db/api.py:129}}
May 16 17:43:04.749082 ubuntu-xenial-osic-cloud1-s3700-8840984 neutron-server[16388]: DEBUG oslo_db.api [req-e628a3d3-3c24-4ced-81b0-ec28993ef6f8 tempest-NetworksTestDHCPv6-363802631 tempest-NetworksTestDHCPv6-363802631] Performing DB retry for function neutron.db.db_base_plugin_v2._create_subnet_postcommit {{(pid=16472) wrapper /usr/local/lib/python2.7/dist-packages/oslo_db/api.py:152}}
May 16 17:43:04.998299 ubuntu-xenial-osic-cloud1-s3700-8840984 neutron-server[16388]: DEBUG neutron.db.api [req-e628a3d3-3c24-4ced-81b0-ec28993ef6f8 tempest-NetworksTestDHCPv6-363802631 tempest-NetworksTestDHCPv6-363802631] Retry wrapper got retriable exception: Failed to create a duplicate IpamAllocation: for attribute(s) ['PRIMARY'] with value(s) 2003::f816:3eff:fe20:97dd-a561d8cf-6822-4fb7-8b33-499041cefac4 {{(pid=16472) wrapped /opt/stack/new/neutron/neutron/db/api.py:129}}
May 16 17:43:04.998410 ubuntu-xenial-osic-cloud1-s3700-8840984 neutron-server[16388]: DEBUG oslo_db.api [req-e628a3d3-3c24-4ced-81b0-ec28993ef6f8 tempest-NetworksTestDHCPv6-363802631 tempest-NetworksTestDHCPv6-363802631] Performing DB retry for function neutron.db.db_base_plugin_v2._create_subnet_postcommit {{(pid=16472) wrapper /usr/local/lib/python2.7/dist-packages/oslo_db/api.py:152}}
Seems like different reasons for retries? Is it some unfortunate
scenario where different errors depleted attempts?
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1691248/+subscriptions