Unable to find network with name or ID asu-build: network not found
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- python, redis
- Domain
- backend, build-system, infrastructure
Research direction
The traceback points to asu/build.py::_build around line 194, where Podman creates the build container; start there and compare its network configuration with the official compose setup. Reproduce the rootless pasta and quadlet setup, then verify that a build no longer fails with the missing asu-build network.
Written by the indexing model from the issue text.
Description
Hi, I've set a local ASU instance a few months ago and it's been working fine, but lately (I'd say a few weeks ago) I get this error:
Status: failed
Progress: 0s total = 0s in queue + 0s in build
Build failed in 0s total = 0s in queue + 0s to build:
ASU server stderr =
Traceback (most recent call last):
File "/app/.venv/lib/python3.14/site-packages/rq/worker/base.py", line 1522, in perform_job
return_value = job.perform()
File "/app/.venv/lib/python3.14/site-packages/rq/job.py", line 1342, in perform
self._result = self._execute()
~~~~~~~~~~~~~^^
File "/app/.venv/lib/python3.14/site-packages/rq/job.py", line 1402, in _execute
result = self.func(*self.args, **self.kwargs)
File "/app/asu/build.py", line 494, in build
result = _build(build_request, job)
File "/app/asu/build.py", line 194, in _build
container = podman.containers.create(
image,
...<8 lines>...
image_volume_mode="ignore",
)
File "/app/.venv/lib/python3.14/site-packages/podman/domain/containers_create.py", line 412, in create
response.raise_for_status(not_found=ImageNotFound)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.14/site-packages/podman/api/client.py", line 85, in raise_for_status
raise APIError(cause, response=self._response, explanation=message)
podman.errors.exceptions.APIError: 500 Server Error: Internal Server Error (unable to find network with name or ID asu-build: network not found)
ERROR: Build failed with status 500 (--version-to 25.12.3 --device ath79/generic:xiaomi_aiot-ac2350:squashfs)
The above errors are often due to the upgrade server lagging behind the
build server, first suggestion is to wait a while and try again.
My setup consists of podman quadlets (I can add them if necessary, although they're basically following the official compose file).
As my setup is currently using rootless pasta networking, I can create the asu-build network, but ASU isn't able to use it.
I don't know if I'm the only one with this issue, because of the quadlet setup instead of podman-compose, but I thought I'd ask to see if there is a workaround. Thanks!
Edit: adding the podman run file I use for testing, before setting up the quadlets:
podman pod create \
--name asu-pod \
--publish 8000:8000/tcp \
--net=pasta:--ipv4-only,-a,10.0.2.100,-n,24,-g,10.0.2.2,--dns-forward,10.0.2.3,-m,1500,--no-ndp,--no-dhcpv6,--no-dhcp \
podman run \
--detach \
--label "io.containers.autoupdate=registry" \
--pod asu-pod \
--name asu-server \
--env PUBLIC_PATH=/data/public \
--env REDIS_URL="redis://asu-redis:6379/0" \
--env TZ=Europe/Madrid \
--volume asu.toml:/app/asu.toml:ro \
--volume asu-data:/public:ro \
--restart on-failure \
--memory 500M \
docker.io/openwrt/asu:latest uv run uvicorn --host 0.0.0.0 --reload --reload-include asu.toml asu.main:app
podman run \
--detach \
--label "io.containers.autoupdate=registry" \
--pod asu-pod \
--name asu-worker \
--env PUBLIC_PATH=/data/public \
--env REDIS_URL="redis://asu-redis:6379/0" \
--env TZ=Europe/Madrid \
--volume asu.toml:/app/asu.toml:ro \
--volume asu-data:/public \
--volume /run/user/1000/podman/podman.sock:/var/podman.sock:ro \
--restart on-failure \
--memory 1G \
docker.io/openwrt/asu:latest uv run rqworker --logging_level INFO
podman run \
--detach \
--label "io.containers.autoupdate=registry" \
--pod asu-pod \
--name asu-redis \
--env TZ=Europe/Madrid \
--volume asu-redis:/data \
--restart on-failure \
--memory 500M \
docker.io/redis/redis-stack-server
- Dominant language
- Python
- Stars
- 461
- Forks
- 116
- Avg merge
- 8d 30m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openwrt/asu
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
Similar issues
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
docling-project/docling-core#1067 ·
Maintainers usually reply within 3 days
-
correction metadata
Difficulty 1/5 Under an hour Newbie friendliness 85/100
acl-org/acl-anthology#11101 · 1 comment ·
Maintainers usually reply within 1 day
-
[BUG] crewai tool create/install/login exit 0 when they failPossibly taken @Kiko0301 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
vllm-project/compressed-tensors#1033 ·
Maintainers usually reply within 3 days
-
chore kaizen ui-rewrite
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
IBM/mcp-context-forge#7681 ·
Maintainers usually reply within 2 days