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
This commit is contained in:
huangsm 2017-05-13 14:55:28 +08:00 committed by Huangsm
parent ec9534af0a
commit caaebdc257
1 changed files with 2 additions and 2 deletions

View File

@ -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)