Hi Neil,
thanks for your quick and direct feedback and please excuse my incautiousness. Being a software developer, I am still new to admin stuff and don't have much experience in hosting servers.
The "flush" command is documented in the help text of "lava-server manage". From the information there it seemed as if "lava-server manage dumpdata" would create a dump of the database (which it did) and that I might be able to restore it with "lava-server manage loaddata" (which I couldn't) if the flush would not do what I expected.
However, the database in that installation was not important at all, I spent some time experimenting with LAVA on this machine and just wanted to have a clean database for starting production use. I assumed there should be an easy way to achieve this.
With your help, I was able to reset my LAVA database using the following commands:
sudo apt-get purge lava-server
sudo rm -rf /etc/lava-server/
sudo rm -rf /var/lib/lava-server/
sudo pg_dropcluster 9.6 main --stop
sudo pg_createcluster 9.6 main --start
sudo apt-get install lava-server
Thanks for pointing me to the backup topic, I will address that in my next step.
Cheers,
Tim
Mit freundlichen Grüßen / Best regards
Tim Jaacks
DEVELOPMENT ENGINEER
Garz & Fricke GmbH
Tempowerkring 2
21079 Hamburg
Direct: +49 40 791 899 - 55
Fax: +49 40 791899 - 39
tim.jaacks(a)garz-fricke.com
www.garz-fricke.com
SOLUTIONS THAT COMPLETE!
Sitz der Gesellschaft: D-21079 Hamburg
Registergericht: Amtsgericht Hamburg, HRB 60514
Geschäftsführer: Matthias Fricke, Manfred Garz
Hello everyone,
is there a way to reset the LAVA database to the state of a fresh installation? From the docs I thought that "lava-server manage flush" command would do that. However, there are some things missing afterwards, e.g. the lava-health user and the master worker. Any hints on how to repair this? Re-installing lava-server did not help.
Mit freundlichen Grüßen / Best regards
i.A. Tim Jaacks
Software Engineering
Garz & Fricke GmbH
Tempowerkring 2, 21079 Hamburg - Germany
Amtsgericht Hamburg HRB 60514
Geschäftsführer: Manfred Garz, Matthias Fricke
Phone: +49 40 791899 - 55
Fax: +49 40 791899 – 39
tim.jaacks(a)garz-fricke.com
www.garz-fricke.com
Hello to Linaro developers,
Recently I have learned that Linaro has developed its own tool to build
Embedded Debian-based system images.
I am very interested in this work/this tool. So I have some questions
regarding this domain.
[1] Do you have published this tool on the Open Source?
[2] If YES, what are the web pointers to it, and the docs I can read and
get familiar with the process?
[3] Does it include scripts to enhance initramfs (the technology Linaro
uses to do that), and where are the locations to read about it?
[4] You name it (if I miss something, please, feel free to fill the gaps)!
I use (almost always) YOCTO based build tool to create initramfses to test
upon them (you know this already if you read my recent emails to this list).
But I would like to have alternative method, and Linaro tool seems
excellent one as alternative, for many reasons.
Thank you in advance,
Zoran Stojsavljevic
_______
Lava xml-rpc notification machnism, criteria.status indicates which event can be notified to user (by hook callback). But the criteria.status only has such as "Complete Incomplete,Canceled,finished" events. Why the lava is not designed a machnism that notify user when only a test case is complete(err..),if so that user has more rights to control test process execution.
hi all
i add a worker to master from the slave container by lavacli..,
But the worker is offline in the localhost:10080 web .
Master and slave can ping each other sucessfully.
any guy konw why?
THX
https://validation.linaro.org/static/docs/v2/glossary.html#term-multinodehttps://validation.linaro.org/static/docs/v2/multinode.html
it said "A single test job which runs across multiple devices".
I still don't quite understandt the purpose of MultiNode. Is that mean
that a single test job's all test cases are parallel executed
simultaneously on multiple devices?
For example it have 10 test cases and 5 devices, when job is running,
firstly the former 5 cases is distributed to 5 devices and parallel run
(case 1 is run on device 1,case 2 is run on device 2,... device 5 is run on
device 5). When a case is end(suppose case 2) ,then case 6 is scheduled to
run on device 2... and so on.Is my understanding correct?
I want to implement a function: When a test case in job is crush or return err(no zero), the job can be rescheduled(or resubmit). Does it need to write own event notification? Need monitor "job Incomplete" action?
In addition, according to lava xmlrpc doc, I input command in lava server console: python zmq_client.py -j 121 --hostname tcp://127.0.0.1:5500 -t 1200 .The was error :
....
File "/usr/lib/python2.7/httplib.py", line 821, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 557, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
In lava website,it is lack the documents on how to build multiple remote slave test system.For example,if our system has a lot of test devices.
What are the general design principles about how to plan to deploy remote workers, how many dut connect to one worker,etc.
Is there any background knowledges about multiple slave and multiNode?
The board has usb serial, it connected to computer running dispatcher. On dispatcher computer that usb serial device name is /dev/ttyUSB0 .
How to configure usb serial in device .jinja2 file?