DBDeadlock while deleting fixed_ip from port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
Medium
|
Ilya Shakhat |
Bug Description
Symptoms: subnet delete operation failed with HTTP 500 error. Log contains message "Exception deleting fixed_ip from port 436c7a3d-
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
openstack_
api: "1.0"
build_number: "323"
build_id: "2015-04-
nailgun_sha: "5a4556ea0cf943
python-
astute_sha: "bf1751a4fe0d91
fuellib_sha: "36f30ae7f19092
ostf_sha: "4bab9b975ace8d
fuelmain_sha: "991fa8feca4afc
ENVIRONMENT:
KVM, Ubuntu, Neutron-vlan,
Controllers: 2 + 1 (Ceph)
Computes: 1 + 1 (Ceph)
Steps to repro:
1. Use mos-tempest-runner toolkit
2. run_tests tempest.
Changed in mos: | |
status: | New → Confirmed |
milestone: | none → 7.0 |
Changed in mos: | |
assignee: | MOS Neutron (mos-neutron) → Ilya Shakhat (shakhat) |
status: | Confirmed → Incomplete |
Stacktrace (neutron- server. log): 30T14:06: 25.975776+ 00:00 err: 2015-04-30 14:06:25.971 18638 ERROR neutron. plugins. ml2.plugin [req-ae3d6cdc- f518-4f92- 819d-8b71761fe3 82 None] Exception deleting fixed_ip from port 436c7a3d-97ba-445 plugins. ml2.plugin Traceback (most recent call last): plugins. ml2.plugin File "/usr/lib/ python2. 7/dist- packages/ neutron/ plugins/ ml2/plugin. py", line 787, in delete_subnet plugins. ml2.plugin self.update_ port(context, a.port_id, data) plugins. ml2.plugin File "/usr/lib/ python2. 7/dist- packages/ neutron/ plugins/ ml2/plugin. py", line 869, in update_port plugins. ml2.plugin port) plugins. ml2.plugin File "/usr/lib/ python2. 7/dist- packages/ neutron/ db/db_base_ plugin_ v2.py", line 1375, in update_port plugins. ml2.plugin port = self._get_ port(context, id) plugins. ml2.plugin File "/usr/lib/ python2. 7/dist- packages/ neutron/ db/db_base_ plugin_ v2.py", line 106, in _get_port plugins. ml2.plugin port = self._get_ by_id(context, models_v2.Port, id) plugins. ml2.plugin File "/usr/lib/ python2. 7/dist- packages/ neutron/ db/common_ db_mixin. py", line 125, in _get_by_id plugins. ml2.plugin return query.filter( model.id == id).one() plugins. ml2.plugin File "/usr/lib/ python2. 7/dist- packages/ sqlalchemy/ orm/query. py", line 2369, in one plugins. ml2.plugin ret = list(self) plugins. ml2.plugin File "/usr/lib/ python2. 7/dist- packages/ sqlalchemy/ orm/query. py", line 2412, in __iter__ plugins. ml2.plugin return self._execute_ and_instances( context) plugins. ml2.plugin File "/usr/lib/ python2. 7/dist- packages/ sqlalchemy/ orm/query. py", line 2427, in _execute_ and_instances plugins. ml2.plugin result = conn.execute( querycontext. statement, self._params) plugins. ml2.plugin File "/usr/lib/ python2. 7/dist- packages/ sqlalchemy/ engine/ base.py" , line 729, in execute plugins. ml2.plugin return meth(self, multiparams, params) plugins. ml2.plugin File "/usr/lib/ python2. 7/dist- packages/ sqlalchemy/ sql/elements. py", line 321, in _execute_ on_connection plugins. ml2.plugin return connection. _execute_ clauseelement( self, multiparams, params) plugins. ml2.plugin File "/usr/lib/ python2. 7/dist- packages/ sqlalchemy/ engine/ base.py" , line 826, in _execute_ clauseelement
2015-04-
5-892c-435b72c06940
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
2015-04-30 14:06:25.971 18638 TRACE neutron.
...