fix sahara_api is always restarting
shara_api need auth_url arguments in keystone_authtoken group.
follow the configure document[0], the auth_url should under
trustee group. but the keystone use default "keystone_authtoken "
group to authenticate,if we wanna use trustee group to authenticate,
we need add "auth_section=trustee" under keystone_authtoken group
,when add this , the trustee group also need auth_type which sahara
have not register into oslo_config.when add to register,the username may
hardcode[1],so i think the best way to reslove this problem is to
add auth_url under keystone_authtoken
[0]https://docs.openstack.org/sahara/latest/configuration/descriptionconfig.html
[1]d60a3b152b/sahara/utils/openstack/keystone.py (L41)
Change-Id: I7e94cf56fa38f01e2b3d93303f8192cb66ba76ab
This commit is contained in:
parent
f3e2ab217f
commit
3fe57abeb2
@ -15,6 +15,7 @@ connection = mysql+pymysql://{{ sahara_database_user }}:{{ sahara_database_passw
|
||||
|
||||
[keystone_authtoken]
|
||||
www_authenticate_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}
|
||||
auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}
|
||||
auth_type = password
|
||||
admin_user = {{ sahara_keystone_user }}
|
||||
admin_password = {{ sahara_keystone_password }}
|
||||
|
Loading…
Reference in New Issue
Block a user