发起问题

yprokule 的档案 - activity

2018-03-05 04:52:32 -0500 获得奖牌  好回答 (source)
2017-10-28 05:25:31 -0500 获得奖牌  优秀回答 (source)
2017-05-10 04:27:46 -0500 回答问题 installing Gnocchi in Newton is possible?
  1. Probably better place to ask this question is on openstack-dev mailing list
  2. Using Gnocchi instead of Data store - not sure what do U mean here. Are ceilometer and gnocchi working together - yes, but now instead of ceilometer (sample-list|resource-list|meter-list) commands U need to use gnocchi resource|metric|archive-policy list, etc.
2017-05-10 04:21:36 -0500 评论回答 how to enable hardware metrics on gnocchi

Please enable debug/verbose in ceilometer.conf, restart openstack-ceilometer-* services, and check ceilometer/(central|collector).log

2017-05-10 04:18:27 -0500 评论回答 aodh alarm threshold not supported

@nebukazar - the cluster consists of instances, doesn't it? If so add some metadata to vms during creation and use query as in example:

query:
  str_replace:
    template: '{"=": {"server_group": "stack_id"}}'
    params:
      stack_id: {get_param: "OS::stack_id"}
2017-05-10 04:09:55 -0500 评论回答 Where should I install Gnocchi?

@bernd-bausch - Gnocchi doesn't use MongoDB, available backends:

- file
- ceph
- swift
- s3
- redis

http://gnocchi.xyz/architecture.html

2017-05-01 04:07:58 -0500 回答问题 how to enable hardware metrics on gnocchi

Main question - is ceilometer able to collect this data via snmp ? Have U configured it with correct username/community in ceilometer.conf ?

- name: meter_snmp 
  interval: 60 
  resources: 
    - snmp://10.10.128.46 
    - snmp://10.10.128.47 
    - snmp://10.10.128.48
  meters: 
    - "hardware.cpu"
    - "hardware.memory" 
    - "hardware.disks" 
    - "hardware.network" 
    - "hardware.network" 
    - "hardware.system_stats" 
  sinks: 
    - meter_sink

There are no such meters as: hardware.cpu or hardware.memory, but hardware.cpu.load.1min, hardware.cpu.load.5min, hardware.cpu.load.15min, hardware.cpu.util.

https://docs.openstack.org/admin-guid...

So either explicitly specify meters, or use wildcard, e.g:

 - "hardware.cpu.*"
2017-05-01 03:54:49 -0500 评论回答 ceilometer event-list "HTTPNotFound"

Can U try to install it ?

2017-05-01 03:52:15 -0500 评论回答 How can I start Gnocchi ?

@mkhan - what section do U reference to ? statsd or another ?

2017-05-01 03:48:18 -0500 评论回答 Ceilometer central polling HA question, differences between configure multiple workers and startup multiple ceilometer polling?

@zero - could U please elaborate more on what U trying to achieve ? Also please check - https://docs.openstack.org/ha-guide/i...

2017-05-01 03:43:45 -0500 回答问题 aodh alarm threshold not supported

@nebukazar - indeed, threshold alarms ain't supported. Reason - default publisher is gnocchi, so all the data is stored there.

Please check: - https://docs.openstack.org/developer/...

2017-04-24 15:32:27 -0500 获得奖牌  好回答 (source)
2017-04-10 03:37:21 -0500 回答问题 How can I start Gnocchi ?

@mkhan - U still need ceilometer to collect data. Gnocchi is just a backend storage for data collected by ceilometer.

Please check gnocchi's docs for installation/configuration - http://gnocchi.xyz/install.html

And if U have some specific question(service fails to start/no data available) please file them separately.

2017-04-10 03:32:37 -0500 回答问题 ceilometer event-list "HTTPNotFound"

@bernd-bausch - do U have endpoint for Pankoservice ? Ceilometer API is deprecated and events are handled by Panko https://docs.openstack.org/developer/...

2017-03-30 00:46:28 -0500 回答问题 Glance is using 'localhost' for mysql connection even if other host is configured

@jorge-florencio - probably wrong entry in /etc/hosts ? Try running command with --verbose/--debug options.

2017-03-30 00:43:07 -0500 评论回答 Ceilometer Alarm insufficient Data

@AB239 - so what OS U r running ? Enable debug/verbose and check ceilometer/aodh logs for more details.

2017-03-24 07:45:06 -0500 回答问题 ceilometer and gnocchi: no resources or metrics

As @xtrilla already pointed - publisher has to be notifier in pipeline.yaml and ceilometer itself will take care of sending data to gnocchi.

Worth checking ceilometer/collector.log - if ceilometer has problems communicating with gnocchi, those would be here.

2017-03-24 07:29:20 -0500 回答问题 Ceilometer meter-list throws an 500 error

@DarkKnight - looks like U've deleted the ceilometer db :( Try to login to mongo and check list of available databases. E.g:

mongo --host <ip>
show dbs

if there is no ceilometer db - re-create it. Not sure maybe ceilometer-upgrade command will help U with this.

2017-03-24 07:25:32 -0500 回答问题 ERROR ceilometer AttributeError: 'NoneType' object has no attribute 'find'

@rvinkovic, @ShubhamMeshram : Cause Gnocchiis a dedicated product its docs located here - http://gnocchi.xyz/install.html

I suggest to open a bz against ceilometer to get it fixed. As a workaround U can create a metering db and remove it later manually.

2017-03-24 01:31:07 -0500 评论问题 What is the difference of disk.capacity disk.allocation disk.usage?

There is no easy solution though if guest vms have floating ips U can use SNMP based meters

2017-03-22 06:23:29 -0500 评论回答 Telemetry Aodh calculate the time boundary right or wrong?

Basically it's used to avoid alarm flapping between states. The data is polled at regular intervals but there is additional processing delay before it ends up at the storage backend, and can be used by AODH

2017-03-22 06:19:32 -0500 评论回答 How can I get the stats of a VM launched in Packstack?

There are sections like Basic Concepts and Exploring with the CLI which will answer your initial question:

But how exactly can I use it to obtain stats of a particular VM and extract that data to perform some kind of analytics on it?
2017-03-22 04:35:35 -0500 评论回答 Ceilometer Meters Missing

quite old, old thread. Much changed since icehouse/havana.

2017-03-22 04:30:00 -0500 评论问题 What is the difference of disk.capacity disk.allocation disk.usage?

All aforementioned meters are different and described in NOTE column at page U've sent. Also I doubt that libvirt is providing info about free space inside the guest.

2017-03-22 04:20:02 -0500 回答问题 Error: Unable to retrieve Ceilometer meter list.

What OS version do U use ?

2017-03-22 04:16:57 -0500 回答问题 Telemetry Aodh calculate the time boundary right or wrong?

@Cow - if U don't set exclude_outliers then look_back is set to self.look_back:

>>> rule = {}
>>> rule['exclude_outlier'] = None
>>> look_back = ( 123 if not rule.get('exclude_outlier') else 789 )
>>> look_back
123
>>> rule['exclude_outlier'] = 'Example'
>>> look_back = ( 123 if not rule.get('exclude_outlier') else 789 )
>>> look_back
789
>>>

am I missing smth ?

2017-03-22 03:56:02 -0500 评论问题 Ceilometer - Error: An error occurred. Please try again later.
2017-03-22 01:53:30 -0500 回答问题 How can I get the stats of a VM launched in Packstack?
2017-03-22 01:51:48 -0500 回答问题 Ceilometer - Error: An error occurred. Please try again later

I doubt this is ceilometer's issue, more likely smth wrong with horizon. Please check corresponding logs.

2017-03-22 01:46:19 -0500 回答问题 Ceilometer Meters Missing

@4Frisby - I'd recommend enable debug/verbose in ceilometer.conf and restart ceilometer* services. Check ceilometer/compute.log - if ceilometer fails to obtain compute specific meters U'll get errors here. 2ndly - check ceilometer/collector.log - if there are issues dispatching data to backend - it's usually logged here.

2017-01-30 02:56:59 -0500 回答问题 ceilometer meter-list oddity

So, ceilometer is limiting all the queries (meter/sample/resource) to just first 100 results. Just not to overwhelm db. And U r able to override it with --limit option on CLI.

2017-01-23 04:59:15 -0500 回答问题 how to monitor openstack cloud

ceilometer- is a tool to go to gather data about resources' usage. http://docs.openstack.org/developer/c...

Definitely, if U have experience with Nagios/Sensu/Zabbix/etc - U can use any of them.

2017-01-19 10:05:16 -0500 评论回答 ceilometer cli commands returns 403

@DarkKnight - so how changing port helps ? U either start ceilometer-api from apache's mod_wsgi or with regular systemctl start openstack-ceilometer-api

2017-01-19 10:03:40 -0500 评论回答 ceilometer cli commands returns 403

@gianpietro - so it works for U ?

2017-01-09 03:03:12 -0500 评论回答 Ceilometer Liberty not working

so U've restarted openstack-ceilometer-compute and there is nothing written to the ceilometer/compute.log ? Is the service running ? What about selinux ?

2017-01-06 06:24:09 -0500 回答问题 Ceilometer Liberty not working

@thinh-le - I'd advise to enable debug/verbose on the compute node in ceilometer.conf, restart ceilometer-compute and check the logs.

It will give an additional info if the ceilometer-compute is working ok or has problems interacting with libvirtd.

2017-01-06 05:57:01 -0500 评论问题 ceilometer cli commands returns 403

Agree with @bernd-bausch . Try to enable debug/verbose and check ceilometer's logs as well as httpd's logs.

2017-01-06 05:53:30 -0500 回答问题 Documentation for Installing ceilometer not correct

ceilometer-api is running from under Apache's mod_wsgi, hence U don't need to start a service on it's own. I mean systemctl start openstack-ceilometer-api.service is not required anymore.

2016-12-07 01:52:22 -0500 评论问题 getting ceilometer nova-client error on compute node

Regarding other message : The server has either erred or is incapable of performing the requested operation. please enabled debug/verbose for both ceilometer and nova.

Also please check the pollster's name that causes the traceback.

2016-12-07 01:49:56 -0500 评论问题 getting ceilometer nova-client error on compute node

dropping sample with no predecessor is expected message for some pollsters. They expect to have 2 samples to calculate the sample's volume

2016-11-28 01:21:34 -0500 回答问题 gnocchi some metrics with no measures

What backend does gnocchi use - swift, ceph, file ? Is this HA setup ?

Measures for metric vcpus are derived from notifications emitted by nova. And the cpu_util is calculated on the controller nodes based on data received from compute nodes.

So, check :

  1. ceilometer-compute-agent is running on computes
  2. Check pipeline.yaml on controllers
  3. Check ceilometer/collector.log
  4. Check gnocchi/metricd.log
  5. Check gnocchi status
2016-11-28 01:10:42 -0500 评论回答 gnocchi setup

So, in gnocchi.conf U specify archive_policy_name for gnocchi-statsd, not for usage in/with ceilometer.

2016-11-28 01:09:26 -0500 评论回答 gnocchi setup

Feel free to use default one :)

2016-11-25 04:09:27 -0500 回答问题 gnocchi setup

@masber - it basically says - the policy's name you specify in ceilometer.conf must be configured in Gnocchi, not in gnocchi.conf

So create an archive-policy, like:

gnocchi archive-policy create \
    -b 0 -m min -m mean -m max -m count \
    -d 'points:5,granularity:60' \
    -d 'points:3,timespan:900' \
    -d 'timespan:3600,granularity:900' \
    -d 'points:24,granularity:3600' \
    my-low

than specify my-low in your ceilometer.conf

2016-11-25 04:05:19 -0500 评论问题 gnocchi-api fails with 403 Forbidden

@Meghna - without logs it's hard to say what's going on. Please provide gnocchi's logs api/metricd. Btw, what backend is gnocchi configured to use - file/swift/ceph ? Appropriate section from gnocchi.conf would be helpfull as well.

2016-11-15 04:46:40 -0500 回答问题 Flow volume_attachment tags from cinder to ceilometer

Have no idea what's this statement about.( or this is question ? )

2016-11-15 04:44:51 -0500 回答问题 what values need to be given in gnocchi.conf

According to docs - http://gnocchi.xyz/statsd.html any valid user id/tenant id. Though better to use gnocchi's id for user and service tenant's id for tenant.

resource_id can be generated like:

python -c 'import uuid; print uuid.uuid4()'