Added required config option idp_id to Keystone OpenIDC charm

This change makes z-o-t pass in the value of idp_id when configuring the Keystone OpenIDC charm during testing.
This commit is contained in:
Jadon Naas
2024-06-25 10:34:24 -04:00
parent 6f9c9f7e8e
commit 3a6a3f8a63

View File

@@ -141,7 +141,8 @@ def configure_keystone_openidc():
cfg = {'oidc-client-id': DEFAULT_CLIENT_ID,
'oidc-client-secret': DEFAULT_CLIENT_SECRET,
'oidc-provider-metadata-url': url.format(ip=ip,
realm=DEFAULT_REALM)}
realm=DEFAULT_REALM),
'idp_id': IDP}
zaza.model.set_application_config(APP_NAME, cfg)
zaza.model.wait_for_agent_status()
test_config = lifecycle_utils.get_charm_config(fatal=False)