<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="margin:0px;font-size:12pt;color:black;background-color:rgb(255, 255, 255)">Hi Matthias,</span>
<div style="margin:0px;font-size:12pt;color:black;background-color:rgb(255, 255, 255)">
<br>
</div>
<div style="margin:0px;font-size:12pt;color:black;background-color:rgb(255, 255, 255)">
Sorry for the confusion. Gnocchi is running and I am able to execute commands like "gnocchi metric list" and "gnocchi resource list" without errors even though the response is empty. Also checking mysql, the gnocchi database is correctly created.</div>
<div style="margin:0px;font-size:12pt;color:black;background-color:rgb(255, 255, 255)">
<br>
</div>
<div style="margin:0px;font-size:12pt;color:black;background-color:rgb(255, 255, 255)">
By the link I previously shared I wanted just to highlight that there are some differences between what was written there and between the environemnt I installed. I was searching there because I would have expected that Devstack installs and configures every
component in automatic with no or minimum external intervention (in fact if I don't consider the Telemetry aspect, the rest works perfectly fine).</div>
<div style="margin:0px;font-size:12pt;color:black;background-color:rgb(255, 255, 255)">
<br>
</div>
<div style="margin:0px;font-size:12pt;color:black;background-color:rgb(255, 255, 255)">
I will follow Rafael guidelines to better undrstand where is the issue.</div>
<div style="margin:0px;font-size:12pt;color:black;background-color:rgb(255, 255, 255)">
<br>
</div>
<span style="margin:0px;font-size:12pt;color:black;background-color:rgb(255, 255, 255)">Thanks.</span><br>
</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Da:</b> Matthias Runge <mrunge@matthias-runge.de><br>
<b>Inviato:</b> giovedì 3 marzo 2022 11:59<br>
<b>A:</b> openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org><br>
<b>Oggetto:</b> Re: R: [Devstack][Gnocchi][Ceilometer] Not able to retrieve metrics using ceilometer and gnocchi</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">On 3/3/22 10:29, Molka Gharbaoui wrote:<br>
> Thank you Matthias for your reply.<br>
> <br>
> Unfortunately, from the logs I still cannot understand what is the issue.<br>
> <br>
> Could someone kindly indicate me how ceilometer and gnocchi should be <br>
> configured to get the data?<br>
> <br>
> For example in this link: <br>
> <a href="https://docs.openstack.org/ceilometer/latest/install/install-base-ubuntu.html">
https://docs.openstack.org/ceilometer/latest/install/install-base-ubuntu.html</a>
<br>
> <<a href="https://docs.openstack.org/ceilometer/latest/install/install-base-ubuntu.html">https://docs.openstack.org/ceilometer/latest/install/install-base-ubuntu.html</a>> the
<br>
> endpoints should use the following URL: <a href="http://controller:8041">http://controller:8041</a>
<br>
> <<a href="http://controller:8041">http://controller:8041</a>> while in my case the 8041 port is not even
<br>
> listening and the API indicated in the dashboard for Gnocchi is http:// <br>
> <<a href="http://controller:8041">http://controller:8041</a>>x.x.x.x/metric.<br>
> <br>
> Thank you in advance.<br>
> <br>
<br>
OpenStack configuration is complex. The guide does not remotely touch on <br>
production environments. Please do not confuse devstack with production <br>
envionments. Also the doc you linked is not for devstack itself.<br>
<br>
The flow in general is: data is generated by the services like nova or <br>
glance. Ceilometer listens on the bus and also polls for information. <br>
The info is sent then over (as configured in publishers.yaml) to gnocchi.<br>
Gnocchi has an api, ceilometer has not. Reading your response, this <br>
makes me suspicious if there is gnocchi running. From the initial <br>
question it suggests it is, from your most recent response, it is not.<br>
<br>
<br>
Matthias<br>
<br>
</div>
</span></font></div>
</body>
</html>