ensure that we add the bare cinder endpoint
When there is a cinderv2 or cinderv3 endpoint, we should enable the bare cinder bits in the tempest config.
This commit is contained in:
@@ -235,6 +235,9 @@ def get_tempest_context():
|
||||
'cinder': add_cinder_config,
|
||||
'keystone': add_keystone_config}
|
||||
ctxt['enabled_services'] = get_service_list(keystone_session)
|
||||
if set(['cinderv2', 'cinderv3']) \
|
||||
.intersection(set(ctxt['enabled_services'])):
|
||||
ctxt['enabled_services'].append('cinder')
|
||||
ctxt['disabled_services'] = list(
|
||||
set(TEMPEST_SVC_LIST) - set(ctxt['enabled_services']))
|
||||
add_application_ips(ctxt)
|
||||
|
||||
Reference in New Issue
Block a user