canonical / canonical/openstack-exporter-operator

[FR] Add juju error message when OS exporter throws error

Open
#188 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
13
Avg merge
8d 2h
Merged PRs (30d)
3

Description

### Description

There was an issue were the certificate was base64 encoded on accident using the juju config when the files should be raw. Doing a `systemctl status snap.charmed-openstack-exporter` indicated the error.

### Charm revision

31

### Juju version

3.6.4

### Cloud

OpenStack

### Expected behaviour

An error message in the juju status output. If clouds.yaml cannot be validated and there's an error in the systemctl status it should show an error in juju.

### Reproduce / Test

```
juju config openstack-exporter ssl_ca="$(base64 ca.cert)"
```

### Notes & References

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.