+-----------------------+-------------------------------------------------------------------+ | Field | Value | +-----------------------+-------------------------------------------------------------------+ | created_by_project_id | ce87d288bf5846f1b54d3664802fd06d | | created_by_user_id | f8619bc10b584e3d9365ca201d00c9e6 | | creator | f8619bc10b584e3d9365ca201d00c9e6:ce87d288bf5846f1b54d3664802fd06d | | ended_at | None | | id | 3ef0373a-558c-4818-b693-7536ee70d283 | | metrics | | | original_resource_id | 3ef0373a-558c-4818-b693-7536ee70d283 | | project_id | f25dced0e26947dd924fc2c9984282ad | | revision_end | None | | revision_start | 2022-03-08T15:46:36.110838+00:00 | | started_at | 2022-03-08T15:46:36.110825+00:00 | | type | instance | | user_id | 4d36e9b17ff04d55853cddf111a0d4dd | +-----------------------+-------------------------------------------------------------------+ ________________________________ Da: Rafael Weingärtner <rafaelweingartner@gmail.com> Inviato: martedì 8 marzo 2022 16:56 A: Molka Gharbaoui <molka.gharbaoui@santannapisa.it> Cc: Openstack Discuss List <openstack-discuss@lists.openstack.org> Oggetto: Re: R: R: [Devstack][Gnocchi][Ceilometer] Not able to retrieve metrics using ceilometer and gnocchi What does "gnocchi resource show 3ef0373a-558c-4818-b693-7536ee70d283" display? On Tue, Mar 8, 2022 at 12:00 PM Molka Gharbaoui <Molka.Gharbaoui@santannapisa.it<mailto:Molka.Gharbaoui@santannapisa.it>> wrote: 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: 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 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 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 So I guess that Ceilometer is starting to poll some statistics. The "gnocchi resource list" also now gives the following output: ID Type 3ef0373a-558c-4818-b693-7536ee70d283 | instance However, the "gnocchi metric list" is still empty. Looking in the logs of "ceilometer-agent-notification", I found the following error: ERROR ceilometer.pipeline.sample [-] Pipeline meter_sink: Continue after error from publisher <ceilometer.publisher.gnocchi.GnocchiPublisher object at 0x7fc9800f9ee0>: gnocchiclient.exceptions.Conflict: <html> <head> <title>409 Conflict</title> </head> <body> <h1>409 Conflict</h1> There was a conflict when trying to complete your request.<br /><br /> Archive policy ceilometer-low already exists </body> </html> (HTTP 409) Do you know how to resolve this? Thanks. -- Rafael Weingärtner