When SSL endpoint configured via Vault, ceilometer-agent-notification fails to connect to gnocchi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ceilometer Charm |
Fix Released
|
High
|
Liam Young |
Bug Description
When deploying OpenStack Train with Ceilometer and Gnocchi,
and also configuring all endpoints as TLS terminated with Vault,
ceilometer-
Because of this, it will fail to collect metrics.
This is reproducible with the following bundle and network overlay.
Bundle:(the bundle is based on openstack-base bundle, adding ceilometer, gnocchi, and vault)
https:/
Overlays:
https:/
After everything is deployed(Vault is unsealed, and ceilometer-upgrade is done),
and create any resources, for example, upload a glance image,
you will see the following error in /var/log/
2020-03-18 13:05:53.565 28968 ERROR ceilometer.
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
</p>
<hr>
<address>
</body></html>
(HTTP 400)
So it looks like, ceilometer-
To mitigate this issue, restarting the ceilometer-
Changed in charm-ceilometer: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-ceilometer: | |
milestone: | none → 20.10 |
Changed in charm-ceilometer: | |
status: | Fix Committed → Fix Released |
I have attached the juju crashdump