Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting multiple services #254

Closed
anastayaa opened this issue Sep 12, 2019 · 3 comments · Fixed by #260
Closed

Starting multiple services #254

anastayaa opened this issue Sep 12, 2019 · 3 comments · Fixed by #260
Assignees

Comments

@anastayaa
Copy link

When i'm trying to run more than one service, i'm getting the error:

unable to bind domain socket with id=0 (see --base-id option)
Error: exit status 1

I think this is related to Envoy proxy!!!

@yskopets
Copy link
Contributor

Summary

It's not possible to start a second dataplane (kuma-dp) on a Linux host.

kuma-dp fails with

$ KUMA_CONTROL_PLANE_BOOTSTRAP_SERVER_URL=http://localhost:5682 \ 
  KUMA_DATAPLANE_MESH=default \
  KUMA_DATAPLANE_NAME=node-client-1 \ 
  ./kuma-dp run

unable to bind domain socket with id=0 (see --base-id option)
Error: exit status 1

Steps To Reproduce

  1. On the same Linux host, start kuma-cp and 2 kuma-dp, e.g.
$ kuma-cp run
$ echo "type: Dataplane
mesh: default
name: node-server-1
networking:
 inbound:
 - interface: 127.0.0.1:30000:3000
   tags:
     service: node-server" | kumactl apply -f -

$ KUMA_CONTROL_PLANE_BOOTSTRAP_SERVER_URL=http://localhost:5682 \
  KUMA_DATAPLANE_MESH=default \
  KUMA_DATAPLANE_NAME=node-server-1 \
  kuma-dp run
$ echo "type: Dataplane
mesh: default
name: node-client-1
networking:
 inbound:
 - interface: 127.0.0.1:30001:3001
   tags:
     service: node-client
 outbound:
 - interface: :40000
   service: node-server" | kumactl apply -f -

$ KUMA_CONTROL_PLANE_BOOTSTRAP_SERVER_URL=http://localhost:5682 \
  KUMA_DATAPLANE_MESH=default \
  KUMA_DATAPLANE_NAME=node-client-1 \
  kuma-dp run
  1. The second kuma-dp run will fail with
unable to bind domain socket with id=0 (see --base-id option)
Error: exit status 1

Additional Details & Logs

  • Version: 0.1.0 - 0.1.2
  • Error logs:
$ KUMA_CONTROL_PLANE_BOOTSTRAP_SERVER_URL=http://localhost:5682 \ 
  KUMA_DATAPLANE_MESH=default \
  KUMA_DATAPLANE_NAME=node-client-1 \ 
  ./kuma-dp run

unable to bind domain socket with id=0 (see --base-id option)
Error: exit status 1
  • Configuration: see Steps to reproduce
  • Platform and Operating System: universal on Ubuntu 18.04

@yskopets
Copy link
Contributor

@anastayaa Thanks a lot for reporting the issue and helping to find out the cause!

@anastayaa
Copy link
Author

@yskopets you welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants