Output from credential-get missing project-name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
High
|
Unassigned | ||
Openstack Integrator Charm |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When first deploying on openstack, I followed this page [1] and ran the following command:
```
juju deploy charmed-kubernetes --overlay ~/openstack-
```
The yaml file was curl'd (and not modified) from the link provided on [1]. After some time, I noticed that the openstack-
```
openstack-
```
After viewing the current credentials:
```
$ juju run -u openstack-
type: openstack
name: serverstack
region: serverstack
endpoint: http://
identityendpoint: ""
storageendpoint: ""
credential:
authtype: userpass
attributes:
password: REDACTED
project-
user-
username: REDACTED
version: "3"
redacted: []
cacertificates: []
skiptlsverify: false
```
I noticed that `auth_url` and `project_name` were not present. To fix it, I added the minimum requirements to to a file with:
```
$ cat credentials
{
"auth-url":"http://
"username"
"password"
"project-
"user-
"project-
}
$ juju config openstack-
```
After this, the unit picked up the credentials and continued deployment successfully.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: credentials openstack-provider |
It looks like it's the project-name, specifically, that's missing from your credential-get output. The charm checks for either project-name or tenant-name[1] but neither is present.
The missing auth-url should be fine. The charm also checks for endpoint[2] and should use that if present.
[1]: https:/ /github. com/juju- solutions/ charm-openstack -integrator/ blob/106fe0fa69 bc75467e5c86f87 5c6568c7bac96cb /lib/charms/ layer/openstack .py#L245 /github. com/juju- solutions/ charm-openstack -integrator/ blob/106fe0fa69 bc75467e5c86f87 5c6568c7bac96cb /lib/charms/ layer/openstack .py#L201
[2]: https:/