Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete should force-stop running instances when a regular stop isn't enough #2906

Closed
ricab opened this issue Jan 30, 2023 · 3 comments
Closed
Labels

Comments

@ricab
Copy link
Collaborator

ricab commented Jan 30, 2023

Describe the bug
If multipass can't stop an instance normally, it will keep running even after deleted.

To Reproduce

  1. multipass shell
  2. inside the instance:
    1. sudo fsfreeze --freeze /
    2. sudo ip link set ens3 down
  3. back outside, multipass stop
  4. observe the instance still running after the command exits (which, by the way...)
  5. multipass delete primary
  6. pgrep -fa qemu and observe the process still running
  7. multipass recover primary
  8. multipass list observe primary still running

Expected behavior
Delete would kill the instance if regular stopping did not work.

Additional info

  • OS: Linux
  • multipass version 1.12.0-dev.123+gdc4cbef6
  • multipass get local.driver QEMU

Additional context
This should be fixable by force-stopping after #1909 is in.

@sharder996
Copy link
Contributor

This is also closely related to #2492 and may be addressed by #1946. That PR might need some work to make sure its inline with what we want, but it should be a good starting point.

@mklueh
Copy link

mklueh commented Apr 24, 2023

I've had the problem that all Multipass commands were freezing.

Uninstalling was also impossible and I had two Vmmem processes with a permanent CPU load of 13% each which did not go away.

Disabling hyper-v and rebooting my virtual machine solved this issue and I was able to uninstall it.

@ricab
Copy link
Collaborator Author

ricab commented Sep 17, 2024

This should be taken care of now.

@ricab ricab closed this as completed Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants