Hello Corentin,

1/ Do you have the service files like /lib/systemd/system/lava-master.service ?

2/ Fixed, see https://review.linaro.org/22804/

2017-12-04 16:23 GMT+01:00 LABBE Corentin <clabbe@baylibre.com>:
Hello

I have installed a fresh 2017.12 in a docker and I hit two problem:
- With the exception of lava-coordinator, all services (lava-master, lava-server, lava-slave, etc...) fail to start with:
        service lava-xxxx start
        lava-xxxx: unrecognized service
All Other service successfully start (postgresql, apache2)

- I have then re-added old init scripts and when I add a worker with:
"lava-server manage workers add lab-slave"
I get:
Traceback (most recent call last):
  File "/usr/bin/lava-server", line 78, in <module>
    main()
  File "/usr/bin/lava-server", line 74, in main
    execute_from_command_line(django_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 359, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 294, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 345, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/lava_server/management/commands/workers.py", line 77, in handle
    options["disabled"])
KeyError: 'disabled'

iNote that before I have successfully done commands like adding user or device-types

Regards
_______________________________________________
Lava-users mailing list
Lava-users@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lava-users



--
Rémi Duraffort
LAVA Team