Enquiry on pipeline.yaml [closed]

asked 2014-04-13 03:27:39 -0500

senyapsudah gravatar image

hi guys,

i have some issues with my ceilometer. one of it i notice the default pipeline file is much more lesser then the one that i see in the documentation guide. https://git.openstack.org/cgit/openstack/ceilometer/tree/etc/ceilometer/pipeline.yaml.

my current one:

    ---
-
    name: meter_pipeline
    interval: 600
    meters:
        - "*"
    transformers:
    publishers:
        - rpc://
-
    name: cpu_pipeline
    interval: 600
    meters:
        - "cpu"
    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:
        - rpc://

i have download the one from the link above and installed. however, when i try to restart the service it not able to startup. i can see that the error is as per below.

2014-04-13 16:18:33.798 12787 CRITICAL ceilometer [-] string indices must be integers, not str
2014-04-13 16:18:33.798 12787 TRACE ceilometer Traceback (most recent call last):
2014-04-13 16:18:33.798 12787 TRACE ceilometer   File "/usr/bin/ceilometer-api", line 10, in <module>
2014-04-13 16:18:33.798 12787 TRACE ceilometer     sys.exit(start())
2014-04-13 16:18:33.798 12787 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 113, in start
2014-04-13 16:18:33.798 12787 TRACE ceilometer     root = VersionSelectorApplication()
2014-04-13 16:18:33.798 12787 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 101, in __init__
2014-04-13 16:18:33.798 12787 TRACE ceilometer     self.v2 = setup_app(pecan_config=pc)
2014-04-13 16:18:33.798 12787 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 62, in setup_app
2014-04-13 16:18:33.798 12787 TRACE ceilometer     hooks.PipelineHook(),
2014-04-13 16:18:33.798 12787 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/api/hooks.py", line 61, in __init__
2014-04-13 16:18:33.798 12787 TRACE ceilometer     'ceilometer.transformer'))
2014-04-13 16:18:33.798 12787 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/pipeline.py", line 363, in setup_pipeline
2014-04-13 16:18:33.798 12787 TRACE ceilometer     transformer_manager)
2014-04-13 16:18:33.798 12787 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/pipeline.py", line 338, in __init__
2014-04-13 16:18:33.798 12787 TRACE ceilometer     for pipedef in cfg]
2014-04-13 16:18:33.798 12787 TRACE ceilometer   File "/usr/lib/python2.7/dist-packages/ceilometer/pipeline.py", line 99, in __init__
2014-04-13 16:18:33.798 12787 TRACE ceilometer     self.name = cfg['name']
2014-04-13 16:18:33.798 12787 TRACE ceilometer TypeError: string indices must be integers, not str
2014-04-13 16:18:33.798 12787 TRACE ceilometer

can someone help me on this? basically i'm trying to find out why my dashboard resource page is missing the global disk usage stat, network usage stat. the only thing left now is a stat tab with missing nova metrics.

hopefully there is someone can show me the way.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-09-21 15:57:31.210401

Comments

which version of OpenStack are you running?

fifieldt gravatar imagefifieldt ( 2014-04-15 00:57:34 -0500 )edit

i'm running havana on ubuntu 12.04

senyapsudah gravatar imagesenyapsudah ( 2014-04-15 02:57:29 -0500 )edit

havana. just update to icehouse. but haven' try to use it yet. i believe it is for icehouse.

senyapsudah gravatar imagesenyapsudah ( 2014-04-25 07:22:18 -0500 )edit

Closing: This references a version of OpenStack which has been marked End Of Life - https://releases.openstack.org/ Please open a new question if you're still experiencing this with a more recent version of OpenStack.

rbowen gravatar imagerbowen ( 2016-09-21 15:57:26 -0500 )edit