Closed nerdalert closed 7 years ago
Hi all! I get the following error when running demo.py.
demo.py
$ ./demo.py prepare start install packages of test environment. [localhost] local: apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 [localhost] local: sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" [localhost] local: apt-get update [localhost] local: apt-get install -y --force-yes lxc-docker-1.3.2 bridge-utils [localhost] local: ln -sf /usr/bin/docker.io /usr/local/bin/docker [localhost] local: gpasswd -a `whoami` docker [localhost] local: wget https://raw.github.com/jpetazzo/pipework/master/pipework -O /usr/local/bin/pipework [localhost] local: chmod 755 /usr/local/bin/pipework [localhost] local: docker pull osrg/gobgp [localhost] local: cp Dockerfile ../../../ [localhost] local: cd ../../../ && docker build --no-cache -t goplane . && rm Dockerfile Sending build context to Docker daemon 9.376 MB Sending build context to Docker daemon Step 0 : FROM osrg/gobgp ---> 7fb7fef47e6f Step 1 : MAINTAINER ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> ---> Running in 7ccaf4d3159e ---> 964091afb0e3 Removing intermediate container 7ccaf4d3159e Step 2 : COPY goplane /go/src/github.com/osrg/goplane/ ---> a5b8b13ec4bc Removing intermediate container 97db16ad3f70 Step 3 : RUN go install -a github.com/osrg/gobgp/gobgp ---> Running in d07150fd2ea8 2015/09/22 03:50:29 unexpected EOF Fatal error: local() encountered an error (return code 1) while executing 'cd ../../../ && docker build --no-cache -t goplane . && rm Dockerfile'
The workaround for me is to simply comment out the Python method call to update_goplane(): and by hand run the following to finish the install without it timing out.
update_goplane():
cd ../../../ && docker build --no-cache -t goplane . && rm Dockerfile
I looked to add a foo.Wait() but I am not familiar with from fabric.api import local which is used for:
foo.Wait()
from fabric.api import local
def update_goplane(): local("cp Dockerfile ../../../") local("cd ../../../ && docker build --no-cache -t goplane . && rm Dockerfile")
Figured its worth mentioning if someone could give it a go to see if its something in my environment or an issue.
Thanks for the great work! Adding another issue that bombs goplaned once I got it installed.
Hi,
Please follow the latest doc to try the demo.
Hi all! I get the following error when running
demo.py
.The workaround for me is to simply comment out the Python method call to
update_goplane():
and by hand run the following to finish the install without it timing out.I looked to add a
foo.Wait()
but I am not familiar withfrom fabric.api import local
which is used for:Figured its worth mentioning if someone could give it a go to see if its something in my environment or an issue.
Thanks for the great work! Adding another issue that bombs goplaned once I got it installed.