Hi Neil and all, Currently from LAVA deployment of: Now we installed the lava-server-2017.2 and lava-dispatcher-2017.2 on a server, from the system can use: lava lava-dashboard-tool lava-dispatcher-slave lava-mount-masterfs lava-slave lava-daemon lava-dispatch lava-master lava-publisher lava-tool My question is: 1. How to use those command under linux to let it works as the picture shows ? 2. We try to use $lava-master, the log shows following error, seems the lava-server can't run as a sub-process, since from the git lava-server package there is no lava-server executive command installed, can you help it ? File "/usr/local/bin/lava-master", line 4, in <module> __import__('pkg_resources').run_script('lava-server==2017.2', 'lava-master') File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 738, in run_script File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1499, in run_script File "/usr/local/lib/python2.7/site-packages/lava_server-2017.2-py2.7.egg/EGG-INFO/scripts/lava-master", line 39, in <module> main() File "/usr/local/lib/python2.7/site-packages/lava_server-2017.2-py2.7.egg/EGG-INFO/scripts/lava-master", line 36, in main return daemonise(PIDFILE, LOGFILE) File "/usr/local/lib/python2.7/site-packages/lava_server-2017.2-py2.7.egg/lava_server/daemonise.py", line 97, in daemonise child = Popen(args) File "/usr/local/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/local/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
Thanks & Best Regards !
On Monday 20 March 2017 11:20 AM, zxmjiang wrote:
lava lava-dashboard-tool lava-dispatcher-slave
lava-mount-masterfs lava-slave lava-daemon lava-dispatch lava-master lava-publisher lava-tool My question is:
- How to use those command under linux to let it works as the picture
shows ?
Except for 'lava-tool' you need not use any other command on a regular basis. Most of them are services (in other words daemons) rather than regular commands.
- We try to use $lava-master, the log shows following error, seems the
lava-server can't run as a sub-process, since from the git lava-server package there is no lava-server executive command installed, can you help it ?
lava-server is not a command. As noted above it is a service.
In order to start lava-server, use the following command:
# service lava-server start
What is the operating system in which this setup runs? As of today we only support Debian as seen from here - https://staging.validation.linaro.org/static/docs/v2/installing_on_debian.ht...
Thank You.
On Mon, 20 Mar 2017 13:50:36 +0800 (CST) zxmjiang zxmjiang@yeah.net wrote:
Hi Neil and all, Currently from LAVA deployment of: Now we installed the lava-server-2017.2 and lava-dispatcher-2017.2 on a server, from the system can use: lava lava-dashboard-tool lava-dispatcher-slave lava-mount-masterfs lava-slave lava-daemon lava-dispatch lava-master lava-publisher lava-tool
These are not correctly installed, just as the python error shows:
"/usr/local/lib/python2.7/site-packages/lava_server-2017.2-py2.7.egg/EGG-INFO/scripts/lava-master",
/usr/local/ is *not* supported, it does *not* work. It has been at least three years since LAVA ceased support for any and all deployments directly from git or deployments using pypi or virtual environments or any method of installation *except* on a Debian system, Jessie or later.
Note: As in the documentation, Ubuntu is explicitly *not* supported since Trusty and there are no updates of LAVA for Trusty due to problems with versions of packages within Trusty.
You must create a Debian Jessie virtual machine to run LAVA if you are not running Debian. Ubuntu is not the same.
My question is: 1. How to use those command under linux to let it works as the picture shows ? 2. We try to use $lava-master, the log shows following error, seems the lava-server can't run as a sub-process, since from the git lava-server package there is no lava-server executive command installed, can you help it ? File "/usr/local/bin/lava-master", line 4, in <module> __import__('pkg_resources').run_script('lava-server==2017.2', 'lava-master') File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 738, in run_script File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1499, in run_script File "/usr/local/lib/python2.7/site-packages/lava_server-2017.2-py2.7.egg/EGG-INFO/scripts/lava-master", line 39, in <module> main() File "/usr/local/lib/python2.7/site-packages/lava_server-2017.2-py2.7.egg/EGG-INFO/scripts/lava-master", line 36, in main return daemonise(PIDFILE, LOGFILE) File "/usr/local/lib/python2.7/site-packages/lava_server-2017.2-py2.7.egg/lava_server/daemonise.py", line 97, in daemonise child = Popen(args) File "/usr/local/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/local/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
Thanks & Best Regards !
linaro-validation@lists.linaro.org