forked from juju/juju
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openstack provider credentials should consider project domain id
juju autoload-credentials ignores the OS_PROJECT_DOMAIN_ID if set and looks for only OS_PROJECT_DOMAIN_NAME. However there are cases where openrc downloaded from OpenStack Dashboard for non-admin user sets only OS_PROJECT_DOMAIN_ID. In these cases juju bootstrap fails with authentication error since juju is not aware of project domain id and project domain name is empty. This change reads OS_PROJECT_DOMAIN_ID and sets in CredentialsAttribute map. The same have been passed to the client for authentication purpose. - This PR depends on PR submitted for go-goose package go-goose/goose#89 https://bugs.launchpad.net/juju/+bug/1772649
- Loading branch information
1 parent
70d9cfc
commit 1f06eef
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters