On 18/09/2023 14:27, Mostafa Salari wrote: > Hi. how can i find a simple, correct, ceilometer configuration for > "yoga" version of openstack? > 1) I followed this instruction guide > <https://docs.openstack.org/ceilometer/latest/install/> step by step! > 2) I installed devstack with enabled ceilometer (and gnocchi as backend) > but after both tries mentioned above, i did not see any metric. > I also changed the publisher from gnocchi:// into file:// but the result > did not change. Did you launch a vm, create an image or a volume? Ceilometer listens on the rabbit bus and polls service apis, but in order to show something, there needs to exist some workload. If you are asking for help, it's always beneficial to also provide logs. Matthias > > cat /etc/ceilometer/ceilometer.conf: > [DEFAULT] > transport_url = > rabbit://stackrabbit:bsvbr5pzLpN0szN84v3m@127.0.0.1:5672/ > <http://stackrabbit:bsvbr5pzLpN0szN84v3m@127.0.0.1:5672/> > use_syslog = True > > [oslo_messaging_notifications] > topics = notifications > driver = messagingv2 > > [coordination] > backend_url = redis://localhost:6379 > > [notification] > workers = 4 > > [cache] > backend_argument = url:redis://localhost:6379 > backend_argument = distributed_lock:True > backend_argument = db:0 > backend_argument = redis_expiration_time:600 > backend = dogpile.cache.redis > enabled = True > > [service_credentials] > auth_url = http://127.0.0.1/identity <http://127.0.0.1/identity> > region_name = RegionOne > password = bsvbr5pzLpN0szN84v3m > username = ceilometer > project_name = service > project_domain_id = default > user_domain_id = default > auth_type = password > > [keystone_authtoken] > memcached_servers = localhost:11211 > cafile = /opt/stack/data/ca-bundle.pem > project_domain_name = Default > project_name = service > user_domain_name = Default > password = bsvbr5pzLpN0szN84v3m > username = ceilometer > auth_url = http://127.0.0.1/identity <http://127.0.0.1/identity> > interface = public > auth_type = password > > > _________________________________________ > cat /etc/ceilometer/pipeline.yaml: > --- > sources: > - name: meter_source > meters: > - "*" > sinks: > - meter_sink > sinks: > - name: meter_sink > publishers: > - file:///tmp/ceilofile?json > # - gnocchi://?archive_policy=low&filter_project=service > > ____________________________ > cat /etc/ceilometer/polling.yaml > --- > sources: > - name: all_pollsters > interval: 300 > meters: > - "*" > > _____________________________ > root at os-aio:/# cat /etc/gnocchi/gnocchi.conf > > [DEFAULT] > debug = True > coordination_url = redis://localhost:6379 > > [indexer] > url = > mysql+pymysql://root:bsvbr5pzLpN0szN84v3m@127.0.0.1/gnocchi?charset=utf8 > <http://root:bsvbr5pzLpN0szN84v3m@127.0.0.1/gnocchi?charset=utf8> > > [storage] > redis_url = redis://localhost:6379 > driver = redis > > [metricd] > metric_processing_delay = 5 > > [api] > auth_mode = keystone > > [keystone_authtoken] > memcached_servers = localhost:11211 > cafile = /opt/stack/data/ca-bundle.pem > project_domain_name = Default > project_name = service > user_domain_name = Default > password = bsvbr5pzLpN0szN84v3m > username = gnocchi > auth_url = http://127.0.0.1/identity <http://127.0.0.1/identity> > interface = public > auth_type = password > > -- Matthias Runge <mrunge at matthias-runge.de>