<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);">
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 !important">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 !important">2022-03-04 16:13:07.904 679128 DEBUG ceilometer.compute.pollsters [-] afcf32c4-e7c2-40fd-8f75-</span><wbr 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 !important">fdf0bfdb5ef9/disk.device.usage
 volume: 5368709120 _stats_to_sample /opt/stack/ceilometer/</span><wbr 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 !important">ceilometer/compute/pollsters/_</span><wbr 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 !important">_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 !important">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 !important">2022-03-04 16:13:07.908 679128 DEBUG ceilometer.compute.pollsters [-] afcf32c4-e7c2-40fd-8f75-</span><wbr 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 !important">fdf0bfdb5ef9/disk.device.read.</span><wbr 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 !important">requests
 volume: 6138 _stats_to_sample /opt/stack/ceilometer/</span><wbr 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 !important">ceilometer/compute/pollsters/_</span><wbr 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 !important">_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 !important">2022-03-04 16:13:08.038 679128 WARNING ceilometer.neutron_client [-] The resource could not be found.:
 neutronclient.common.</span><wbr 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 !important">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 !important">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><wbr 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 !important">ceilometer/polling/manager.py:</span><wbr 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 !important">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 !important">2022-03-04 16:13:08.162 679128 WARNING ceilometer.neutron_client [-] The resource could not be found.:
 neutronclient.common.</span><wbr 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 !important">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 !important">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><wbr 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 !important">ceilometer/polling/manager.py:</span><wbr 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 !important">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 !important">2022-03-04 16:13:08.163 679128 DEBUG ceilometer.polling.manager [-] Skip pollster network.services.lb.outgoing.</span><wbr 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 !important">bytes,
 no  resources found this cycle poll_and_notify /opt/stack/ceilometer/</span><wbr 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 !important">ceilometer/polling/manager.py:</span><wbr 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 !important">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 !important">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><wbr 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 !important">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 !important">2022-03-04 16:13:08.164 679128 DEBUG ceilometer.polling.manager [-] Skip pollster radosgw.containers.objects.</span><wbr 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 !important">size,
 no  resources found this cycle poll_and_notify /opt/stack/ceilometer/</span><wbr 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 !important">ceilometer/polling/manager.py:</span><wbr 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 !important">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 !important">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><wbr 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 !important">ceilometer/polling/manager.py:</span><wbr 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 !important">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 !important">2022-03-04 16:13:08.164 679128 DEBUG ceilometer.polling.manager [-] Skip pollster hardware.network.ip.outgoing.</span><wbr 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 !important">datagrams,
 no  resources found this cycle poll_and_notify /opt/stack/ceilometer/</span><wbr 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 !important">ceilometer/polling/manager.py:</span><wbr 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 !important">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 !important">2022-03-04 16:13:08.355 679128 WARNING ceilometer.neutron_client [-] The resource could not be found.:
 neutronclient.common.</span><wbr 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 !important">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 !important">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><wbr 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 !important">ceilometer/polling/manager.py:</span><wbr 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 !important">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 !important"><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 !important">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 !important"><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/" target="_blank" data-saferedirecturl="https://www.google.com/url?q=http://stackrabbit:admin@10.30.2.194:5672/&source=gmail&ust=1646493589272000&usg=AOvVaw1SWzWs8inkt05xcSGIv9c_" style="color:rgb(17, 85, 204)">stackrabbit:admin@10.<wbr>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/" target="_blank" data-saferedirecturl="https://www.google.com/url?q=http://10.30.2.194/identity/v3/&source=gmail&ust=1646493589272000&usg=AOvVaw18AhwTtN2nNjuCDSAMR6kW" style="color:rgb(17, 85, 204)">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/" target="_blank" data-saferedirecturl="https://www.google.com/url?q=http://10.30.2.194/identity/v3/&source=gmail&ust=1646493589272000&usg=AOvVaw18AhwTtN2nNjuCDSAMR6kW" style="color:rgb(17, 85, 204)">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 !important"><br>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Da:</b> Matthias Runge <mrunge@matthias-runge.de><br>
<b>Inviato:</b> giovedì 3 marzo 2022 13:58<br>
<b>A:</b> Molka Gharbaoui <Molka.Gharbaoui@santannapisa.it><br>
<b>Oggetto:</b> Re: R: 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 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">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">https://opendev.org/openstack/aodh</a><br>
enable_plugin ceilometer <a href="https://opendev.org/openstack/ceilometer">https://opendev.org/openstack/ceilometer</a><br>
enable_plugin heat <a href="https://opendev.org/openstack/heat">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 <mrunge@matthias-runge.de><br>
> *Inviato:* giovedì 3 marzo 2022 11:59<br>
> *A:* openstack-discuss@lists.openstack.org <br>
> <openstack-discuss@lists.openstack.org><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">
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>>
<br>
> <br>
>> <<a href=""></a>https://docs.openstack.org/ceilometer/latest/install/install-base-ubuntu.html
<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>
> <br>
>> endpoints should use the following URL: <a href="http://controller:8041">http://controller:8041</a> <<a href="http://controller:8041">http://controller:8041</a>><br>
>> <<a href=""></a>http://controller:8041 <<a href="http://controller:8041">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 href=""></a>http://controller:8041 <<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>
<br>
</div>
</span></font></div>
</body>
</html>