File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
rockoon/filters/tempest/conf Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ class VolumeFeatureEnabled(base_section.BaseSection):
1010 "api_v3" ,
1111 "backup" ,
1212 "clone" ,
13+ "enable_volume_image_dep_tests" ,
1314 "extend_attached_volume" ,
1415 "manage_snapshot" ,
1516 "manage_volume" ,
@@ -47,6 +48,30 @@ def backup(self):
4748 def clone (self ):
4849 pass
4950
51+ @property
52+ def enable_volume_image_dep_tests (self ):
53+ """disable for glance on rbd
54+
55+ current rook/pelagia default min compat client is 'luminous',
56+ passing these tests requires 'mimic' or later
57+ """
58+ # TODO: reconsider when min compat client version is raised
59+ if (
60+ # single backend
61+ "rbd"
62+ in self .get_values_item (
63+ "glance" , "conf.glance.glance_store.stores" , ""
64+ )
65+ or
66+ # multi-backend
67+ "rbd"
68+ in self .get_values_item (
69+ "glance" , "conf.glance.DEFAULT.enabled_backends" , ""
70+ )
71+ ):
72+ return False
73+ return True
74+
5075 @property
5176 def extend_attached_volume (self ):
5277 return True
You can’t perform that action at this time.
0 commit comments