[ovirt-devel] [vdsm] Missing numactl

Dan Kenigsberg danken at redhat.com
Tue Apr 29 14:59:38 UTC 2014


On Tue, Apr 29, 2014 at 03:17:23PM +0200, Vinzenz Feenstra wrote:
> Seems pretty much like it
> 
> On 04/28/2014 12:30 PM, Piotr Kliczewski wrote:
> >Hello,
> >
> >I pulled the latest changes from master to test my code and during
> >getCaps I got:
> >
> >Thread-14::ERROR::2014-04-28
> >12:11:44,394::__init__::484::jsonrpc.JsonRpcServer::(_serveRequest)
> >[Errno 2] No such file or directory
> >Traceback (most recent call last):
> >   File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line
> >480, in _serveRequest
> >     res = method(**params)
> >   File "/usr/share/vdsm/Bridge.py", line 211, in _dynamicMethod
> >     result = fn(*methodArgs)
> >   File "/usr/share/vdsm/API.py", line 1184, in getCapabilities
> >     c = caps.get()
> >   File "/usr/share/vdsm/caps.py", line 459, in get
> >     caps['numaNodeDistance'] = _getNumaNodeDistance()
> >   File "/usr/lib64/python2.7/site-packages/vdsm/utils.py", line 1003,
> >in __call__
> >     value = self.func(*args)
> >   File "/usr/share/vdsm/caps.py", line 209, in _getNumaNodeDistance
> >     retcode, out, err = utils.execCmd(['numactl', '--hardware'])
> >   File "/usr/lib64/python2.7/site-packages/vdsm/utils.py", line 732, in execCmd
> >     deathSignal=deathSignal, childUmask=childUmask)
> >   File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line
> >50, in __init__
> >     stderr=PIPE)
> >   File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
> >     errread, errwrite)
> >   File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line
> >80, in _execute_child_v275
> >     self._childUmask)
> >OSError: [Errno 2] No such file or directory
> >
> >When I installed numactl rpm getCaps work again.
> >
> >Do we need to add this dependency to spec file?

and for completeness, to debia/control too.



More information about the Devel mailing list