This repository has been archived by the owner on Feb 23, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bugs in python-psutil Need to upgrade to package from jessie-backports in order to address the following issues: giampaolo/psutil#522 giampaolo/psutil#572 * Race when checking for processes It seems that is possible to query for a process that no longer exists. Handle that situation by ignoring it. * Wrong message when no processes are matches Not a problem at all, but handle that situation by printing a different message, just to be clear. * Filter out qemu-system-x86_64 processes that do not have Ceph disks For some reason, it seems that QEMU maps librados and librbd libraries even when not using them (ie NFS, DRBD). Add a function that parses the cmdline of each QEMU process, looks for disk drives, and by looking at the path, tells if we should check that process or not. Only check VMs with rbd and tapdev (Archipelago) disks. Also, split out process filtering stuff to a separate function.
- Loading branch information