Bug 1152182

Summary: ugly traceback when ksmd is not found by pidof
Product: [Retired] oVirt Reporter: Dan Kenigsberg <danken>
Component: momAssignee: Adam Litke <alitke>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: low Docs Contact:
Priority: low    
Version: 3.5CC: alitke, bugs, dfediuck, ecohen, gklein, iheim, lsurette, yeylon
Target Milestone: ---   
Target Release: 3.5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 16:13:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Kenigsberg 2014-10-13 14:14:58 UTC
Description of problem:
Exception in thread MOM:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 813, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/mom/__init__.py", line 27, in run
    host_monitor = HostMonitor(self.config)
  File "/usr/lib/python2.7/site-packages/mom/HostMonitor.py", line 41, in __init__
    self.properties, self.config)
  File "/usr/lib/python2.7/site-packages/mom/Collectors/Collector.py", line 88, in get_collectors
    collectors.append(getattr(module, name)(properties))
  File "/usr/lib/python2.7/site-packages/mom/Collectors/HostKSM.py", line 44, in __init__
    self.pid = int(Popen(['pidof', 'ksmd'], stdout=PIPE).communicate()[0])
ValueError: invalid literal for int() with base 10: ''


Version-Release number of selected component (if applicable):
mom-0.4.2-1.fc21.noarch

Comment 1 Adam Litke 2014-11-10 15:12:59 UTC
Merge as commit 4d8caedd6b23c33436f1da75d1e84e25a64f1e8d

Comment 2 Sandro Bonazzola 2015-01-21 16:13:36 UTC
oVirt 3.5.1 has been released and since this bug is targeted 3.5.1 and in modified state, it should be included in this release.
Please re-target and move nack to modified if this assumption is not valid for this bug.

Comment 3 Adam Litke 2015-02-03 22:02:05 UTC
It's part of mom-0.4.3 which is being used by ovirt-3.5.1