From e1a167a3bbc6b2f84b040f54ae0ef9b22d252eb4 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 7 Mar 2018 19:08:18 +0000 Subject: [PATCH] Use endpoint rather than url in clouds.yaml with no keystone When keystone is not in use, the clouds.yaml file generated by bifrost uses an auth_type of "none". This does not appear to work, and results in the following error (even with OS_CLOUD=bifrost): Missing parameter(s): Set a cloud-name with --os-cloud or OS_CLOUD This change modifies the "url" parameter to be "endpoint", which works correctly. Change-Id: I9b84739dcb90b6482b332676244c68642042dfd4 Closes-Bug: #1754070 --- .../bifrost-keystone-client-config/templates/clouds.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/bifrost-keystone-client-config/templates/clouds.yaml.j2 b/playbooks/roles/bifrost-keystone-client-config/templates/clouds.yaml.j2 index 8b743d279..de29b5bfe 100644 --- a/playbooks/roles/bifrost-keystone-client-config/templates/clouds.yaml.j2 +++ b/playbooks/roles/bifrost-keystone-client-config/templates/clouds.yaml.j2 @@ -16,5 +16,5 @@ clouds: {% else %} bifrost: auth_type: "none" - url: {{ ironic_api_url }} + endpoint: {{ ironic_api_url }} {% endif %}