On 06/29/2016 08:40 AM, Eugen Block wrote:
Hi list,
I'm working with ceph as storage backend for my cloud environment, that works fine. But when I try to get ceilometer meters for my rbd resources I get errors in ceilometer-polling.log
---cut here--- 2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk [req-823d46da-5a23-45bd-a0e9-596e7d4a9fc3 admin - - - -] Ignoring instance instance-000002d7 (51d7bfdc-feec-4f13-ad0c-190dcfa2c62d) : this function is not supported by the connection driver: virDomainGetBlockInfo 2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk Traceback (most recent call last): 2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk File "/usr/lib/python2.7/site-packages/ceilometer/compute/pollsters/disk.py", line 625, in get_samples 2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk instance, 2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk File "/usr/lib/python2.7/site-packages/ceilometer/compute/pollsters/disk.py", line 567, in _populate_cache 2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk for disk, info in disk_info: 2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk File "/usr/lib/python2.7/site-packages/ceilometer/compute/virt/libvirt/inspector.py", line 215, in inspect_disk_info 2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk block_info = domain.blockInfo(device) 2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk File "/usr/lib64/python2.7/site-packages/libvirt.py", line 690, in blockInfo 2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk if ret is None: raise libvirtError ('virDomainGetBlockInfo() failed', dom=self) 2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk libvirtError: this function is not supported by the connection driver: virDomainGetBlockInfo
Yep, the domainGetBlockInfo function is not implemented in the libvirt libxl driver.
2016-06-29 15:45:19.711 29483 ERROR ceilometer.compute.pollsters.disk ---cut here---
This bug [1] describes the issue, but it seems to be a libvirt issue, not ceilometer. So I wanted to ask if someone knows (maybe Jim Fehlig :-D ) if somebody is working on it, if there's already a fix or any information at all.
I'm not aware of anyone working on an implementation for the libxl driver. Patches are welcome if this is something you are able to do :-). Regards, Jim -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org