From caaebdc2571afee378cc160c35a871613dd0b302 Mon Sep 17 00:00:00 2001 From: huangsm Date: Sat, 13 May 2017 14:55:28 +0800 Subject: [PATCH] Modify Default Domain From 2016/10, there is no domain with id 'default' in keystone. And the user would create a domain whith name 'default', like this: https://docs.openstack.org/mitaka/install-guide-obs/keystone-users.html If a user do not specify domain_id and domain_name, it is appropriate to set the default domain with name 'default'. Change-Id: I4a8ff3e06362e8034eb84b0a26d8400fc733292a --- muranoclient/shell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/muranoclient/shell.py b/muranoclient/shell.py index 291d6c15..27e7937e 100644 --- a/muranoclient/shell.py +++ b/muranoclient/shell.py @@ -390,11 +390,11 @@ class MuranoShell(object): if v3_auth_url: if (not args.os_user_domain_id and not args.os_user_domain_name): - args.os_user_domain_id = 'default' + args.os_user_domain_name = 'default' if (not args.os_project_domain_id and not args.os_project_domain_name): - args.os_project_domain_id = 'default' + args.os_project_domain_name = 'default' keystone_auth = AuthCLI.load_from_argparse_arguments(args)