settingsLogin | Registersettings

[Openstack-operators] [Ceilometer][Hardware] ERROR ceilometer.hardware.pollsters.generic NoMatches: No 'ceilometer.hardware.inspectors' driver found

0 votes

Hello,

I have been trying to modify my ceilometer setup in order to include hardware measurement but have not been able to do so. Looking into the logs there are a lot of errors like this:

2017-10-19 12:09:46.467 30274 ERROR ceilometer.agent.manager NoMatches: No 'ceilometer.hardware.inspectors' driver found, looking for 'opendaylight'

I have correctly set up SNMP since i am able to do "snmpwalk" correctly so I suspect my problem is in the pipeline or ceilometer.conf files. If someone can please share the proper way to set up this files i would appreciate it.

I included this in my pipeline:

- name: meter_snmp
  interval: 600
  resources:
      - snmp://community@x.x.x.x
  meters:
      - "hardware.cpu*"
      - "hardware.memory*"
      - "hardware.disk*"
      - "hardware.network*"
  sinks:
      - meter_sink

Best regards!

Enviado desde Outlookhttp://aka.ms/weboutlook


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
asked Oct 26, 2017 in openstack-operators by andres_sanchez_ramos (300 points)   1 2

7 Responses

0 votes

On 2017-10-19 09:20 AM, andres sanchez ramos wrote:
Hello,

I have been trying to modify my ceilometer setup in order to include
hardware measurement but have not been able to do so. Looking into the
logs there are a lot of errors like this:

2017-10-19 12:09:46.467 30274 ERROR ceilometer.agent.manager NoMatches:
No 'ceilometer.hardware.inspectors' driver found, looking for 'opendaylight'

I have correctly set up SNMP since i am able to do "snmpwalk" correctly
so I suspect my problem is in the pipeline or ceilometer.conf files. If
someone can please share the proper way to set up this files i would
appreciate it.

I included this in my pipeline:

    - name: metersnmp
      interval: 600
      resources:
          - snmp://community@x.x.x.x
      meters:
          - "hardware.cpu"
          - "hardware.memory
"
          - "hardware.disk"
          - "hardware.network
"
      sinks:
          - meter
sink

are you sure your agent is pointing to that pipeline.yaml? it says it's
looking for opendaylight.

--
gord


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Oct 20, 2017 by gordon_chung (19,300 points)   2 3 8
0 votes

Hello Gordon,

I had tried to configure my pipeline so it would also gather information from ODL since i was trying to get as much information as possible. I commented out everything related to ODL and the errors stopped. Any ideas about the cause of this behavior? I am attaching :

  • My pipeline file (with the ODL part commented out).

  • An extract of the output I was getting before.

  • The output after commenting ODL part.

Best regards,

On 2017-10-19 09:20 AM, andres sanchez ramos wrote:
Hello,

I have been trying to modify my ceilometer setup in order to include
hardware measurement but have not been able to do so. Looking into the
logs there are a lot of errors like this:

2017-10-19 12:09:46.467 30274 ERROR ceilometer.agent.manager NoMatches:
No 'ceilometer.hardware.inspectors' driver found, looking for 'opendaylight'

I have correctly set up SNMP since i am able to do "snmpwalk" correctly
so I suspect my problem is in the pipeline or ceilometer.conf files. If
someone can please share the proper way to set up this files i would
appreciate it.

I included this in my pipeline:

 - name: meter_snmp
   interval: 600
   resources:
       - snmp://community@x.x.x.x
   meters:
       - "hardware.cpu*"
       - "hardware.memory*"
       - "hardware.disk*"
       - "hardware.network*"
   sinks:
       - meter_sink

are you sure your agent is pointing to that pipeline.yaml? it says it's
looking for opendaylight.

--
gord

Enviado desde Outlook


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

responded Oct 24, 2017 by andres_sanchez_ramos (300 points)   1 2
0 votes

On 24/10/17 04:45 AM, andres sanchez ramos wrote:
I had tried to configure my pipeline so it would also gather information
from ODL since i was trying to get as much information as possible. I
commented out everything related to ODL and the errors stopped. Any
ideas about the cause of this behavior? I am attaching :

  • My pipeline file (with the ODL part commented out).

which version of ceilometer is this?

--
gord


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Oct 25, 2017 by gordon_chung (19,300 points)   2 3 8
0 votes

Gordon,

I followed this code i found on git:

import pbr.version
version_info = pbr.version.VersionInfo('ceilometer')

and the output was 7.0.3

Im using Openstack 14.0.5

Best regards,

Message: 1
Date: Wed, 25 Oct 2017 13:02:04 +0000
From: gordon chung gord@live.ca
To: "openstack-operators@lists.openstack.org"

Subject: Re: [Openstack-operators] [Ceilometer][Hardware] ERROR
ceilometer.hardware.pollsters.generic NoMatches: No
'ceilometer.hardware.inspectors' driver found
Message-ID:

Content-Type: text/plain; charset="Windows-1252"



On 24/10/17 04:45 AM, andres sanchez ramos wrote:

I had tried to configure my pipeline so it would also gather information
from ODL since i was trying to get as much information as possible. I
commented out everything related to ODL and the errors stopped. Any
ideas about the cause of this behavior? I am attaching :

  • My pipeline file (with the ODL part commented out).

which version of ceilometer is this?

--
gord

Enviado desde Outlook


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Oct 26, 2017 by andres_sanchez_ramos (300 points)   1 2
0 votes

On 26/10/17 08:33 AM, andres sanchez ramos wrote:

import pbr.version
version_info = pbr.version.VersionInfo('ceilometer')

and the output was 7.0.3

what happens if you use:

 - name: meter_source
   interval: 60
   meters:
       - switch.flow.duration_seconds
       - <any network specific meter>
   sinks:
       - meter_sink
   resources:
       - 

opendaylight://127.0.0.1:8080/controller/nb/v2?containername=default&containername=egg&auth=basic&user=admin&password=admin&scheme=http

--
gord


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Oct 26, 2017 by gordon_chung (19,300 points)   2 3 8
0 votes

Hello Gordon,

In order to avoid previous erroneous configurations I started over the ceilometer implementation. I tried including modifying the pipeline file as proposed and now I am finding errors like this when I Try to make change similar to the one you proposed.

2017-10-31 23:45:35.707 14436 ERROR cotyledon [-] Unhandled exception
2017-10-31 23:45:35.707 14436 ERROR cotyledon Traceback (most recent call last):
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/cotyledon/init.py", line 62, in exitonexception
2017-10-31 23:45:35.707 14436 ERROR cotyledon yield
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/cotyledon/init.py", line 140, in _run
2017-10-31 23:45:35.707 14436 ERROR cotyledon self.run()
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/ceilometer/agent/manager.py", line 417, in run
2017-10-31 23:45:35.707 14436 ERROR cotyledon self.polling
manager = pipeline.setuppolling()
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/ceilometer/pipeline.py", line 855, in setup
polling
2017-10-31 23:45:35.707 14436 ERROR cotyledon return PollingManager(cfgfile)
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/ceilometer/pipeline.py", line 817, in init
2017-10-31 23:45:35.707 14436 ERROR cotyledon cfg = self.load
config(cfginfo)
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/ceilometer/pipeline.py", line 639, in load
config
2017-10-31 23:45:35.707 14436 ERROR cotyledon conf = yaml.safeload(data)
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/yaml/init.py", line 93, in safe
load
2017-10-31 23:45:35.707 14436 ERROR cotyledon return load(stream, SafeLoader)
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/yaml/init.py", line 71, in load
2017-10-31 23:45:35.707 14436 ERROR cotyledon return loader.getsingledata()
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/yaml/constructor.py", line 37, in getsingledata
2017-10-31 23:45:35.707 14436 ERROR cotyledon node = self.getsinglenode()
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 36, in getsinglenode
2017-10-31 23:45:35.707 14436 ERROR cotyledon document = self.composedocument()
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 55, in compose
document
2017-10-31 23:45:35.707 14436 ERROR cotyledon node = self.composenode(None, None)
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 84, in compose
node
2017-10-31 23:45:35.707 14436 ERROR cotyledon node = self.composemappingnode(anchor)
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 127, in composemappingnode
2017-10-31 23:45:35.707 14436 ERROR cotyledon while not self.checkevent(MappingEndEvent):
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 98, in check
event
2017-10-31 23:45:35.707 14436 ERROR cotyledon self.currentevent = self.state()
2017-10-31 23:45:35.707 14436 ERROR cotyledon File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 439, in parse
blockmappingkey
2017-10-31 23:45:35.707 14436 ERROR cotyledon "expected , but found %r" % token.id, token.startmark)
2017-10-31 23:45:35.707 14436 ERROR cotyledon ParserError: while parsing a block mapping
2017-10-31 23:45:35.707 14436 ERROR cotyledon in "", line 2, column 1:
2017-10-31 23:45:35.707 14436 ERROR cotyledon sources:
2017-10-31 23:45:35.707 14436 ERROR cotyledon ^
2017-10-31 23:45:35.707 14436 ERROR cotyledon expected , but found ''
2017-10-31 23:45:35.707 14436 ERROR cotyledon in "", line 15, column 5:
2017-10-31 23:45:35.707 14436 ERROR cotyledon - name: meter
source
2017-10-31 23:45:35.707 14436 ERROR cotyledon ^
2017-10-31 23:45:35.707 14436 ERROR cotyledon

Follows the pipeline file, with those comments it works out as expected. I'm trying to add the ODL and SNMP configuration but when I add them it starts throwing out those errors.


sources:

- name: meter_snmp

interval: 60

resources:

- snmp://OS_community@192.168.0.1

- snmp://OS_community@192.168.0.2

meters:

- "hardware.cpu*"

- "hardware.memory*"

- "hardware.disk*"

- "hardware.network*"

sinks:

- meter_sink

- name: meter_source
  interval: 60
  meters:
      - "*"
  sinks:
      - meter_sink
- name: cpu_source
  interval: 60
  meters:
      - "cpu"
  sinks:
      - cpu_sink
      - cpu_delta_sink
- name: disk_source
  interval: 60
  meters:
      - "disk.read.bytes"
      - "disk.read.requests"
      - "disk.write.bytes"
      - "disk.write.requests"
      - "disk.device.read.bytes"
      - "disk.device.read.requests"
      - "disk.device.write.bytes"
      - "disk.device.write.requests"
  sinks:
      - disk_sink
- name: network_source
  interval: 60
  meters:
      - "network.incoming.bytes"
      - "network.incoming.packets"
      - "network.outgoing.bytes"
      - "network.outgoing.packets"
  sinks:
      - network_sink

- name: meter_source

interval: 60

meters:

- switch.flow.duration_seconds

sinks:

- meter_sink

resources:

- opendaylight://127.0.0.1:8080/controller/nb/v2?containername=default&containername=egg&auth=basic&user=admin&password=admin&scheme=http

sinks:
- name: metersink
transformers:
publishers:
- notifier://
- name: cpu
sink
transformers:
- name: "rateofchange"
parameters:
target:
name: "cpu_util"
unit: "%"
type: "gauge"
scale: "100.0 / (10**9 * (resource_metadata.cpu_number or 1))"
publishers:
- notifier://
- name: cpu_delta_sink
transformers:
- name: "delta"
parameters:
target:
name: "cpu.delta"
growth_only: True
publishers:
- notifier://
- name: disk_sink
transformers:
- name: "rate_of_change"
parameters:
source:
map_from:
name: "(disk\.device|disk)\.(read|write)\.(bytes|requests)"
unit: "(B|request)"
target:
map_to:
name: "\1.\2.\3.rate"
unit: "\1/s"
type: "gauge"
publishers:
- notifier://
- name: network_sink
transformers:
- name: "rate_of_change"
parameters:
source:
map_from:
name: "network\.(incoming|outgoing)\.(bytes|packets)"
unit: "(B|packet)"
target:
map_to:
name: "network.\1.\2.rate"
unit: "\1/s"
type: "gauge"
publishers:
- notifier://


On 26/10/17 08:33 AM, andres sanchez ramos wrote:

import pbr.version
version_info = pbr.version.VersionInfo('ceilometer')

and the output was 7.0.3

what happens if you use:

 - name: meter_source
   interval: 60
   meters:
       - switch.flow.duration_seconds
       - <any network specific meter>
   sinks:
       - meter_sink
   resources:
       -

opendaylight://127.0.0.1:8080/controller/nb/v2?containername=default&containername=egg&auth=basic&user=admin&password=admin&scheme=http

--
gord

Enviado desde Outlook


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Oct 31, 2017 by andres_sanchez_ramos (300 points)   1 2
0 votes

On 31/10/17 07:55 PM, andres sanchez ramos wrote:
2017-10-31 23:45:35.707 14436 ERROR cotyledon ParserError: while parsing
a block mapping
2017-10-31 23:45:35.707 14436 ERROR cotyledon in "", line 2,
column 1:
2017-10-31 23:45:35.707 14436 ERROR cotyledon sources:
2017-10-31 23:45:35.707 14436 ERROR cotyledon ^
2017-10-31 23:45:35.707 14436 ERROR cotyledon expected , but
found ''
2017-10-31 23:45:35.707 14436 ERROR cotyledon in "", line 15,
column 5:
2017-10-31 23:45:35.707 14436 ERROR cotyledon - name: meter_source
2017-10-31 23:45:35.707 14436 ERROR cotyledon ^
2017-10-31 23:45:35.707 14436 ERROR cotyledon

your yaml is poorly formatted. you'll need to look into how you edited
your polling.yaml/pipeline.yaml

--
gord


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Nov 1, 2017 by gordon_chung (19,300 points)   2 3 8
...