发起问题

sagargurung 的档案 - activity

2021-02-21 07:55:33 -0500 获得奖牌  著名问题 (source)
2020-04-06 07:14:13 -0500 评论回答 Gnocchi measures result showing empty

Hi there, I'm having similar issues, not being able to see any metric data, although, resources and metric lists are available. Not sure why. I tried applying your above solution but doesn't seems to work. Any idea why metrics data aren't available? Thank you

2020-04-06 04:22:05 -0500 获得奖牌  热门的问题 (source)
2020-04-06 04:22:05 -0500 获得奖牌  受欢迎的问题 (source)
2020-04-03 18:59:15 -0500 问了问题 What is it causing this error whilst running: sudo gnocchi-api?

Hi there, I'm currently working on Ceilometer and Gnocchi integration on Openstack Rocky release. Something doesn't seems to work as expected. Got this below error whilst running: sudo gnocchi-api command, but when I run sudo gnocchi-metricd it seems to work but not fully promising.

[storage] driver = file

Any suggestions would be kindly appreciated please. Thank you

admin5g@aio-3121:~$ sudo gnocchi-api 2020-04-03 22:10:16,904 [1511] INFO gnocchi.service: Gnocchi version 4.3.4 /usr/bin/uwsgi: option '--http' is ambiguous; possibilities: '--http-socket' '--http-socket-modifier1' '--http-socket-modifier2' '--https-socket' '--https-socket-modifier1' '--https-socket-modifier2' getopt_long() error

When I run: sudo gnocchi-metricd, I get this,

2020-04-03 21:56:51,121 [71313] INFO gnocchi.cli.metricd: Incoming driver does not support notification 2020-04-03 21:56:51,132 [71343] WARNING gnocchi.cli.metricd: Coordinator does not support partitioning. Worker will battle against other workers for jobs. 2020-04-03 21:56:51,133 [71343] INFO gnocchi.cli.metricd: Incoming driver does not support notification 2020-04-03 21:56:51,135 [71346] WARNING gnocchi.cli.metricd: Coordinator does not support partitioning. Worker will battle against other workers for jobs. 2020-04-03 21:56:51,136 [71346] INFO gnocchi.cli.metricd: Incoming driver does not support notification 2020-04-03 21:56:51,151 [71358] WARNING gnocchi.cli.metricd: Coordinator does not support partitioning. Worker will battle against other workers for jobs. 2020-04-03 21:56:51,152 [71358] INFO gnocchi.cli.metricd: Incoming driver does not support notification 2020-04-03 21:56:51,160 [71361] WARNING gnocchi.cli.metricd: Coordinator does not support partitioning. Worker will battle against other workers for jobs. 2020-04-03 21:56:51,161 [71361] INFO gnocchi.cli.metricd: Incoming driver does not support notification 2020-04-03 21:56:51,166 [71351] WARNING gnocchi.cli.metricd: Coordinator does not support partitioning. Worker will battle against other workers for jobs. 2020-04-03 21:56:51,167 [71351] INFO gnocchi.cli.metricd: Incoming driver does not support notification 2020-04-03 21:58:50,888 [71365] INFO gnocchi.cli.metricd: 0 measurements bundles across 0 metrics wait to be processed. 2020-04-03 22:00:50,889 [71365] INFO gnocchi.cli.metricd: 0 measurements bundles across 0 metrics wait to be processed. 2020-04-03 22:02:50,889 [71365] INFO gnocchi.cli.metricd: 0 measurements bundles across 0 metrics wait to be processed. 2020-04-03 22:04:50,889 [71365] INFO gnocchi.cli.metricd: 0 measurements bundles across 0 metrics wait to be processed. 2020-04-03 22:06:50,889 [71365] INFO gnocchi.cli.metricd: 0 measurements bundles across 0 metrics wait to be processed. 2020-04-03 22:08:50,890 [71365] INFO gnocchi.cli.metricd: 0 measurements bundles across 0 metrics wait to be processed. 2020-04-03 22:10:50,888 [71365] INFO gnocchi.cli.metricd: 0 measurements bundles across 0 metrics wait to be processed. 2020-04-03 22:12:50,890 [71365] INFO gnocchi.cli.metricd: 0 measurements bundles across 0 metrics wait to be processed. 2020-04-03 22:14:50,890 [71365] INFO gnocchi.cli.metricd: 0 measurements bundles across 0 metrics wait to be processed. 2020-04-03 22:16:50,894 [71365] INFO gnocchi.cli ... (more)

2019-11-20 05:38:11 -0500 获得奖牌  粉丝
2019-10-14 04:50:26 -0500 获得奖牌  著名问题 (source)
2019-09-06 06:52:17 -0500 问了问题 Does the Prometheus needs to be installed on each instances of Openstack (Rocky)? Do we need Apache installed first?

Hi, I'm planning to install Prometheus but wondering if it needs to be installed on each running instances of openstack?

If it needs to be installed on each running instances, as Prometheus is GUI based, do I need to install Apache first and then Prometheus on top of Apache?

If I've to install Apache first and then Prometheus on top of it, then, do Prometheus retrieves Apache metrics or running instance's metrics?

Any suggestions would be kindly appreciated, thank you.

2019-09-06 05:33:21 -0500 获得奖牌  热门的问题 (source)
2019-08-17 15:59:28 -0500 获得奖牌  受欢迎的问题 (source)
2019-08-10 19:19:27 -0500 评论问题 Gnocchi with no data from ceilometer although all configurations are setup as per official documentation (ROCKY, Ubuntu 18.04)?

Thank you @Bernd Bausch. Yah, it was that pipeline.yaml file being configured incorrectly. Much appreciated :)

2019-08-10 13:29:58 -0500 问了问题 Gnocchi with no data from ceilometer although all configurations are setup as per official documentation (ROCKY, Ubuntu 18.04)?

Openstack version: Rocky, Ubuntu 18.04 Currently working on Ceilometer and Gnocchi integration. After several road blocks, I believe all configurations are correctly configured, however, no data is populated onto gnocchi database because when I ran "gnocchi status" below is the output: +-----------------------------------------------------+-------+ | Field | Value | +-----------------------------------------------------+-------+ | metricd/processors | None | | storage/number of metric having measures to process | 0 | | storage/total number of measures to process | 0 | +-----------------------------------------------------+-------+ and when I also tried gnocchi resource list --type image, output is blank.

I have following config files:

pipeline.yaml(manually created the file and added config details as per documentation https://docs.openstack.org/ceilometer/rocky/install/install-base-ubuntu.html (https://docs.openstack.org/ceilometer...))

publishers: - gnocchi://?filter_project=service&archive_policy=low

polling.yaml sources: - name: some_pollsters interval: 300 meters: - cpu - cpu_l3_cache - memory.usage - network.incoming.bytes - network.incoming.packets - network.outgoing.bytes - network.outgoing.packets - disk.device.read.bytes - disk.device.read.requests - disk.device.write.bytes - disk.device.write.requests - hardware.cpu.util - hardware.memory.used - hardware.memory.total - hardware.memory.buffer - hardware.memory.cached - hardware.memory.swap.avail - hardware.memory.swap.total - hardware.system_stats.io.outgoing.blocks - hardware.system_stats.io.incoming.blocks - hardware.network.ip.incoming.datagrams - hardware.network.ip.outgoing.datagrams

Not sure what's the cause of this issue? Do I need to configure more on pipeline.yamlfile as shown on this link https://github.com/openstack/ceilometer/blob/stable/pike/ceilometer/pipeline/data/pipeline.yaml (https://github.com/openstack/ceilomet...) Official documentation hasn't mentioned in detail so wondering if it's missing more there. Any help or suggestions would be kindly appreciated. Thanks.

Some log outputs from "ceilometer-agent-notification":

2019-08-10 14:30:29.069 24076 DEBUG ceilometer.agent [-] Config file: {'publishers': ['gnocchi://?filter_project=service&archive_policy=low']} load_config /usr/lib/python2.7/dist-packages/ceilometer/agent.py:70 2019-08-10 14:30:29.069 24076 ERROR stevedore.extension [-] Could not load 'meter': Pipeline {'publishers': ['gnocchi://?filter_project=service&archive_policy=low']}: Both sources & sinks are required: PipelineException: Pipeline {'publishers': ['gnocchi://?filter_project=service&archive_policy=low']}: Both sources & sinks are required 2019-08-10 14:30:29.069 24076 ERROR ceilometer.notification [-] Could not load the following pipelines: set(['meter']) 2019-08-10 14:30:29.071 24076 DEBUG ceilometer.pipeline.event [-] Loading event definitions __init__ /usr/lib/python2.7/dist-packages/ceilometer/pipeline/event.py:36 2019-08-10 14:30:29.072 24076 DEBUG ceilometer.declarative [-] No Definitions configuration file found! Using default config. load_definitions /usr/lib/python2.7/dist-packages/ceilometer/declarative.py:154 2019-08-10 14:30:29.072 24076 DEBUG ceilometer.declarative [-] Loading definitions configuration file: /usr/lib/python2.7/dist-packages/ceilometer/pipeline/data/event_definitions.yaml load_definitions /usr/lib/python2.7/dist-packages/ceilometer/declarative.py:159 2019-08-10 14:30:29.153 24076 INFO ceilometer.declarative [-] Definitions: [{'traits': {'disk_gb': {'fields': 'payload.disk_gb', 'type': 'int'}, 'resource_id': {'fields': 'payload.instance_id'}, 'os_distro': {'fields': "payload.image_meta.'org.openstack__1__os_distro'"}, 'ephemeral_gb': {'fields': 'payload.ephemeral_gb', 'type': 'int'}, 'instance_type_id': {'fields': 'payload.instance_type_id', 'type': 'int'}, 'host': {'fields': 'publisher_id.split(., 1, 1)'}, 'os_architecture': {'fields': "payload.image_meta.'org.openstack__1__architecture'"}, 'display_name': {'fields': 'payload.display_name'}, 'deleted_at': {'fields': 'payload.deleted_at', 'type': 'datetime'}, 'cell_name': {'fields': 'payload.cell_name ... (more)

2019-08-10 06:24:58 -0500 评论问题 Ceilometer is unable to connect to gnocchi.

Openstack:Rocky pipeline.yaml publishers: - gnocchi://?filter_project=service&archive_policy=low polling.yaml sources: - name: some_pollsters interval: 300 meters: - cpu - cpu_l3_cache - memory.usage - network.incoming.bytes - n

2019-08-09 06:23:44 -0500 评论问题 Ceilometer is unable to connect to gnocchi.

Hi, I have no HTTP errors at all but I'm also unable to connect ceilometer and gnocchi. No data when I ran "gnocchi status". As per doc, to make a connection with ceilometer, we've to configure "pipeline.yaml". I did but still nothing. Have you managed to do any progress on this please? Thanks