nova does this with @oslo_db_api.wrap_db_retry(max_retries=10, retry_on_deadlock=True) on all write operations on the DB
nova does this with @oslo_db_ api.wrap_ db_retry( max_retries= 10, retry_on_ deadlock= True) on all write operations on the DB