pyro-mcp/docs/troubleshooting.md

66 lines
1.1 KiB
Markdown

# Troubleshooting
## `pyro env pull` or first-run install fails
Cause:
- the environment cache directory is not writable
- the configured registry artifact is unavailable
- the environment download was interrupted
Fix:
```bash
pyro env inspect debian:12
pyro env prune
pyro env pull debian:12
```
## `pyro run --network` fails before the guest starts
Cause:
- the host cannot create TAP devices or NAT rules
Fix:
```bash
pyro doctor
```
Then verify:
- `ip`
- `nft` or `iptables`
- `/dev/net/tun`
- host privilege for `sudo -n`
## `pyro doctor` reports runtime issues
Cause:
- the embedded Firecracker runtime files are missing or corrupted
Fix:
- reinstall the package
- verify `pyro doctor` reports `runtime_ok: true`
- if you are working from a source checkout, ensure large runtime artifacts are present with `git lfs pull`
## Ollama demo exits with tool-call failures
Cause:
- the model produced an invalid tool call or your Ollama model is not reliable enough for tool use
Fix:
```bash
pyro demo ollama -v
```
Inspect:
- model output
- requested tool calls
- tool results