Open jdeglopper opened 5 years ago
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 )
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