Observed StaleDataError in gate-neutron-dsvm-api tests if reference IPAM driver is used
Bug #1494351 reported by
Pavel Bondar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Pavel Bondar |
Bug Description
Error is observed only in review https:/
Last 4 rechecks shows different test failures but, with the same root cause
Example:
http://
See a lot of ~20-30 :
UPDATE statement on table 'ipamavailabili
Errors started to be observed in between Aug 10 and Sep 2.
Changed in neutron: | |
assignee: | nobody → Pavel Bondar (pasha117) |
Changed in neutron: | |
importance: | Undecided → High |
Changed in neutron: | |
milestone: | none → liberty-rc1 |
Changed in neutron: | |
milestone: | liberty-rc1 → mitaka-1 |
tags: | added: liberty-rc-potential |
Changed in neutron: | |
assignee: | Pavel Bondar (pasha117) → Carl Baldwin (carl-baldwin) |
tags: |
added: liberty-backport-potential removed: liberty-rc-potential |
tags: | removed: liberty-backport-potential |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
More errors seen in logs:
"DBReferenceError: (pymysql. err.IntegrityEr ror) (1452, u'Cannot add or update a child row: a foreign key constraint fails (`neutron` .`ipallocations `, CONSTRAINT `ipallocations_ ibfk_3` FOREIGN KEY (`subnet_id`) REFERENCES `subnets` (`id`) ON DELETE CASCADE)') [SQL: u'INSERT INTO ipallocations (port_id, ip_address, subnet_id, network_id) VALUES (%s, %s, %s, %s)'] [parameters: (u'e2750172- ae02-4068- ba8d-91edd42d15 e6', u'10.100.0.20', u'e4ce0e25- b471-4a1e- a467-ca95070c55 69', u'bb6196e8- 581e-44fe- b3d1-e3ac56f081 ec')]\n"
Since each test run different tests failures are observed, it looks like race condition issue.