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

stop command succeeds even when the instance isn't stopped #2907

Closed
ricab opened this issue Jan 30, 2023 · 0 comments · Fixed by #3684
Closed

stop command succeeds even when the instance isn't stopped #2907

ricab opened this issue Jan 30, 2023 · 0 comments · Fixed by #3684
Labels

Comments

@ricab
Copy link
Collaborator

ricab commented Jan 30, 2023

Describe the bug
Stop does not report failures to stop an instance and exits with 0.

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 command exits with success and without reporting any error, even though the instance is still running.

Expected behavior
The stop command would report the failure to stop the instance and exit with an error code.

Additional info

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

Additional context
Related to #2906

@ricab ricab added the bug label Jan 30, 2023
@townsend2010 townsend2010 changed the title stop command succeds even when the instance isn't stopped stop command succeeds even when the instance isn't stopped Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant