<div dir="ltr">It seems that Ceilometer is trying to re-create the archive-policy, but it already exists. Can you check the archive policy in Gnocchi?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 8, 2022 at 1:02 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)">
<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><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><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><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><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">| Field | Value |</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">+-----------------------+-----</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">------------------------------</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">------------------------------</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">--+</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">| created_by_project_id | ce87d288bf5846f1b54d3664802fd0</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">6d
|</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">| created_by_user_id | f8619bc10b584e3d9365ca201d00c9</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">e6
|</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">| creator | f8619bc10b584e3d9365ca201d00c9</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">e6:</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">ce87d288bf5846f1b54d3664802fd0</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">6d
|</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">| ended_at | None |</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">| id |
</span><span style="font-size:9.75pt;background-color:rgb(255,255,255);display:inline">3ef0373a-558c-4818-b693-7536ee70d283</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">
|</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">| metrics | |</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">| original_resource_id |
</span><span style="font-size:9.75pt;background-color:rgb(255,255,255);display:inline">3ef0373a-558c-4818-b693-7536ee70d283</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">
|</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">| project_id | f25dced0e26947dd924fc2c9984282</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">ad
|</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">| revision_end | None |</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">| revision_start | 2022-03-08T15:46:36.110838+00:</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">00
|</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">| started_at | 2022-03-08T15:46:36.110825+00:</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">00
|</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">| type | instance |</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">| user_id | 4d36e9b17ff04d55853cddf111a0d4</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">dd
|</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">+-----------------------+-----</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">------------------------------</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">------------------------------</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">--+</span><br>
</div>
<div id="gmail-m_-2344562435945767839appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-2344562435945767839divRplyFwdMsg" 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> martedì 8 marzo 2022 16: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">What does "gnocchi resource show <span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
<span style="font-size:small">3ef0373a-558c-4818-b693-7536ee70d283</span></span>" display?<br>
</div>
<br>
<div>
<div dir="ltr">On Tue, Mar 8, 2022 at 12:00 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="font-family:Arial,Helvetica,sans-serif;font-size:9.75pt;color:rgb(34,34,34);background-color:rgba(0,0,0,0)">I left the instance running for more than 1 hour and now when I check the logs of "ceilometer-polling" I can see the following messages:</span></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">DEBUG ceilometer.compute.pollsters [-] 3ef0373a-558c-4818-b693-7536ee70d283/network.outgoing.bytes volume: 3608 _stats_to_sample /opt/stack/ceilometer/ceilometer/compute/pollsters/__init__.py:108</span>
<div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">
DEBUG ceilometer.compute.pollsters [-] 3ef0373a-558c-4818-b693-7536ee70d283/network.outgoing.packets volume: 25 _stats_to_sample /opt/stack/ceilometer/ceilometer/compute/pollsters/__init__.py:108</div>
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">DEBUG ceilometer.compute.pollsters [-] 3ef0373a-558c-4818-b693-7536ee70d283/disk.device.write.requests volume: 4568 _stats_to_sample /opt/stack/ceilometer/ceilometer/compute/pollsters/__init__.py:108</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"><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">So I guess that Ceilometer is starting to poll some statistics.</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"><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">The "<span style="font-size:small">gnocchi resource list" also now gives the following output:</span>
<div style="font-size:small">ID Type<br>
</div>
<span style="font-size:small">3ef0373a-558c-4818-b693-7536ee70d283 | instance</span></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"><span style="font-size:small"><br>
</span></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"><span style="font-size:small">However, the "gnocchi metric list" is still empty.</span></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"><span style="font-size:small"><br>
</span></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"><span style="font-size:small">Looking in the logs of "<span style="font-size:small;background-color:rgb(255,255,255);display:inline">ceilometer-agent-notification",
I found the following error:</span></span></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"><span style="font-size:small"><span style="font-size:small;background-color:rgb(255,255,255);display:inline"><span style="font-size:small;background-color:rgb(255,255,255);display:inline">ERROR
ceilometer.pipeline.sample [-] Pipeline meter_sink: Continue after error from publisher <ceilometer.publisher.gnocchi.</span><span style="font-size:small;background-color:rgb(255,255,255);display:inline">GnocchiPublisher object at 0x7fc9800f9ee0>: gnocchiclient.exceptions.</span><span style="font-size:small;background-color:rgb(255,255,255);display:inline">Conflict:
<html></span><br>
<span style="font-size:small;background-color:rgb(255,255,255);display:inline"> <head></span><br style="font-size:small;background-color:rgb(255,255,255)">
<span style="font-size:small;background-color:rgb(255,255,255);display:inline"> <title>409 Conflict</title></span><br style="font-size:small;background-color:rgb(255,255,255)">
<span style="font-size:small;background-color:rgb(255,255,255);display:inline"> </head></span><br style="font-size:small;background-color:rgb(255,255,255)">
<span style="font-size:small;background-color:rgb(255,255,255);display:inline"> <body></span><br style="font-size:small;background-color:rgb(255,255,255)">
<span style="font-size:small;background-color:rgb(255,255,255);display:inline"> <h1>409 Conflict</h1></span><br style="font-size:small;background-color:rgb(255,255,255)">
<span style="font-size:small;background-color:rgb(255,255,255);display:inline"> There was a conflict when trying to complete your request.<br /><br /></span><br style="font-size:small;background-color:rgb(255,255,255)">
<span style="font-size:small;background-color:rgb(255,255,255);display:inline">Archive policy ceilometer-low already exists</span><br style="font-size:small;background-color:rgb(255,255,255)">
<span style="font-size:small;background-color:rgb(255,255,255);display:inline"> </body></span><br style="font-size:small;background-color:rgb(255,255,255)">
<span style="font-size:small;background-color:rgb(255,255,255);display:inline"></html> (HTTP 409)</span><br>
</span></span></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"><span style="font-size:small"><span style="font-size:small;background-color:rgb(255,255,255);display:inline"><span style="font-size:small;background-color:rgb(255,255,255);display:inline"><br>
</span></span></span></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"><span style="font-size:small"><span style="font-size:small;background-color:rgb(255,255,255);display:inline"><span style="font-size:small;background-color:rgb(255,255,255);display:inline">Do
you know how to resolve this?</span></span></span></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"><span style="font-size:small"><span style="font-size:small;background-color:rgb(255,255,255);display:inline"><span style="font-size:small;background-color:rgb(255,255,255);display:inline"><br>
</span></span></span></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"><span style="font-size:small"><span style="font-size:small;background-color:rgb(255,255,255);display:inline"><span style="font-size:small;background-color:rgb(255,255,255);display:inline">Thanks.</span></span></span></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"><span style="font-size:small"><span style="font-size:small;background-color:rgb(255,255,255);display:inline"><br>
</span></span></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"><br>
</span></div>
<div id="gmail-m_-2344562435945767839x_gmail-m_-3563371378018935762appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</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>