[Bug 1263587] New: mcp-server-uyuni container crashes: asyncio.run() called on non-async main_cli() function
bugzilla_noreply at suse.com
bugzilla_noreply at suse.com
Wed Apr 29 11:24:48 UTC 2026
https://bugzilla.suse.com/show_bug.cgi?id=1263587
Bug ID: 1263587
Summary: mcp-server-uyuni container crashes: asyncio.run()
called on non-async main_cli() function
Classification: SUSE AI
Product: SUSE AI Application Containers
Version: unspecified
Hardware: x86-64
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: container
Assignee: ai-maintainers at lists.suse.com
Reporter: orruiz at clinic.cat
QA Contact: ai-maintainers at lists.suse.com
Target Milestone: ---
Found By: ---
Blocker: ---
The container image
registry.suse.com/suse/agentic/mcp/multi-linux-manager:latest
fails to start with the following error:
ValueError: a coroutine was expected, got None
Root cause: __init__.py calls asyncio.run(main_cli()), but main_cli() in
server.py
is a regular non-async function, so it returns None instead of a coroutine.
Workaround: override the container entrypoint to call main_cli() directly:
python3 -c "from mcp_server_uyuni.server import main_cli; main_cli()"
Environment:
- Image: registry.suse.com/suse/agentic/mcp/multi-linux-manager:latest
- FastMCP: 2.12.4 / MCP SDK: 1.15.0 / Python 3.13
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.suse.com/pipermail/ai-maintainers/attachments/20260429/b7cb2ed9/attachment-0001.htm>
More information about the Ai-maintainers
mailing list