From 1b07b9e3943c3be36cae330602ae07cfa31f0787 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Thu, 8 Nov 2018 14:19:56 +0100 Subject: [PATCH] sqlalchemy: GroupTypeProjects.deleted is boolean And hence does not support read_deleted="int_no" Change-Id: Id78801854b4700583b0198df0632000cddc261d1 Signed-off-by: Sven Wegener --- cinder/db/sqlalchemy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/db/sqlalchemy/api.py b/cinder/db/sqlalchemy/api.py index 9f717e8cab7..acdb9752bd3 100644 --- a/cinder/db/sqlalchemy/api.py +++ b/cinder/db/sqlalchemy/api.py @@ -4226,7 +4226,7 @@ def _volume_type_access_query(context, session=None): def _group_type_access_query(context, session=None): return model_query(context, models.GroupTypeProjects, session=session, - read_deleted="int_no") + read_deleted="no") @require_admin_context