From owner-freebsd-virtualization@freebsd.org Mon Dec 16 16:35:13 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A59191C84E8 for ; Mon, 16 Dec 2019 16:35:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47c6M541Tvz40xn for ; Mon, 16 Dec 2019 16:35:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 87EBA1C84E7; Mon, 16 Dec 2019 16:35:13 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 86A841C84E6 for ; Mon, 16 Dec 2019 16:35:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47c6M52v5lz40xm for ; Mon, 16 Dec 2019 16:35:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A43E3F for ; Mon, 16 Dec 2019 16:35:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xBGGZDau056535 for ; Mon, 16 Dec 2019 16:35:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBGGZDvn056534 for virtualization@FreeBSD.org; Mon, 16 Dec 2019 16:35:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 242666] Stopped VM cant restart again Date: Mon, 16 Dec 2019 16:35:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bernhard@blberger.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 16:35:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242666 Bug ID: 242666 Summary: Stopped VM cant restart again Product: Base System Version: 12.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: bernhard@blberger.de Hi, I have an old problem with BHYVE VM's Sometimes a VM that has been stopped cannot be restarted. When the VM is restarted, an error message appears stating that it is still running. Currently this can only be solved by rebooting the server. This is also the case with the current FreeBSD 12.1 release :-( Here is my VM list root@superserver:~ # vm list NAME DATASTORE LOADER CPU MEMORY VNC AUTOSTART STATE nextcloud default bhyveload 2 2G - Yes [3] Running (86383) samba default bhyveload 2 2G - Yes [2] Running (15621) test-pc default bhyveload 2 2G - No Stopped unifi default grub 1 2G - Yes [1] Running (15601) Here I try to start the VM "test-pc root@superserver:~ # vm start test-pc Starting test-pc * found guest in /data/bhyve/test-pc ! guest appears to be running already However, there is no process=20 root@superserver:~ # ps xaf | grep test-pc 19050 14 S+ 0:00.00 grep test-pc compared to samba root@superserver:~ # ps xaf | grep samba 15361 2- I 0:00.01 /bin/sh /usr/local/sbin/vm _run samba 15621 2- IC 102:54.67 bhyve: samba (bhyve) 19971 14 S+ 0:00.00 grep samba but in /dev/vmm the test-pc exists as running VM root@superserver:~ # ll /dev/vmm total 0 crw------- 1 root wheel 0xb1 Dec 16 13:35 nextcloud crw------- 1 root wheel 0xb3 Dec 15 23:25 samba crw------- 1 root wheel 0xb2 Dec 16 15:26 test-pc crw------- 1 root wheel 0x7d Dec 15 23:24 unifi Translated with www.DeepL.com/Translator (free version) --=20 You are receiving this mail because: You are the assignee for the bug.=