Closed tlbtlbtlb closed 7 years ago
In the fairly common case of needing to pull the image, it fails because all 4 workers decide on the same port, and then when the pull finishes they all race to start containers with the same ports.
==> /tmp/usa-neonrace-w4/a3c.w-0.out <==
[2017-01-06 00:02:33,203] Writing logs to file: /tmp/universe-5345.log
[2017-01-06 00:02:33,216] Making new env: flashgames.NeonRace-v0
[2017-01-06 00:02:33,311] [0] Creating container: image=quay.io/openai/universe.flashgames:0.20.21. Run the same thing by hand as: docker run -p 5900:5900 -p 15900:15900 --privileged --cap-add SYS_ADMIN --ipc host quay.io/openai/universe.flashgames:0.20.21
[2017-01-06 00:02:33,313] Image quay.io/openai/universe.flashgames:0.20.21 not present locally; pulling
0.20.21: Pulling from openai/universe.flashgames
==> /tmp/usa-neonrace-w4/a3c.w-1.out <==
[2017-01-06 00:02:33,139] Writing logs to file: /tmp/universe-5346.log
2017-01-06 00:02:33,149] Making new env: flashgames.NeonRace-v0
[2017-01-06 00:02:33,248] [0] Creating container: image=quay.io/openai/universe.flashgames:0.20.21. Run the same thing by hand as: docker run -p 5900:5900 -p 15900:15900 --cap-add SYS_ADMIN --ipc host --privileged quay.io/openai/universe.flashgames:0.20.21
[2017-01-06 00:02:33,263] Image quay.io/openai/universe.flashgames:0.20.21 not present locally; pulling
0.20.21: Pulling from openai/universe.flashgames
==> /tmp/usa-neonrace-w4/a3c.w-2.out <==
[2017-01-06 00:02:33,153] Writing logs to file: /tmp/universe-5347.log
[2017-01-06 00:02:33,165] Making new env: flashgames.NeonRace-v0
[2017-01-06 00:02:33,274] [0] Creating container: image=quay.io/openai/universe.flashgames:0.20.21. Run the same thing by hand as: docker run -p 5900:5900 -p 15900:15900 --privileged --ipc host --cap-add SYS_ADMIN quay.io/openai/universe.flashgames:0.20.21
[2017-01-06 00:02:33,276] Image quay.io/openai/universe.flashgames:0.20.21 not present locally; pulling
0.20.21: Pulling from openai/universe.flashgames
==> /tmp/usa-neonrace-w4/a3c.w-3.out <==
[2017-01-06 00:02:33,176] Writing logs to file: /tmp/universe-5348.log
[2017-01-06 00:02:33,186] Making new env: flashgames.NeonRace-v0
[2017-01-06 00:02:33,275] [0] Creating container: image=quay.io/openai/universe.flashgames:0.20.21. Run the same thing by hand as: docker run -p 5900:5900 -p 15900:15900 --ipc host --cap-add SYS_ADMIN --privileged quay.io/openai/universe.flashgames:0.20.21
[2017-01-06 00:02:33,278] Image quay.io/openai/universe.flashgames:0.20.21 not present locally; pulling
0.20.21: Pulling from openai/universe.flashgames
Expected behavior
Universe-starter-agent learns neonrace using:
Actual behavior
This is on
0.tlb.devbox.sci.openai.org
, running Ubuntu 14.04.5 LTS. When creating some docker envs, it gets the error "port is already allocated", and tries to shut down the container and try again with a new port. But it gets an "device busy" error from AUFS when trying to shut it down, and fails.Versions