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

SandboxKey refers to non-existing file for remote driver #1939

Open
growler opened this issue Sep 13, 2017 · 2 comments
Open

SandboxKey refers to non-existing file for remote driver #1939

growler opened this issue Sep 13, 2017 · 2 comments

Comments

@growler
Copy link

growler commented Sep 13, 2017

API promises that Sandbox Key (i.e. file referring to linux network namespace) should be present at the moment of Join operation. However, it seems that file is actually created after that. I.e.,

func (d *NetworkDriver) Join(req *JoinRequest) (*JoinResponse, error) {
	logf("join request %+v", req)
	s, err := os.Stat(req.SandboxKey)
	logf("sandbox key %#v %s", s, err)
       ...
}

reports

sandbox key <nil> stat /var/run/docker/netns/5e1e12ad7888: no such file or directory

Network driver process works on the same host and in the same namespace as docker itself and definitely can see /var/run/docker/netns directory.

Docker version 17.06.2-ce, build cec0b72

@ghost
Copy link

ghost commented Nov 10, 2017

#1950

Possibly related?

@ghost
Copy link

ghost commented Nov 10, 2017

From someone more knowledgeable on the same issue: https://news.ycombinator.com/item?id=14470231

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

No branches or pull requests

1 participant