--- api.py 2015-09-17 10:22:15.327509256 +0200 +++ api.py.new 2015-09-17 10:19:38.141175929 +0200 @@ -2773,7 +2773,9 @@ def volume_type_access_remove(context, t count = _volume_type_access_query(context).\ filter_by(volume_type_id=volume_type_id).\ filter_by(project_id=project_id).\ - soft_delete(synchronize_session=False) + update({'deleted': True, + 'deleted_at': timeutils.utcnow(), + 'updated_at': literal_column('updated_at')}) if count == 0: raise exception.VolumeTypeAccessNotFound( volume_type_id=type_id, project_id=project_id)