(Solved) Can't Stop Array When VM is Running


Recommended Posts

Hi all,

 

UnRAID OS: 6.5.3

virtio drivers: 0.1.141-1

 

I have a Windows Server 2016 VM running, with the QEMU guest agent installed via the latest libvirt drivers. When I go to stop my array, libvirt fires a stop, but nothing happens. I can still RDP to the VM, it hasn't received a call from the hypervisor - it's as if nothing happened at all.

 

I can, however, stop the VM via the VMs dashboard on the UnRAID Web UI. The Shutdown command is fired to the guest OS and it properly shuts down as expected.

 

I just see this in my syslog when stopping the array:

Sep 11 12:22:22 NAS01 root:
Sep 11 12:22:22 NAS01 root: /dev/sdd:
Sep 11 12:22:22 NAS01 root:  setting standby to 0 (off)
Sep 11 12:22:23 NAS01 emhttpd: Stopping services...
Sep 11 12:22:23 NAS01 emhttpd: shcmd (226): /etc/rc.d/rc.libvirt stop

The process then hangs until I RDP to the VM to stop it, or stop it via the UnRAID dashboard. I waited a few minutes, it doesn't seem to kill itself after X number of seconds, or anything like that.

 

The QEMU Guest Agent appears to be running just fine:

 

PS C:\Users\Administrator> Get-Service QEMU-GA

Status   Name               DisplayName
------   ----               -----------
Running  QEMU-GA            QEMU Guest Agent

 

If it matters, my WebUI is running on port 81 (I know this used to be an issue with the 'stop array' script, unsure if it still is with regard to VMs).

Edited by ryanborstelmann
Solved
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.