<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="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important">+-----------------------+-----</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">------------------------------</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">------------------------------</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">--+</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">| 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 !important">+-----------------------+-----</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">------------------------------</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">------------------------------</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">--+</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">| created_by_project_id | ce87d288bf5846f1b54d3664802fd0</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">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 !important">| created_by_user_id    | f8619bc10b584e3d9365ca201d00c9</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">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 !important">| creator               | f8619bc10b584e3d9365ca201d00c9</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">e6:</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">ce87d288bf5846f1b54d3664802fd0</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">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 !important">| 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 !important">| id                    |
</span><span style="font-size:9.75pt;background-color:rgb(255, 255, 255);display:inline !important">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 !important">
                              |</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">| 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 !important">| original_resource_id  |
</span><span style="font-size:9.75pt;background-color:rgb(255, 255, 255);display:inline !important">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 !important">
                              |</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">| project_id            | f25dced0e26947dd924fc2c9984282</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">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 !important">| 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 !important">| revision_start        | 2022-03-08T15:46:36.110838+00:</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">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 !important">| started_at            | 2022-03-08T15:46:36.110825+00:</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">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 !important">| 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 !important">| user_id               | 4d36e9b17ff04d55853cddf111a0d4</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">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 !important">+-----------------------+-----</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">------------------------------</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">------------------------------</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">--+</span><br>
</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> Rafael Weingärtner <rafaelweingartner@gmail.com><br>
<b>Inviato:</b> martedì 8 marzo 2022 16:56<br>
<b>A:</b> Molka Gharbaoui <molka.gharbaoui@santannapisa.it><br>
<b>Cc:</b> Openstack Discuss List <openstack-discuss@lists.openstack.org><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 class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Tue, Mar 8, 2022 at 12:00 PM Molka Gharbaoui <<a href="mailto:Molka.Gharbaoui@santannapisa.it">Molka.Gharbaoui@santannapisa.it</a>> wrote:<br>
</div>
<blockquote class="x_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="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="x_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" class="x_gmail_signature">
<div dir="ltr">Rafael Weingärtner</div>
</div>
</div>
</body>
</html>