tsorya / test-infra

Apache License 2.0
0 stars 8 forks source link

make deploy_nodes results in error for missing group "docker" #35

Open dhellmann opened 4 years ago

dhellmann commented 4 years ago

I ran

$ make create_full_environment

which worked fine and then

$ make deploy_nodes
skipper make _deploy_nodes -i
[skipper] Using build container: test-infra:latest
Traceback (most recent call last):
  File "/home/dhellmann/.local/bin/skipper", line 10, in <module>
    sys.exit(main())
  File "/home/dhellmann/.local/lib/python3.6/site-packages/skipper/main.py", line 16, in main
    standalone_mode=False
  File "/home/dhellmann/.local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/dhellmann/.local/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/dhellmann/.local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/dhellmann/.local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/dhellmann/.local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/dhellmann/.local/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/dhellmann/.local/lib/python3.6/site-packages/skipper/cli.py", line 255, in make
    workspace=ctx.obj.get('workspace'))
  File "/home/dhellmann/.local/lib/python3.6/site-packages/skipper/runner.py", line 17, in run
    workdir, use_cache, workspace)
  File "/home/dhellmann/.local/lib/python3.6/site-packages/skipper/runner.py", line 67, in _run_nested
    docker_gid = grp.getgrnam('docker').gr_gid
KeyError: "getgrnam(): name not found: 'docker'"
make: *** [Makefile:143: deploy_nodes] Error 1
YuviGold commented 4 years ago

@dhellmann Does it still happens to you? Please provide more description about skipper version, OS, user

dhellmann commented 4 years ago

I haven't tried again lately.

eranco74 commented 4 years ago

Note, this repo is obsolete and you should use https://github.com/openshift/assisted-test-infra instead