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

MULTIPASS INTANCE BUG #3712

Closed
arsh-kamal opened this issue Oct 2, 2024 · 8 comments
Closed

MULTIPASS INTANCE BUG #3712

arsh-kamal opened this issue Oct 2, 2024 · 8 comments
Labels
bug needs triage Issue needs to be triaged

Comments

@arsh-kamal
Copy link

Describe the bug
Describe what your problem is.
I am experiencing issues with Multipass on macOS. The virtual machine instances are either stuck in the "Unknown" state or fail to start, remaining in the "Stopped" state. Despite trying multiple troubleshooting steps (restarting instances, switching drivers, reinstalling Multipass, and checking logs), the issue persists.

To Reproduce
How, and what happened?

  1. multipass ...

Ran the command to launch a new instance:
bash

multipass launch -c 1 -m 512M -d 5G --name test-vm
The instance either remains in the "Unknown" or "Stopped" state, and logs show it's stuck at "Waiting for SSH to be up."

Expected behavior
What did you expect to happen?
I expected the virtual machine to start successfully and be able to access the shell via multipass shell .

Logs
Please provide logs from the daemon, see accessing logs on where to find them on your platform.
[2024-10-02T15:50:23.387] [info] [test-vm] process started
[2024-10-02T15:50:23.388] [debug] [test-vm] Waiting for SSH to be up
[2024-10-02T15:50:23.414] [debug] [test-vm] QMP: {"QMP": {"version": {"qemu": {"micro": 1, "minor": 2, "major": 8}, "package": ""}, "capabilities": ["oob"]}
[2024-10-02T15:50:23.434] [debug] [test-vm] QMP: {"return": {}}
[2024-10-02T15:50:33.649] [debug] [test-vm] QMP: {"timestamp": {"seconds": 1727909433, "microseconds": 649322}, "event": "NIC_RX_FILTER_CHANGED", "data": {"path": "/machine/unattached/device[6]/virtio-backend"}}
[2024-10-02T15:51:26.821] [debug] [test-vm] QMP: {"timestamp": {"seconds": 1727909486, "microseconds": 821158}, "event": "RTC_CHANGE", "data": {"offset": 1, "qom-path": "/machine/unattached/device[4]"}}

Additional info

  • OS: macOS 15.0 (24A335)
  • multipass versionmultipass 1.14.0+mac
    multipassd 1.14.0+mac
  • multipass info
  • Name: calm-imp
    State: Unknown
    Snapshots: 0
    IPv4: --
    Release: --
    Image hash: f40c93dde981 (Ubuntu 24.04 LTS)
    CPU(s): --
    Load: --
    Disk usage: --
    Memory usage: --
    Mounts: --

Name: dev01
State: Unknown
Snapshots: 0
IPv4: --
Release: --
Image hash: f40c93dde981 (Ubuntu 24.04 LTS)
CPU(s): --
Load: --
Disk usage: --
Memory usage: --
Mounts: --

Name: spotless-fish
State: Unknown
Snapshots: 0
IPv4: --
Release: --
Image hash: f40c93dde981 (Ubuntu 24.04 LTS)
CPU(s): --
Load: --
Disk usage: --
Memory usage: --
Mounts: --

Name: test-vm
State: Unknown
Snapshots: 0
IPv4: --
Release: --
Image hash: f40c93dde981 (Ubuntu 24.04 LTS)
CPU(s): --
Load: --
Disk usage: --
Memory usage: --
Mounts: --
Dell@ucsc-guest-169-233-117-175 ~ %

  • multipass get local.driver
    qemu
    Additional context
    I have tried the following troubleshooting steps:

Restarting the instances (multipass stop and multipass start ).
Switching drivers between qemu and hyperkit.
Reinstalling Multipass and its dependencies.
Checking network connectivity and firewall settings.
Running Multipass in Safe Mode.
Add any other context about the problem here.

@arsh-kamal arsh-kamal added bug needs triage Issue needs to be triaged labels Oct 2, 2024
@georgeliao
Copy link
Contributor

Hi @arsh-kamal
Sorry that you have encountered this. It smells like the known issue on macos sqenoia, can you try the test package and see whether that solves the problem?

@arsh-kamal
Copy link
Author

Hi
It didnt solve the problem still timed out

@georgeliao
Copy link
Contributor

@arsh-kamal
Ok, then that is more complicated. Can you share the log on the new test package run? What exact commands did you try? Did you try to launch a new instance or just try to start an existing instance?

@arsh-kamal
Copy link
Author

Ohh its finally worked with the package thankyou for your help

@georgeliao
Copy link
Contributor

georgeliao commented Oct 4, 2024

@arsh-kamal
Glad it worked. Can you share more details about what did not work, what worked and what you did right to get it work?

@arsh-kamal
Copy link
Author

So basically apple mac could not verify multipass 1.15.0 dev that it is free of malware or not so it wss giving me error message so i went to settings in settings i went to privacy and security and scroll down and there was a option to allow this version to setup i click that and its finally worked.

@ricab
Copy link
Collaborator

ricab commented Oct 4, 2024

Good to know, thanks @arsh-kamal.

@ricab
Copy link
Collaborator

ricab commented Oct 4, 2024

Duplicate of #3661

@ricab ricab marked this as a duplicate of #3661 Oct 4, 2024
@ricab ricab closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

3 participants