multipass icon indicating copy to clipboard operation
multipass copied to clipboard

[GUI] Failed `stop` causes GUI to get stuck

Open Sploder12 opened this issue 1 year ago • 0 comments

Describe the bug After failing to stop an instance the GUI gets stuck on "Waiting for daemon..." while the CLI continues to work.

To Reproduce How, and what happened?

  1. run Multipass GUI
  2. Go to shell
    1. sudo fsfreeze --freeze /
    2. sudo ip link set ens3 down
  3. Select instance and press "Stop"
  4. Wait for stop to finish
  5. Observe "Waiting for daemon..."
  6. Observe CLI still works

Expected behavior The GUI continues to be operable after failed stop

Additional info

  • OS: Ubuntu 24.04
  • multipass version multipass 1.15.0-dev.306+gfa2b29055
  • multipass info "info failed: ssh connection failed: 'Socket error: Connection reset by peer'"
  • multipass get local.driver qemu

Additional context This problem is likely caused by info returning an error because of the bad instance. The GUI can be recovered by running multipass delete -p <instance>

Sploder12 avatar Sep 18 '24 18:09 Sploder12