We met the same issue. Sometimes ceilometer gets an exception caused by
libvirt,

For example,

1. qemuMonitorIORead:610 : Unable to read from monitor: Connection reset by peer
2. virNetSocketReadWire:1811 : End of file while reading data: Input/output 
error

Most time these are just random and temporary issues, not fatal and
permanent. If ceilometer tries again the next minute, it can get data
from libvirt. But since ceilometer add the group of resources to
blacklist, it will not poll data from libvirt anymore. The only way to
make it work again is to restart ceilometer-compute agent.

Below is the code causing issues,

ceilometer/polling/manager.py

```
except plugin_base.PollsterPermanentError as err:
    LOG.error(
        'Prevent pollster %(name)s from '
        'polling %(res_list)s on source %(source)s anymore!',
        dict(name=pollster.name,
             res_list=str(err.fail_res_list),
             source=source_name))
    self.resources[key].blacklist.extend(err.fail_res_list)
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833526

Title:
  An instance libvirtError will add resources to the blacklist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceilometer/+bug/1833526/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to