incorrect os-credentials handling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Prometheus Openstack Exporter Charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
The charm currently incorrectly handles os-credentials passed to it.
symbolic project_domain_name and project_name are optional with default values hard-coded, however, project_id and project_domain_id are mandatory because they are retrieved unconditionally.
This prevents one from using just symbolic names and is also potentially harmful for the openstack client because it only needs either symbolic names or IDs (a mix is possible but probably not justified).
if config_creds_yaml:
creds = {
}
if identity_
Changed in charm-prometheus-openstack-exporter: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Also Charm description in the store has to be updated with the guidance how to properly use V3 credentials.