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?
Thanks,
Piotr
_______________________________________________
vdsm-devel mailing list
vdsm-devel(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
--
Regards,
Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo
Better technology. Faster innovation. Powered by community collaboration.
See how it works at