[arvados] Fwd: Unable to initialize Arvbox container

Victor Kofia victor.kofia at gmail.com
Wed Nov 29 09:01:46 EST 2017


Forwarding to mailing list

---------- Forwarded message ----------
From: Victor Kofia <victor.kofia at gmail.com>
Date: Mon, Nov 27, 2017 at 1:34 PM
Subject: Re: [arvados] Unable to initialize Arvbox container
To: Peter Amstutz <pamstutz at veritasgenetics.com>


Hi Peter,

I'm unable to run arvbox log (the container exits almost instantaneously).
>From the docker logs which I already sent it looks like the container
initialization is failing at this command:

container exec_start: cat
> /var/run/localip_override

In the arvbox script this corresponds to the following line in the
'gethost()' function:

gethost() {
    set +e
    OVERRIDE=$(docker exec -i $ARVBOX_CONTAINER cat
/var/run/localip_override 2>/dev/null)


Could the error be caused by a missing '/var/run/localip_override' script
in the container?

Thanks,

Victor


On Mon, Nov 27, 2017 at 12:02 PM, Peter Amstutz <
pamstutz at veritasgenetics.com> wrote:

> Hi Victor,
>
> It seems like the container is crashing out, which is wrong, because
> it is supposed to start up all the services with infinite retry.  I
> haven't seen this happen.  A couple of things to try:
>
> * "arvbox log" while the container is still running
> * docker log arvbox
>
> Thanks,
> Peter
>
> On Mon, Nov 27, 2017 at 9:46 AM, Victor Kofia <victor.kofia at gmail.com>
> wrote:
> > Hi everyone,
> >
> > I am having issues initializing the arvbox docker container. Here are the
> > steps I have taken so far:
> >
> > - I cloned the git repository from https://github.com/curoverse/a
> rvados.git
> > - Changed the directory to tools/arvbox/bin
> > - Ran ./arvbox start localdemo
> >
> > Here is the output I get from the above command:
> >
> > arvbox
> > localdemo
> > 8e8d1d7dff53ff5af7cd33168ca77adddcdaf19ab9b1b4d4b9ab47633805c90a
> >
> > Arvados-in-a-box starting
> >
> > Note: if this is a fresh arvbox installation, it may take 10-15 minutes
> (or
> > longer) to download and
> > install dependencies. Use "arvbox log" to monitor the progress of
> specific
> > services.
> >
> >
> > export ARVADOS_API_HOST=:8000
> >
> > Further, when I run docker events& on a separate window here is the
> > resulting output:
> >
> > 2017-11-27T09:35:15.177842122-05:00 container exec_create: cat
> > /var/run/localip_override
> > 8e8d1d7dff53ff5af7cd33168ca77adddcdaf19ab9b1b4d4b9ab47633805c90a
> > (image=arvados/arvbox-demo, name=arvbox)
> > 2017-11-27T09:35:15.178715537-05:00 container exec_start: cat
> > /var/run/localip_override
> > 8e8d1d7dff53ff5af7cd33168ca77adddcdaf19ab9b1b4d4b9ab47633805c90a
> > (image=arvados/arvbox-demo, name=arvbox)
> > 2017-11-27T09:35:16.417449386-05:00 container die
> > 8e8d1d7dff53ff5af7cd33168ca77adddcdaf19ab9b1b4d4b9ab47633805c90a
> > (exitCode=0, image=arvados/arvbox-demo, name=arvbox)
> > 2017-11-27T09:35:16.650681585-05:00 network disconnect
> > b7d333d91c735c971eea4da0b1b05574b19003c7d17641aad37bc1e898f3c3b2
> > (container=8e8d1d7dff53ff5af7cd33168ca77adddcdaf19ab9b1b4d4b
> 9ab47633805c90a,
> > name=bridge, type=bridge)
> >
> > How can I fix this?
> >
> > Thanks,
> >
> > Victor
> >
> > _______________________________________________
> > arvados mailing list
> > arvados at arvados.org
> > http://lists.arvados.org/mailman/listinfo/arvados
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.arvados.org/pipermail/arvados/attachments/20171129/324e542f/attachment.html>


More information about the arvados mailing list