The new config schema is used by Rally 0.10:
https://raw.githubusercontent.com/openstack/rally/master/samples/deployments/existing-keystone-v3.json
JIRA: FUNCTEST-883
Change-Id: I67c0081e23d7a763934ef2f8ce09f122c33af902
Signed-off-by: Linda Wang <wangwulin@huawei.com>
def get_credentials_for_rally():
creds = get_credentials()
env_cred_dict = get_env_cred_dict()
- rally_conf = {"type": "ExistingCloud", "admin": {}}
+ rally_conf = {"admin": {}}
for key in creds:
if key == 'auth_url':
rally_conf[key] = creds[key]
insecure_key = env_cred_dict.get('OS_INSECURE')
rally_conf[insecure_key] = os.getenv('OS_INSECURE', '').lower() == 'true'
+ rally_conf = {"openstack": rally_conf}
return rally_conf