Change in mom[master]: HostKSM: Detect missing pgrep and log an error

alitke at redhat.com alitke at redhat.com
Thu Dec 5 20:25:16 UTC 2013


Adam Litke has submitted this change and it was merged.

Change subject: HostKSM: Detect missing pgrep and log an error
......................................................................


HostKSM: Detect missing pgrep and log an error

If pgrep is missing on the system the HostKSM Collector will silently
fail and MOM will exit.  This is just a CollectionError so catch the
condition and raise the proper exception.

Change-Id: Iae678edaac5560d0066ebde1a0da6f610e48fb02
Signed-off-by: Adam Litke <alitke at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/22087
Reviewed-by: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Reviewed-by: Martin Sivák <msivak at redhat.com>
---
M mom.spec.in
M mom/Collectors/HostKSM.py
2 files changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Piotr Kliczewski: Looks good to me, but someone else must approve
  Adam Litke: Verified; Looks good to me, approved
  Martin Sivák: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/22087
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iae678edaac5560d0066ebde1a0da6f610e48fb02
Gerrit-PatchSet: 2
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>



More information about the Engine-commits mailing list