notification service fails to retrieve filter_project

Bug #1988923 reported by Yadnesh Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
New
Undecided
Unassigned

Bug Description

Devstack deployed ceilometer, configures "filter_project" value in pipeline.yaml to "gnocchi_swift", however, no such project exists in keystone
~~~
$ openstack project list
+----------------------------------+--------------------+
| ID | Name |
+----------------------------------+--------------------+
| 25ab3dce20964b69ac6b4aa3fb05f6f3 | swiftprojecttest1 |
| 4419baf5696a40ba982a56014982588f | service |
| 83047a70e2994f4ab233a73fb3579f9c | demo |
| 8df083d03d4d44a09c04092a17ca65b6 | swiftprojecttest2 |
| 8e9ecb10ee1949089a38c6e17909485c | alt_demo |
| 933fd5dc46c844bc866a47222050e1d2 | swiftprojecttest4 |
| d66e29cf2744414fb71c18aad10a9d1b | admin |
| e37360e0aafc4c9d962ee275bb7b971f | invisible_to_admin |
+----------------------------------+--------------------+
~~~

As a result these messages are logged. The project for which these messages are logged is also missing from the logs.
~~~
Sep 07 11:19:05 dell-m620-4.gsslab.pnq.redhat.com ceilometer-agent-notification[320071]: 2022-09-07 11:19:05.989 320071 WARNING ceilometer.publisher.gnocchi [-] filtered project not found in keystone, ignoring the filter_project option: keystoneauth1.exceptions.http.NotFound: 404 (HTTP 404)
Sep 07 11:19:16 dell-m620-4.gsslab.pnq.redhat.com ceilometer-agent-notification[320073]: 2022-09-07 11:19:16.290 320073 WARNING ceilometer.publisher.gnocchi [-] filtered project not found in keystone, ignoring the filter_project option: keystoneauth1.exceptions.http.NotFound: 404 (HTTP 404)
Sep 07 11:19:16 dell-m620-4.gsslab.pnq.redhat.com ceilometer-agent-notification[320075]: 2022-09-07 11:19:16.317 320075 WARNING ceilometer.publisher.gnocchi [-] filtered project not found in keystone, ignoring the filter_project option: keystoneauth1.exceptions.http.NotFound: 404 (HTTP 404)
~~~

Filter_project should be set to "service". To better understand, the project for which these messages are logged should be added.

affects: ceilometer → devstack
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

Ceilometer isn't deployed by devstack, but by a plugin that is created by ceilometer, so the first association was in fact correct.

affects: devstack → ceilometer
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ceilometer 20.0.0.0rc1

This issue was fixed in the openstack/ceilometer 20.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.