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

install/k8s/install.sh uses incorrect path to extract netctl #361

Open
jdeglopper opened this issue Oct 29, 2018 · 1 comment
Open

install/k8s/install.sh uses incorrect path to extract netctl #361

jdeglopper opened this issue Oct 29, 2018 · 1 comment

Comments

@jdeglopper
Copy link

Using contiv 1.1.9, the install/k8s/install.sh script attempts to extract netctl from the contiv/netplugin:1.1.9 Docker image: https://github.com/contiv/install/blob/master/install/k8s/install.sh#L307

The referenced path, /contiv/bin/netctl does not exist in that image, and therefore install fails with the message Extracting netctl from netplugin container Error: No such container:path:

The correct path appears to be /go/bin/netctl

@elieifrah
Copy link

same here. until it is fixed in the project, we have fixed it by creating a soft link between between /go and /contiv directories:

# docker run -ti --entrypoint /bin/bash contiv/netplugin:1.1.9 
root@d39ee34ed8d2:/go/src/github.com/contiv/netplugin# ln -s /go /contiv 

root@d39ee34ed8d2:/go/src/github.com/contiv/netplugin# exit

# docker commit d39ee34ed8d2 contiv/netplugin:1.1.9

Then run the install again:

# ./install/k8s/install.sh -n $( hostname -i )

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

2 participants