<div dir="ltr">Hi Peter, <div><br></div><div>Thanks.</div><div><br></div><div>I tried running the arvbox container on Debian 9 and Docker 17.05 and it worked. I don't have a lot of time to identify the root cause of the issues I was having but here are the details in case anybody is curious in the future.</div><div><br></div><div><span style="font-size:12.8px">Operating System: Ubuntu 16.04.3 LTS</span><br></div><div><span style="font-size:12.8px">Docker Version: 17.12.0-CE</span><br></div><div><span style="font-size:12.8px">Kernel Version: 4.10.0-42-generic</span><br style="font-size:12.8px"><span style="font-size:12.8px">OSType: linux</span><br style="font-size:12.8px"><span style="font-size:12.8px">Architecture: x86_64</span><br style="font-size:12.8px"></div><div><span style="font-size:12.8px"><br></span></div><div><div><span style="font-size:12.8px">Operating System: Linux Mint 18.1</span><br></div><div><span style="font-size:12.8px">Docker Version: 17.05.0-CE</span><br></div><div><span style="font-size:12.8px">Kernel Version: 4.4.0-103-generic</span><br style="font-size:12.8px"><span style="font-size:12.8px">OSType: linux</span><br style="font-size:12.8px"><span style="font-size:12.8px">Architecture: x86_64</span></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">(Arvbox does not work on the above platforms)</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">It might be useful to put a note on the Wiki or Github page in the meantime.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Best, </span></div><div><span style="font-size:12.8px"><br>Victor</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 30, 2017 at 8:50 PM, Peter Amstutz <span dir="ltr"><<a href="mailto:pamstutz@veritasgenetics.com" target="_blank">pamstutz@veritasgenetics.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Victor,<br>
<br>
So I think that what is happening is that the container is simply<br>
starting and then instead of initializing services, the init process<br>
immediately exits, so not being able to identify the ip address is<br>
just a side effect.<br>
<br>
I think I've seen this problem show up on another system, but I<br>
haven't been able to determine the cause. For the record, it works<br>
for me using Debian 9 (Linux kernel 4.9) and Docker 17.05.<br>
<br>
- Peter<br>
<br>
On Thu, Dec 28, 2017 at 4:02 PM, Victor Kofia <<a href="mailto:victor.kofia@gmail.com">victor.kofia@gmail.com</a>> wrote:<br>
> Hi Peter,<br>
><br>
> I am still puzzled by this issue. Can you give me some tips on how to<br>
> proceed? Here's my original email to the mailing list<br>
> (<a href="http://lists.arvados.org/pipermail/arvados/2017-November/000195.html" rel="noreferrer" target="_blank">http://lists.arvados.org/<wbr>pipermail/arvados/2017-<wbr>November/000195.html</a>).<br>
><br>
> Running docker logs arvbox gives the following output:<br>
><br>
> Arvados-in-a-box starting<br>
><br>
> Note: if this is a fresh arvbox installation, it may take 10-15 minutes (or<br>
> longer) to download and<br>
> install dependencies. Use "arvbox log" to monitor the progress of specific<br>
> services.<br>
><br>
> export ARVADOS_API_HOST=:8000<br>
><br>
> As you can see the script is unable to identify a proper IP address. The<br>
> $localip variable is empty. I have tried digging into it and applying fixes<br>
> here and there but I'm still unable to get it to work. I've also tried it on<br>
> multiple machines.<br>
><br>
> Can you please confirm that the arvbox currently on the master branch works?<br>
> If yes, what version of Docker are you using and what is your platform?<br>
><br>
> Thanks,<br>
><br>
> Victor<br>
><br>
><br>
> On Mon, Nov 27, 2017 at 12:02 PM, Peter Amstutz<br>
> <<a href="mailto:pamstutz@veritasgenetics.com">pamstutz@veritasgenetics.com</a>> wrote:<br>
>><br>
>> Hi Victor,<br>
>><br>
>> It seems like the container is crashing out, which is wrong, because<br>
>> it is supposed to start up all the services with infinite retry. I<br>
>> haven't seen this happen. A couple of things to try:<br>
>><br>
>> * "arvbox log" while the container is still running<br>
>> * docker log arvbox<br>
>><br>
>> Thanks,<br>
>> Peter<br>
>><br>
>> On Mon, Nov 27, 2017 at 9:46 AM, Victor Kofia <<a href="mailto:victor.kofia@gmail.com">victor.kofia@gmail.com</a>><br>
>> wrote:<br>
>> > Hi everyone,<br>
>> ><br>
>> > I am having issues initializing the arvbox docker container. Here are<br>
>> > the<br>
>> > steps I have taken so far:<br>
>> ><br>
>> > - I cloned the git repository from<br>
>> > <a href="https://github.com/curoverse/arvados.git" rel="noreferrer" target="_blank">https://github.com/curoverse/<wbr>arvados.git</a><br>
>> > - Changed the directory to tools/arvbox/bin<br>
>> > - Ran ./arvbox start localdemo<br>
>> ><br>
>> > Here is the output I get from the above command:<br>
>> ><br>
>> > arvbox<br>
>> > localdemo<br>
>> > 8e8d1d7dff53ff5af7cd33168ca77a<wbr>dddcdaf19ab9b1b4d4b9ab47633805<wbr>c90a<br>
>> ><br>
>> > Arvados-in-a-box starting<br>
>> ><br>
>> > Note: if this is a fresh arvbox installation, it may take 10-15 minutes<br>
>> > (or<br>
>> > longer) to download and<br>
>> > install dependencies. Use "arvbox log" to monitor the progress of<br>
>> > specific<br>
>> > services.<br>
>> ><br>
>> ><br>
>> > export ARVADOS_API_HOST=:8000<br>
>> ><br>
>> > Further, when I run docker events& on a separate window here is the<br>
>> > resulting output:<br>
>> ><br>
>> > 2017-11-27T09:35:15.177842122-<wbr>05:00 container exec_create: cat<br>
>> > /var/run/localip_override<br>
>> > 8e8d1d7dff53ff5af7cd33168ca77a<wbr>dddcdaf19ab9b1b4d4b9ab47633805<wbr>c90a<br>
>> > (image=arvados/arvbox-demo, name=arvbox)<br>
>> > 2017-11-27T09:35:15.178715537-<wbr>05:00 container exec_start: cat<br>
>> > /var/run/localip_override<br>
>> > 8e8d1d7dff53ff5af7cd33168ca77a<wbr>dddcdaf19ab9b1b4d4b9ab47633805<wbr>c90a<br>
>> > (image=arvados/arvbox-demo, name=arvbox)<br>
>> > 2017-11-27T09:35:16.417449386-<wbr>05:00 container die<br>
>> > 8e8d1d7dff53ff5af7cd33168ca77a<wbr>dddcdaf19ab9b1b4d4b9ab47633805<wbr>c90a<br>
>> > (exitCode=0, image=arvados/arvbox-demo, name=arvbox)<br>
>> > 2017-11-27T09:35:16.650681585-<wbr>05:00 network disconnect<br>
>> > b7d333d91c735c971eea4da0b1b055<wbr>74b19003c7d17641aad37bc1e898f3<wbr>c3b2<br>
>> ><br>
>> > (container=<wbr>8e8d1d7dff53ff5af7cd33168ca77a<wbr>dddcdaf19ab9b1b4d4b9ab47633805<wbr>c90a,<br>
>> > name=bridge, type=bridge)<br>
>> ><br>
>> > How can I fix this?<br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > Victor<br>
>> ><br>
>> > ______________________________<wbr>_________________<br>
>> > arvados mailing list<br>
>> > <a href="mailto:arvados@arvados.org">arvados@arvados.org</a><br>
>> > <a href="http://lists.arvados.org/mailman/listinfo/arvados" rel="noreferrer" target="_blank">http://lists.arvados.org/<wbr>mailman/listinfo/arvados</a><br>
>> ><br>
>><br>
><br>
<br>
</blockquote></div><br></div>