Skip to content

Multipass doesn't recover vm after vm powered down #1304

@reyman

Description

@reyman

Hi,

Using latest dev version, multipass crash after resuming/trying to resume from a VM suspended or powered down.

multipass 1.1.0-dev.47+g31ad44c

janv. 14 19:25:25 IRED-15-19C0 systemd[1]: Stopping Service for snap application multipass.multipassd...
janv. 14 19:25:25 IRED-15-19C0 multipassd[12358]: Received signal 15 (Complété)
janv. 14 19:25:25 IRED-15-19C0 multipassd[12358]: Goodbye!
janv. 14 19:25:26 IRED-15-19C0 multipassd[12358]: QMP: {"timestamp": {"seconds": 1579026326, "microseconds": 97195}, "event": "STOP"}
janv. 14 19:25:26 IRED-15-19C0 multipassd[12358]: VM suspending
janv. 14 19:25:32 IRED-15-19C0 multipassd[12358]: QMP: {"timestamp": {"seconds": 1579026332, "microseconds": 22217}, "event": "RESUME"}
janv. 14 19:25:32 IRED-15-19C0 multipassd[12358]: VM suspended
janv. 14 19:25:32 IRED-15-19C0 multipassd[12358]: QMP: {"return": ""}
janv. 14 19:25:32 IRED-15-19C0 multipassd[12358]: Suspended VM successfully stopped
janv. 14 19:25:37 IRED-15-19C0 dnsmasq[7481]: demarré, version 2.79 (taille de cache 150)
janv. 14 19:25:37 IRED-15-19C0 dnsmasq[7481]: options à la compilation : IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loo
janv. 14 19:25:37 IRED-15-19C0 dnsmasq-dhcp[7481]: DHCP, IP range 10.124.59.2 -- 10.124.59.254, lease time illimité(e)
janv. 14 19:25:37 IRED-15-19C0 dnsmasq-dhcp[7481]: DHCP, sockets bound exclusively to interface mpqemubr0
janv. 14 19:25:37 IRED-15-19C0 dnsmasq[7481]: utilise les adresses locales seulement pour domaine multipass
janv. 14 19:25:37 IRED-15-19C0 dnsmasq[7481]: Lecture de /etc/resolv.conf
janv. 14 19:25:37 IRED-15-19C0 dnsmasq[7481]: utilise les adresses locales seulement pour domaine multipass
janv. 14 19:25:37 IRED-15-19C0 dnsmasq[7481]: utilise le serveur de nom 127.0.0.53#53
janv. 14 19:25:37 IRED-15-19C0 dnsmasq[7481]: lecture /etc/hosts - 8 adresses
janv. 14 19:25:37 IRED-15-19C0 dnsmasq[7481]: Ne peut pas lire /var/snap/multipass/common/data/multipassd/network/dnsmasq.hosts : Aucun fichier ou dossier de 
janv. 14 19:25:37 IRED-15-19C0 multipassd[7248]: gRPC listening on unix:/var/snap/multipass/common/multipass_socket, SSL:on
janv. 14 19:25:38 IRED-15-19C0 multipassd[7248]: rzine needs starting. Starting now...
janv. 14 19:25:38 IRED-15-19C0 multipassd[7248]: Cannot determine QEMU machine type. Defaulting to 'pc-i440fx-xenial'.
janv. 14 19:25:38 IRED-15-19C0 multipassd[7248]: Loading AppArmor policy: 
...

then



janv. 14 19:25:38 IRED-15-19C0 multipassd[7248]: process working dir '/snap/multipass/1626/qemu'
janv. 14 19:25:38 IRED-15-19C0 multipassd[7248]: process program 'qemu-system-x86_64'
janv. 14 19:25:38 IRED-15-19C0 multipassd[7248]: process arguments '--enable-kvm, -device, virtio-scsi-pci,id=scsi0, -drive, file=/var/snap/multipass/common/d
janv. 14 19:25:38 IRED-15-19C0 multipassd[7248]: Resuming from a suspended state
janv. 14 19:25:38 IRED-15-19C0 multipassd[7598]: Applying AppArmor policy: multipass.rzine.qemu-system-x86_64
janv. 14 19:25:38 IRED-15-19C0 multipassd[7248]: process started
janv. 14 19:25:39 IRED-15-19C0 multipassd[7248]: QMP: {"QMP": {"version": {"qemu": {"micro": 1, "minor": 11, "major": 2}, "package": "(Debian 1:2.11+dfsg-1ubu
janv. 14 19:25:39 IRED-15-19C0 multipassd[7248]: qemu-system-x86_64: warning: Unknown firmware file in legacy mode: etc/msr_feature_control
janv. 14 19:25:39 IRED-15-19C0 multipassd[7248]: 
janv. 14 19:25:39 IRED-15-19C0 multipassd[7248]: qemu-system-x86_64: Machine type received is 'pc-i440fx-bionic' and local is 'pc-i440fx-xenial'
janv. 14 19:25:39 IRED-15-19C0 multipassd[7248]: 
janv. 14 19:25:39 IRED-15-19C0 multipassd[7248]: qemu-system-x86_64: Error -22 while loading VM state

Then finally, multipass crash :

janv. 14 21:06:33 IRED-15-19C0 systemd[1]: snap.multipass.multipassd.service: Main process exited, code=dumped, status=11/SEGV
janv. 14 21:07:03 IRED-15-19C0 systemd[1]: snap.multipass.multipassd.service: State 'stop-sigterm' timed out. Killing.
janv. 14 21:07:03 IRED-15-19C0 systemd[1]: snap.multipass.multipassd.service: Killing process 7481 (dnsmasq) with signal SIGKILL.
janv. 14 21:07:03 IRED-15-19C0 systemd[1]: snap.multipass.multipassd.service: Failed with result 'core-dump'.

My only choice was to delete and recreate the image ...

Metadata

Metadata

Assignees

Labels

bughighHigh priority. Combine with "medium" to signal intermediate medium-high priority.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions