[ovirt-users] Force-Shutdown a VM?

Dan Yasny dyasny at gmail.com
Thu May 4 16:07:09 UTC 2017


On Thu, May 4, 2017 at 11:47 AM, Derek Atkins <derek at ihtfp.com> wrote:

> Okay, I'll bite.  Which button is that?
>
> I'm in the Virtual Machines tab on the admin portal; I select the hung VM
> from my list and I see the following items at the top of the page:
> "New VM", "Import", "Edit", "Remove", "Clone VM", "Run Once", "<Run>",
> "<Suspend>", "<Shutdown>", "<Reboot>", "<Console>", "Migrate", "Cancel
> Migration", "Cancel Conversion", and then the right arrow to "Make
> Template", "Export", "Create Snapshot", "Change CD", "Assign Tags", and
> "Guide Me".
>
> Please, kind sir, which one is the "power off" instead of "shutdown"?
>
>
While I do not appreciate your tone of conversation, I'll oblige, assuming
you haven't had your morning coffee yet. Right click the VM, the option is
right there. See the screenshot attached

Just so you are aware, power off pulls the plug out of the VM, it kills it
outright, so the effect will be just as if you've lost power to it. It is
generally healthier to solve the shutdown problem.

Here's a hint, this isn't about Windows 10, but might hit close the mark
nonetheless:
https://serverfault.com/questions/844188/shut-down-windows-server-2012r2-kvm-vm/845521#845521


> -derek
>
> On Thu, May 4, 2017 11:38 am, Dan Yasny wrote:
> > Have you tried "power off" instead of "shutdown"?
> >
> > On May 4, 2017 11:36 AM, "Derek Atkins" <derek at ihtfp.com> wrote:
> >
> >> Hi,
> >>
> >> I'm running ovirt-4.0.6 on EL7.3.
> >>
> >> I've got a stuck VM (Windows 10) that I'm trying to restart.
> >> Unfortunately it's "up" enough that ovirt is trying to perform a
> >> soft-shutdown, but it's not up enough to complete the task.  If I login
> >> to the ovirt admin portal as the admin, select shutdown, I see the
> >> following engine log messages before I get an event "Shutdown of VM
> >> <vm-name> failed.":
> >>
> >> 2017-05-04 11:23:27,774 INFO  [org.ovirt.engine.core.dal.
> >> dbbroker.auditloghandling.AuditLogDirector]
> >> (org.ovirt.thread.pool-6-thread-14)
> >> [3f629ae6] Correlation ID: 3f629ae6, Job ID:
> >> 1f5275cd-d2fe-44d5-a1cf-d1920e3f3378,
> >> Call Stack: null, Custom Event ID: -1, Message: VM shutdown initiated by
> >> admin at internal-authz on VM win10-64 (Host: ovirt-0).
> >> 2017-05-04 11:28:38,237 INFO
> >> [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
> >> (DefaultQuartzScheduler10) [4cf2f258] VM
> >> 'c9830039-9bf9-4c6a-8eae-da9c24aad899'(win10-64)
> >> moved from 'PoweringDown' --> 'Up'
> >> 2017-05-04 11:28:38,287 WARN  [org.ovirt.engine.core.dal.
> >> dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler10)
> >> [4cf2f258] Correlation ID: null, Call Stack: null, Custom Event ID: -1,
> >> Message: Shutdown of VM win10-64 failed.
> >>
> >> So, how can I get out of this situation?  How can I force-powerdown this
> >> VM so I can reboot it?
> >>
> >> Thanks,
> >>
> >> -derek
> >>
> >> --
> >>        Derek Atkins                 617-623-3745
> >>        derek at ihtfp.com             www.ihtfp.com
> >>        Computer and Internet Security Consultant
> >> _______________________________________________
> >> Users mailing list
> >> Users at ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> >
>
>
> --
>        Derek Atkins                 617-623-3745
>        derek at ihtfp.com             www.ihtfp.com
>        Computer and Internet Security Consultant
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170504/cb79ab77/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2017-05-04 12-03-22.png
Type: image/png
Size: 21753 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170504/cb79ab77/attachment-0001.png>


More information about the Users mailing list