Failing to retrieve a certificate does not result in the charm status showing an error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autocert-charm |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I had an autocert certificate that wasn't quite set up correctly. This resulted in the following error in the autocert charm:
2018-08-07 17:02:37 INFO juju-log Running autocert...
2018-08-07 17:02:38 DEBUG install 2018/08/07 17:02:38 ERROR: Failed to fetch certificate: retrieval failure, server returned status code 404 for URL https:/
2018-08-07 17:02:38 DEBUG install ERROR: Client command failed for service 'haproxy', cert 'extended.
2018-08-07 17:02:38 INFO juju-log Successfully ran autocert
2018-08-07 17:02:38 INFO juju-log Managing 1 certificate for haproxy
It would be good if the charm could detect that fetching the certificate had failed and update the status accordingly.
Changed in autocert-charm: | |
status: | New → Confirmed |
importance: | Undecided → Medium |