You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/09/07 15:18:28 UTC

[GitHub] [cloudstack] NuxRo opened a new issue, #6714: Prometheus exporter - interpret ::1 as 0:0:0:0:0:0:0:1

NuxRo opened a new issue, #6714:
URL: https://github.com/apache/cloudstack/issues/6714

   Hi,
   
   If I configure the Prometheus exporter to allow requests from ::1 (ipv6 localhost, short form) it doesn't actually honour requests.
   
   In the logs you can see entries such as:
   ```Prometheus exporter received client request from: 0:0:0:0:0:0:0:1```
   
   Indeed, once you add 0:0:0:0:0:0:0:1 (ipv6 localhost, medium form) it starts working.
   
   It's a minor issue, but nice to get sorted as most people are used to ::1.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Prometheus exporter - interpret ::1 as 0:0:0:0:0:0:0:1 [cloudstack]

Posted by "Rubueno (via GitHub)" <gi...@apache.org>.
Rubueno commented on issue #6714:
URL: https://github.com/apache/cloudstack/issues/6714#issuecomment-1921264907

   The issue here not only lies in localhost, but any IPv6 address that can be shortened to `::`
   ```
   MariaDB [cloud]> select value from configuration where name like 'prometheus.exporter.allowed.ips' \G
   *************************** 1. row ***************************
   value: 127.0.0.1,2a00:beef:feeb::15
   ```
   
   ```
   2024-02-01 13:50:31,186 DEBUG [o.a.c.m.PrometheusExporterServerImpl] (HTTP-Dispatcher:null) (logid:) Prometheus exporter received client request from: 2a00:beef:feeb:0:0:0:0:15
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Prometheus exporter - interpret ::1 as 0:0:0:0:0:0:0:1 [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #6714:
URL: https://github.com/apache/cloudstack/issues/6714#issuecomment-1921330236

   > The issue here not only lies in localhost, but any IPv6 address that can be written with a short form `::`
   > 
   > ```
   > MariaDB [cloud]> select value from configuration where name like 'prometheus.exporter.allowed.ips' \G
   > *************************** 1. row ***************************
   > value: 127.0.0.1,2a00:beef:feeb::15
   > ```
   > 
   > ```
   > 2024-02-01 13:50:31,186 DEBUG [o.a.c.m.PrometheusExporterServerImpl] (HTTP-Dispatcher:null) (logid:) Prometheus exporter received client request from: 2a00:beef:feeb:0:0:0:0:15
   > ```
   
   marked as a bug. let's see if this can be fixed in 4.19.1.0/4.20.0.0
   cc @DaanHoogland 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org