Open peterclemenko opened 5 years ago
I have a theory that what might be causing this on my end is that umpire might be having a hard time pushing the containers for walkoff apps to docker. Similar to what was happening in #240
So I was able to get an image list and this is what showed up:
docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE walkoff_bootloader latest 7660c1f0526e About a minute ago 427MB
Is this on master or development?
This is on development
So on master I just had an error happen when I did the hack to get aiodocker to work
Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 380, in _request url = URL(str_or_url) File "/usr/local/lib/python3.7/site-packages/yarl/init.py", line 160, in new raise ValueError("Invalid URL: host is required for abolute urls.") ValueError: Invalid URL: host is required for abolute urls.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/tenacity/_asyncio.py", line 46, in call result = yield from fn(*args, **kwargs) File "/c/users/th3fl/desktop/walkoff/bootloader/bootloader.py", line 342, in wait_for_registry raise e File "/c/users/th3fl/desktop/walkoff/bootloader/bootloader.py", line 335, in wait_for_registry async with self.session.get(f"http://{DOCKER_HOST_IP}:5000") as resp: File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 1012, in aenter self._resp = await self._coro File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 382, in _request raise InvalidURL(str_or_url) aiohttp.client_exceptions.InvalidURL: http://:5000
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/c/users/th3fl/desktop/walkoff/bootloader/bootloader.py", line 543, in
maybe this is related?
So I manually built umpire and got these errors:
ERROR: docker-compose 1.24.1 has requirement docker[ssh]<4.0,>=3.7.0, but you'll have docker 4.1.0 which is incompatible. ERROR: docker-compose 1.24.1 has requirement PyYAML<4.3,>=3.10, but you'll have pyyaml 5.1.2 which is incompatible. ERROR: docker-compose 1.24.1 has requirement requests!=2.11.0,!=2.12.2,!=2.18.0,<2.21,>=2.6.1, but you'll have requests 2.22.0 which is incompatible. ERROR: fastapi 0.42.0 has requirement pydantic<=0.32.2,>=0.32.2, but you'll have pydantic 1.0 which is incompatible.
Seems to be related to these: https://github.com/docker/compose/issues/6617 https://github.com/Azure/iotedgehubdev/issues/190
Maybe this will fix it, I don't know https://github.com/docker/compose/releases/tag/1.25.0-rc4
so it seems that umpire isn't building or pushing, doing that manually seems to fix this
docker build -f umpire/Dockerfile -t 127.0.0.1:5000/umpire . docker push 127.0.0.1:5000/umpire
this seems to be similar to the problem I'm having with nginx and the api gateway
On the development branch, walkoff isn't listing the walkoff apps in the UI or in the editor.