def is_retriable(e):
if _is_nested_instance(e, (db_exc.DBDeadlock, exc.StaleDataError, db_exc.DBDuplicateEntry, db_exc.RetryRequest)):
return True
# looking savepoints mangled by deadlocks. see bug/1590298 for details.
return _is_nested_instance(e, db_exc.DBError) and '1305' in str(e)
see #21 logs are there for sure, don't know what happened before.
the subnets.json calls are in the nginx* logs, and i do see the good/bad ones in there now.
You can also see the
InternalError: (1305, u'SAVEPOINT sa_savepoint_1 does not exist')
which is referenced in https:/ /bugs.launchpad .net/neutron/ +bug/1590298. I do have that fix. E.g. my 'is_retriable' looks like:
def is_retriable(e): instance( e, (db_exc.DBDeadlock, exc.StaleDataError,
db_exc. DBDuplicateEntr y, db_exc. RetryRequest) ): instance( e, db_exc.DBError) and '1305' in str(e)
if _is_nested_
return True
# looking savepoints mangled by deadlocks. see bug/1590298 for details.
return _is_nested_