Monday, 2025-09-22

zigoOn which port is aetos supposed to bind ?07:57
zigoThis doesn't seem documented anywhere.07:57
mrunge_I think that is configurable08:55
mrunge_jwysogla: do you happen to know out of your head? I see aetos being added to the ci tests https://opendev.org/openstack/telemetry-tempest-plugin/commit/f8a8197b1e1764aecfcd02ae31053b7b96538a6a09:02
zigomrunge_: Yeah, but what's the standard ?!?09:08
mrunge_zigo: Jaromir should know, I have seen 9090, 9092, etc. I also think that it is now being added to the keystone catalog09:09
zigoI thought 9090 was the standard Prometheus port.09:09
mrunge_the idea is/was to block prometheus 9090 to the external world and to only allow connections via aetos09:10
zigoWell, there's no reason to expose prometheus to the outside anyways ! :)09:11
mrunge_If you want/need to access metrics, there is? openstack apis are publicly accessible09:12
zigoRight, but shouldn't all go through aetos ?09:15
mrunge_indeed (for metrics)09:16
zigoSo prometheus wouldn't be exposed anyways ... :P09:16
zigoAnyways, thanks. And thanks also for Aetos, we'll soon test it.09:18
mrunge_I'll try to get you an answer, and let me know how it works09:18
mrunge_There are still some changes necessary in the other services accessing metrics. aodh should work out of the box, and I have also seen a patch to add observabilityclient/aetos support to watcher09:19
zigoSo, it's not a drop-in replacement for Gnocchi?09:21
mrunge_it is meant to be a drop-in replacement. But prometheus support in other projects has been added in the past, before observabilityclient existed, or projects implemented the access themselves09:23
mrunge_e.g cloudkitty can use prometheus as metric store, but creates the queries on their own, https://github.com/openstack/cloudkitty/blob/master/cloudkitty/collector/prometheus.py09:24
jwysoglaAetos doesn't really have a default port. It's expected to be run as a wsgi application, you should be able to set the port when configuring that. For example check the uwsgi.ini here: https://docs.openstack.org/aetos/latest/contributor/install/manual.html. You can customize the port in your config and everything should work as long as you register the endpoint in keystone like this: 09:51
jwysoglahttps://docs.openstack.org/aetos/latest/install/install-ubuntu.html (this example just uses port 80).09:51
jwysoglaAetos doesn't have much in common with Gnocchi. It's a openstack rbac layer for Prometheus. As of now, you can access Prometheus metrics through Aetos from CLI using the observabilityclient, from watcher and from Aodh (but even though Aodh for now is able to access metrics through Aetos, it bypasses the rbac checks, so with Aodh, everyone can set an alarm on all metrics).09:54
jwysoglaAs Matthias wrote. CloudKitty is able to use Prometheus, but for now, it isn't able to access Prometheus metrics through Aetos (I plan to take a look at that hopefully soon).09:55
opendevreviewMerged openstack/aetos master: Support client cert/key for TLS connection with Prometheus  https://review.opendev.org/c/openstack/aetos/+/95698310:18
opendevreviewMerged openstack/aetos master: Rename wsgi script  https://review.opendev.org/c/openstack/aetos/+/95743010:18
opendevreviewMerged openstack/aetos master: Add configuration for project label name  https://review.opendev.org/c/openstack/aetos/+/95722410:57
zigomrunge_: When I start aetos, it says:15:10
zigono python application found, check your startup logs for errors15:10
zigoHow am I supposed to do it? I tried both wsgi-script = and module =, none worked ...15:11
zigo(I'm using uwsgi...)15:11
zigoLooks like that part works now.15:12
zigoThough I'm getting:15:12
zigoUnable to validate token: Unable to establish connection to https://127.0.0.1:3535715:12
zigo(in my logs)15:12
zigoThat's *NOT* what I configured ... :/15:13
jwysoglaThat's logs from Aetos?15:24
zigoI get:16:09
zigoUnable to validate token: Unable to establish connection to https://127.0.0.1:35357: HTTPSConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fd831650d70>: Failed to establish a new connection: [Errno 111] Connection refused')): keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to https://127.0.0.1:16:09
zigo35357: HTTPSConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fd831650d70>: Failed to establish a new connection: [Errno 111] Connection refused'))16:09
zigoI'm not sure what config thing it's trying to read...16:09
zigoIf you point at the code, I can find out ! :)16:09
jwysoglazigo: I get a quite similar error message when I misconfigure the keystone_authtoken.auth_url value in my aetos.conf. Can't that be the cause?17:45

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!