juju fails to find credentials
Bug #1738991 reported by
Eric Claude Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Eric Claude Jones |
Bug Description
Juju is failing to find credentials and issuing the following debugging output:
https:/
https:/
This is related to an existing bug where juju was trying to use a file path as credentials rather than that path's contents:
https:/
Yet here the issue is not happening on bootstrap.
Changed in juju: | |
assignee: | nobody → Eric Claude Jones (ecjones) |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
After talking with Anastasia and John, and looking through code a bit, it is quite likely that credentials were loaded from from the environment as a file path and then a `juju update-credential` was run. This would cause the file path and not it's contents to be stored and result in the errors we are seeing in this bug's description. If you reload your credentials by putting the credentials file in `$JUJU_DATA` and then re-run `juju update-credential` you may be able to work around this issue.