Deadlock found when trying to get lock; try restarting transaction (image_properties)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Still seeing deadlocks occur when updating image properties:
2014-07-19 04:10:55.484 20377 INFO glance.wsgi.server [858953c7-
File "/usr/lib/
result = self.applicatio
File "/usr/local/
return self._app(env, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return resp(environ, start_response)
File "/usr/local/
response = self.app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
request, **action_args)
File "/opt/stack/
return method(*args, **kwargs)
File "/opt/stack/
return func(self, req, *args, **kwargs)
File "/opt/stack/
deleted_image = self.db_
File "/opt/stack/
_image_
File "/opt/stack/
session)
File "/opt/stack/
count = query.update(
File "/usr/lib/
update_
File "/usr/lib/
self._do_exec()
File "/usr/lib/
update_stmt, params=
File "/opt/stack/
_raise_
File "/opt/stack/
raise exception.
DBDeadlock: (OperationalError) (1213, 'Deadlock found when trying to get lock; try restarting transaction') 'UPDATE image_properties SET updated_at=%s, deleted_at=%s, deleted=%s WHERE image_propertie
summary: |
- eadlock found when trying to get lock; try restarting transaction + Deadlock found when trying to get lock; try restarting transaction + (image_properties) |
Changed in glance: | |
status: | New → Incomplete |
Hi Joshua,
Could you please provide steps to reproduce this bug.