Ask Your Question

super250's profile - activity

2016-12-30 02:01:20 -0500 received badge  Famous Question (source)
2016-03-03 02:04:15 -0500 received badge  Supporter (source)
2016-03-03 01:55:15 -0500 commented answer ceilometer pipeline.SampleSink never works

hi,yprokule. Since not focused on this problem thease days, but i confirmed that some all-in-one systems worked well with pipeline.yaml. So i think you have given the right piont, i will try this later. Thank u very much :)

2016-03-03 01:49:42 -0500 received badge  Scholar (source)
2016-02-24 16:09:46 -0500 received badge  Notable Question (source)
2016-02-23 04:17:07 -0500 received badge  Popular Question (source)
2016-02-18 08:21:31 -0500 commented question ceilometer pipeline.SampleSink never works

The same as condictions2: if pipeline_hash(in def refresh_pipeline() of service_base.py): returns false forever even i change the data of pipeline

2016-02-18 08:19:36 -0500 commented question ceilometer pipeline.SampleSink never works

There's some information. It seems there are many conditions before a pipeline reaches the "Class SampleSink", i logged them and i found that: conditions 1: if mtime > pipeline_mtime (i logged that and it returns false forever because mtime always the same even i modied pipeline.yaml)

2016-02-18 08:09:55 -0500 asked a question ceilometer pipeline.SampleSink never works

hi , I have recentlly worked on ceilometer in Liberty.
When i use a ceilometer-compute agent, i'd like to modify pipeline.yaml to change some transformers and publishers. Unfortunately, it seems that : when i update sources.interval, it correctly changes the inverval of the data collection; but when i modify the sinks like below:

sinks:
- name: cpu_sink
  transformers:
      - name: "rate_of_change"
        parameters:
            target:
                name: "cpu_util"
                unit: "%"
                type: "gauge"
                scale: "100.0 / (10**9 * (resource_metadata.cpu_number or 1))"
  publishers:
      - udp://127.0.0.1:33333
      - file:///tmp/test2

it takes NO effect to either transformers nor publishers.

I then made a trace in the ceilometer code, just print some logs in pipeline.py and agent/manage.py, i found that each time the poller works, it runs into "class SampleSource " forever, and of course gets the configurations as interval or meters ; but it will NEVER run into "class SampleSink" which will take effects of the configurations as transformers and publisher.I think that is the problem.

Because i am not good at coding, i really don't know why this happens. I followed the http://docs.openstack.org to install the ceilometer component, and it worked well by default, for example, i can use ceilometer-client to get the data. But I just can't make pipeline sink work.

I wander if there's something i missed, I'm glad if anyone could give a hand, and many thanks.

2016-02-17 12:04:53 -0500 answered a question How to configure a compute node ceilometer agent to send meters to a UDP port?

i fall into the same case with you.