<div dir="ltr">And, what about ceilometer-compute?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 4, 2022 at 2:04 PM Molka Gharbaoui <<a href="mailto:Molka.Gharbaoui@santannapisa.it">Molka.Gharbaoui@santannapisa.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Yes, all ceilometer services are up and running: ceilometer-agent, ceilometer-notification. Actually, all devstack services are up and running.</div>
<div id="gmail-m_1878724962071869325appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_1878724962071869325divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Da:</b> Rafael Weingärtner <<a href="mailto:rafaelweingartner@gmail.com" target="_blank">rafaelweingartner@gmail.com</a>><br>
<b>Inviato:</b> venerdì 4 marzo 2022 17:56<br>
<b>A:</b> Molka Gharbaoui <<a href="mailto:molka.gharbaoui@santannapisa.it" target="_blank">molka.gharbaoui@santannapisa.it</a>><br>
<b>Cc:</b> Openstack Discuss List <<a href="mailto:openstack-discuss@lists.openstack.org" target="_blank">openstack-discuss@lists.openstack.org</a>><br>
<b>Oggetto:</b> Re: R: R: [Devstack][Gnocchi][Ceilometer] Not able to retrieve metrics using ceilometer and gnocchi</font>
<div> </div>
</div>
<div>
<div dir="ltr">I see. Is the Ceilometer compute agent up and running?<br>
</div>
<br>
<div>
<div dir="ltr">On Fri, Mar 4, 2022 at 1:54 PM Molka Gharbaoui <<a href="mailto:Molka.Gharbaoui@santannapisa.it" target="_blank">Molka.Gharbaoui@santannapisa.it</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="background-color:rgb(255,255,255);display:inline">I have a running instance and I would like to retrieve some statistics on it like cpu usage, memory usage, packets received and sent.</span><br>
</div>
<div id="gmail-m_1878724962071869325x_gmail-m_-788836494911314868appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_1878724962071869325x_gmail-m_-788836494911314868divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Da:</b> Rafael Weingärtner <<a href="mailto:rafaelweingartner@gmail.com" target="_blank">rafaelweingartner@gmail.com</a>><br>
<b>Inviato:</b> venerdì 4 marzo 2022 17:28<br>
<b>A:</b> Molka Gharbaoui <<a href="mailto:molka.gharbaoui@santannapisa.it" target="_blank">molka.gharbaoui@santannapisa.it</a>><br>
<b>Cc:</b> Openstack Discuss List <<a href="mailto:openstack-discuss@lists.openstack.org" target="_blank">openstack-discuss@lists.openstack.org</a>><br>
<b>Oggetto:</b> Re: R: R: [Devstack][Gnocchi][Ceilometer] Not able to retrieve metrics using ceilometer and gnocchi</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>What do you or what would you expect to see in Gnocchi being pushed by Ceilometer?</div>
<div>What are the resources (volumes, VMs, and so) that you created in the OpenStack environment in DevStack?<br>
</div>
<br>
</div>
<br>
<div>
<div dir="ltr">On Fri, Mar 4, 2022 at 1:26 PM Molka Gharbaoui <<a href="mailto:Molka.Gharbaoui@santannapisa.it" target="_blank">Molka.Gharbaoui@santannapisa.it</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Unfortunately, the local.conf file shared by Matthias gives the same result: no metrics are pushed to gnocchi.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Gnocchi database is empty: I can create metrics and resources manually but nothing is pushed from ceilometer to the database. So I guess the problem is at the ceilometer level.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Here is an extract of the ceilometer-polling logs:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:07.904 679128 INFO ceilometer.polling.manager [-] Polling pollster disk.device.usage in the context
of all_pollsters</span><br>
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:07.904 679128 DEBUG ceilometer.compute.pollsters [-] afcf32c4-e7c2-40fd-8f75-</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">fdf0bfdb5ef9/disk.device.usage
volume: 5368709120 _stats_to_sample /opt/stack/ceilometer/</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">ceilometer/compute/pollsters/_</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">_init__.py:108</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:07.907 679128 INFO ceilometer.polling.manager [-] Polling pollster disk.device.read.requests in the
context of all_pollsters</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:07.908 679128 DEBUG ceilometer.compute.pollsters [-] afcf32c4-e7c2-40fd-8f75-</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">fdf0bfdb5ef9/disk.device.read.</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">requests
volume: 6138 _stats_to_sample /opt/stack/ceilometer/</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">ceilometer/compute/pollsters/_</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">_init__.py:108</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:08.038 679128 WARNING ceilometer.neutron_client [-] The resource could not be found.: neutronclient.common.</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">exceptions.NotFound:
The resource could not be found.</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:08.038 679128 DEBUG ceilometer.polling.manager [-] Skip pollster network.services.lb.pool, no resources
found this cycle poll_and_notify /opt/stack/ceilometer/</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">ceilometer/polling/manager.py:</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">177</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:08.162 679128 WARNING ceilometer.neutron_client [-] The resource could not be found.: neutronclient.common.</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">exceptions.NotFound:
The resource could not be found.</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:08.162 679128 DEBUG ceilometer.polling.manager [-] Skip pollster network.services.lb.vip, no resources
found this cycle poll_and_notify /opt/stack/ceilometer/</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">ceilometer/polling/manager.py:</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">177</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:08.163 679128 DEBUG ceilometer.polling.manager [-] Skip pollster network.services.lb.outgoing.</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">bytes,
no resources found this cycle poll_and_notify /opt/stack/ceilometer/</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">ceilometer/polling/manager.py:</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">177</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:08.164 679128 ERROR ceilometer.polling.manager [-] Skipping tenant, keystone issue: admin endpoint
for identity service in RegionOne region not found: keystoneauth1.exceptions.</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">catalog.EndpointNotFound: admin
endpoint for identity service in RegionOne region not found</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:08.164 679128 DEBUG ceilometer.polling.manager [-] Skip pollster radosgw.containers.objects.</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">size,
no resources found this cycle poll_and_notify /opt/stack/ceilometer/</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">ceilometer/polling/manager.py:</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">177</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:08.164 679128 DEBUG ceilometer.polling.manager [-] Skip pollster port.receive.packets, no resources
found this cycle poll_and_notify /opt/stack/ceilometer/</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">ceilometer/polling/manager.py:</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">177</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:08.164 679128 DEBUG ceilometer.polling.manager [-] Skip pollster hardware.network.ip.outgoing.</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">datagrams,
no resources found this cycle poll_and_notify /opt/stack/ceilometer/</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">ceilometer/polling/manager.py:</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">177</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:08.355 679128 WARNING ceilometer.neutron_client [-] The resource could not be found.: neutronclient.common.</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">exceptions.NotFound:
The resource could not be found.</span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">2022-03-04 16:13:08.355 679128 DEBUG ceilometer.polling.manager [-] Skip pollster network.services.lb.listener, no
resources found this cycle poll_and_notify /opt/stack/ceilometer/</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">ceilometer/polling/manager.py:</span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">177</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline">And here I report the content of the ceilometer.conf file:</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline"><span style="font-size:small">[DEFAULT]</span><span style="font-size:small">
</span>
<div style="font-size:small">debug = True<br>
transport_url = rabbit://<a href="http://stackrabbit:admin@10.30.2.194:5672/" style="color:rgb(17,85,204)" target="_blank">stackrabbit:admin@10.30.2.194:5672/</a><br>
<br>
[oslo_messaging_notifications]<br>
topics = notifications<br>
<br>
[coordination]<br>
backend_url = redis://localhost:6379<br>
<br>
[notification]<br>
workers = 2<br>
<br>
[cache]<br>
backend_argument = url:redis://localhost:6379<br>
backend_argument = distributed_lock:True<br>
backend_argument = db:0<br>
backend_argument = redis_expiration_time:600<br>
backend = dogpile.cache.redis<br>
enabled = True<br>
<br>
[service_credentials]<br>
auth_url =<span> </span><a href="http://10.30.2.194/identity/v3/" style="color:rgb(17,85,204)" target="_blank">http://10.30.2.194/identity</a><br>
region_name = RegionOne<br>
password = admin<br>
username = ceilometer<br>
project_name = service<br>
project_domain_name = default<br>
user_domain_id = default<br>
auth_type = password<br>
<br>
[keystone_authtoken]<br>
memcached_servers = localhost:11211<br>
cafile = /opt/stack/data/ca-bundle.pem<br>
project_domain_name = default<br>
project_name = admin<br>
user_domain_name = default<br>
password = admin<br>
username = ceilometer<br>
auth_url =<span> </span><a href="http://10.30.2.194/identity/v3/" style="color:rgb(17,85,204)" target="_blank">http://10.30.2.194/identity</a><br>
interface = public<br>
auth_type = password</div>
<div style="font-size:small"><br>
</div>
<div style="font-size:small">I believe nothing should be changed in the configuration files since Devstack should configure every components automatically. I also checked pipeline.yaml and polling.yaml files and they seem correct.<br>
<br>
Do you have any idea on how to make ceilometer push metrics to the gnocchi database??</div>
<div style="font-size:small"><br>
</div>
<div style="font-size:small">Thanks.</div>
<br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255);display:inline"><br>
</span></div>
<div id="gmail-m_1878724962071869325x_gmail-m_-788836494911314868x_gmail-m_-4923882300453891140appendonsend">
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_1878724962071869325x_gmail-m_-788836494911314868x_gmail-m_-4923882300453891140divRplyFwdMsg" dir="ltr">
<font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Da:</b> Matthias Runge <<a href="mailto:mrunge@matthias-runge.de" target="_blank">mrunge@matthias-runge.de</a>><br>
<b>Inviato:</b> giovedì 3 marzo 2022 13:58<br>
<b>A:</b> Molka Gharbaoui <<a href="mailto:Molka.Gharbaoui@santannapisa.it" target="_blank">Molka.Gharbaoui@santannapisa.it</a>><br>
<b>Oggetto:</b> Re: R: R: [Devstack][Gnocchi][Ceilometer] Not able to retrieve metrics using ceilometer and gnocchi</font>
<div> </div>
</div>
<div><font size="2"><span style="font-size:11pt">
<div>On 3/3/22 12:31, Molka Gharbaoui wrote:<br>
> Hi Matthias,<br>
> <br>
> Sorry for the confusion. Gnocchi is running and I am able to execute <br>
> commands like "gnocchi metric list" and "gnocchi resource list" without <br>
> errors even though the response is empty. Also checking mysql, the <br>
> gnocchi database is correctly created.<br>
> <br>
> By the link I previously shared I wanted just to highlight that there <br>
> are some differences between what was written there and between the <br>
> environemnt I installed. I was searching there because I would have <br>
> expected that Devstack installs and configures every component in <br>
> automatic with no or minimum external intervention (in fact if I don't <br>
> consider the Telemetry aspect, the rest works perfectly fine).<br>
> <br>
> I will follow Rafael guidelines to better undrstand where is the issue.<br>
> <br>
> Thanks.<br>
<br>
<br>
Something I have used in the past is a local.conf like this:<br>
<br>
[[local|localrc]]<br>
ADMIN_PASSWORD=secret<br>
DATABASE_PASSWORD=$ADMIN_PASSWORD<br>
RABBIT_PASSWORD=$ADMIN_PASSWORD<br>
SERVICE_PASSWORD=$ADMIN_PASSWORD<br>
<br>
IMAGE_URL_SITE="<a href="https://download.fedoraproject.org" target="_blank">https://download.fedoraproject.org</a>"<br>
IMAGE_URL_PATH="/pub/fedora/linux/releases/33/Cloud/x86_64/images/"<br>
IMAGE_URL_FILE="Fedora-Cloud-Base-33-1.2.x86_64.qcow2"<br>
IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE<br>
<br>
CEILOMETER_BACKEND=gnocchi<br>
USE_PYTHON3="True"<br>
<br>
VERBOSE="True"<br>
<br>
VERBOSE_NO_TIMESTAMP="True"<br>
<br>
# <br>
LIBS_FROM_GIT=aodh,ceilometer,cinder,devstack,devstack-gate,dib-utils,diskimage-builder,glance,heat,keystone,neutron,nova,placement,requirements,swift<br>
<br>
enable_plugin aodh <a href="https://opendev.org/openstack/aodh" target="_blank">https://opendev.org/openstack/aodh</a><br>
enable_plugin ceilometer <a href="https://opendev.org/openstack/ceilometer" target="_blank">
https://opendev.org/openstack/ceilometer</a><br>
enable_plugin heat <a href="https://opendev.org/openstack/heat" target="_blank">https://opendev.org/openstack/heat</a><br>
<br>
<br>
INSTALL_TEMPEST=False<br>
<br>
<br>
Hope that helps. The IMAGE_URL_FILE needs probably adjustment, fedora 33 <br>
is not supported anymore.<br>
<br>
Matthias<br>
<br>
<br>
<br>
> <br>
> <br>
> ------------------------------------------------------------------------<br>
> *Da:* Matthias Runge <<a href="mailto:mrunge@matthias-runge.de" target="_blank">mrunge@matthias-runge.de</a>><br>
> *Inviato:* giovedì 3 marzo 2022 11:59<br>
> *A:* <a href="mailto:openstack-discuss@lists.openstack.org" target="_blank">openstack-discuss@lists.openstack.org</a>
<br>
> <<a href="mailto:openstack-discuss@lists.openstack.org" target="_blank">openstack-discuss@lists.openstack.org</a>><br>
> *Oggetto:* Re: R: [Devstack][Gnocchi][Ceilometer] Not able to retrieve <br>
> metrics using ceilometer and gnocchi<br>
> 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" target="_blank">
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" target="_blank">https://docs.openstack.org/ceilometer/latest/install/install-base-ubuntu.html</a>>
<br>
> <br>
>> <<a></a><a href="https://docs.openstack.org/ceilometer/latest/install/install-base-ubuntu.html" target="_blank">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" target="_blank">https://docs.openstack.org/ceilometer/latest/install/install-base-ubuntu.html</a>>> the
<br>
> <br>
>> endpoints should use the following URL: <a href="http://controller:8041" target="_blank">
http://controller:8041</a> <<a href="http://controller:8041" target="_blank">http://controller:8041</a>><br>
>> <<a></a><a href="http://controller:8041" target="_blank">http://controller:8041</a> <<a href="http://controller:8041" target="_blank">http://controller:8041</a>>> while in my case the
<br>
> 8041 port is not even<br>
>> listening and the API indicated in the dashboard for Gnocchi is http:// <br>
>> <<a></a><a href="http://controller:8041" target="_blank">http://controller:8041</a> <<a href="http://controller:8041" target="_blank">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>
<br>
</div>
</span></font></div>
</div>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div dir="ltr">Rafael Weingärtner</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div dir="ltr">Rafael Weingärtner</div>
</div>
</div>
</div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Rafael Weingärtner</div></div>