db deadlock on service_update()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Russell Bryant | ||
Havana |
Fix Released
|
Medium
|
Russell Bryant | ||
Icehouse |
Fix Released
|
Medium
|
Russell Bryant |
Bug Description
Several methods in nova.db.
4-09-15 15:40:22.574 34384 ERROR nova.servicegro
server went away
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
(most recent call last):
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib/
95, in _report_state
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
service.
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib/
service_update
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
return self._manager.
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib/
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
return func(*args, **kwargs)
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib/
in inner
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
return func(*args, **kwargs)
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib/
service_update
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
self.db.
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib/
service_update
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
return IMPL.service_
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib/
wrapper
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
return f(*args, **kwargs)
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib/
service_update
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
service_
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib64/
in __exit__
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
self.rollback()
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib64/
58, in __exit__
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
compat.
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib64/
in __exit__
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
self.commit()
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib64/
in commit
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
t[1].commit()
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib64/
in commit
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
self._do_commit()
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib64/
in _do_commit
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
self.connection
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib64/
in _commit_impl
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
self._handle_
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib64/
in _handle_
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
exc_info
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib64/
in raise_from_cause
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
reraise(
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib64/
in _commit_impl
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
self.engine.
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
"/usr/lib64/
line 2030, in do_commit
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
dbapi_connectio
2014-09-15 15:40:22.574 34384 TRACE nova.servicegro
OperationalError: (OperationalError) (1213, 'Deadlock found when trying to
get lock; try restarting transaction') None None
Changed in nova: | |
assignee: | nobody → Russell Bryant (russellb) |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/121940
Review: https:/