canonical / canonical/multipass

`multipass find --force-update -vvvv` sometimes crashes the daemon

Open
#3,578 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 1h
Merged PRs (30d)
44

Description

**Describe the bug**
`multipass find --force-update` sometimes fails when running with trace verbosity. Happening on multiple OS's

**Logs**
```
% multipass find --force-update -vvvv
[2024-07-11T13:54:28.979] [debug] [async task] fetch manifest from the internet
[2024-07-11T13:54:29.449] [trace] [url downloader] Found https://cdimage.ubuntu.com/ubuntu-core/appliances/streams/v1/index.json in cache: false
find failed: cannot connect to the multipass socket
% multipass ls
list failed: cannot connect to the multipass socket
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with `multipass find --force-update -vvvv` and compare the trace output with the daemon and socket state shown in the report. Use the failing command and follow-up `multipass ls` as the checks; done means the daemon remains reachable and both commands complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.