Force-Shutdown a VM?

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@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@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

Have you tried "power off" instead of "shutdown"? On May 4, 2017 11:36 AM, "Derek Atkins" <derek@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@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@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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"? -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@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@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@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

On Thursday, May 4, 2017 11:47:48 AM EDT Derek Atkins 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"?
-derek
He was not making a joke, there should be a 'power off' button between the shutdown and reboot button. If it is not there, that is a problem. Is it also not there when you right click on the grid in the menu that pops up?
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@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@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@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Alex, Alexander Wels <awels@redhat.com> writes:
He was not making a joke, there should be a 'power off' button between the shutdown and reboot button. If it is not there, that is a problem. Is it also not there when you right click on the grid in the menu that pops up?
As we discussed on IRC, that button isn't there in the VM page; it only exists in the right-click context menu. The lack of documentation of the existence of that context menu was my problem. Thanks! -derek -- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

On Thu, May 4, 2017 at 11:47 AM, Derek Atkins <derek@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...
-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@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@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@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

Dan, On Thu, May 4, 2017 12:07 pm, Dan Yasny wrote:
On Thu, May 4, 2017 at 11:47 AM, Derek Atkins <derek@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
Aha, so there is a hidden context menu with additional options.. THAT was the key. Thank you. I was unaware of a right-click context menu for VMs (or indeed anywhere in the webui). Is this documented somewhere? As for my tone, don't you think I had looked for a "power off" button? Your first reply was, while 100% correct, completely useless is helping. Of course I wanted power off; I couldn't find it. THIS message, thank you, provided what I needed.
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.
I am very aware, thank you. I've been running VMs since, oh, 1993. My last system was a vmware-based solution which I had in production for about a decade. (It had a "power off" button in plain sight, by the way). I spent an hour trying various ways to gracefully shut the system down before I emailed, but the VM was completely wedged, not responding to keyboard or mouse events. I tried soft reboot and soft shutdown to no avail. I tried sending Ctl-Alt-Del, to no avail... Power Off is, of course, a last resort, but I couldn't find the option (until you pointed me to the right-click context menu, so again, thank you). I'll note that even a google for "ovirt power off guest" does not provide the hint about the right-click context menu.
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...
I can look into this, but I don't think it would help this situation; like I said, the machine was completely wedged. Also, the machine auto-logs-in so there is always a "user", so again, probably not applicable to my situation. Thanks Again!! -derek
-derek
Have you tried "power off" instead of "shutdown"?
On May 4, 2017 11:36 AM, "Derek Atkins" <derek@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@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
On Thu, May 4, 2017 11:38 am, Dan Yasny wrote: this
VM so I can reboot it?
Thanks,
-derek
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

On Thu, May 4, 2017 at 12:23 PM, Derek Atkins <derek@ihtfp.com> wrote:
Dan,
On Thu, May 4, 2017 12:07 pm, Dan Yasny wrote:
On Thu, May 4, 2017 at 11:47 AM, Derek Atkins <derek@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
Aha, so there is a hidden context menu with additional options.. THAT was the key. Thank you. I was unaware of a right-click context menu for VMs (or indeed anywhere in the webui). Is this documented somewhere?
I haven't seen it documented, oVirt/RHEV always had a full blown GUI, which allowed for rightclicks, I normally try a rightclick in every UI that is new to me. I suppose the fact that it's a web UI might have caused you to believe a rightclick is irrelevant, and if that's the case, for product maturity's sake, I'd suggest you post a bug in bugzilla to explicitly document the possibility of rightclicking.
As for my tone, don't you think I had looked for a "power off" button? Your first reply was, while 100% correct, completely useless is helping. Of course I wanted power off; I couldn't find it. THIS message, thank you, provided what I needed.
Maybe I'm old fashioned (or just plain out old), but I usually hold myself back, no matter how annoyed I am, from taking such tones with people whom I do not know and who are, moreover, trying to help me. But that's just me, I'm not your father to teach you how to behave.
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.
I am very aware, thank you. I've been running VMs since, oh, 1993. My last system was a vmware-based solution which I had in production for about a decade. (It had a "power off" button in plain sight, by the way).
There is limited space "in plain sight", this is why there is the right click menu available with all the options. Which buttons should be present outside that menu is arguable, if you think "power off" should be there, please open a BZ and provide your reasons.
I spent an hour trying various ways to gracefully shut the system down before I emailed, but the VM was completely wedged, not responding to keyboard or mouse events. I tried soft reboot and soft shutdown to no avail. I tried sending Ctl-Alt-Del, to no avail... Power Off is, of course, a last resort, but I couldn't find the option (until you pointed me to the right-click context menu, so again, thank you). I'll note that even a google for "ovirt power off guest" does not provide the hint about the right-click context menu.
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
I can look into this, but I don't think it would help this situation; like I said, the machine was completely wedged. Also, the machine auto-logs-in so there is always a "user", so again, probably not applicable to my situation.
Thanks Again!!
-derek
-derek
Have you tried "power off" instead of "shutdown"?
On May 4, 2017 11:36 AM, "Derek Atkins" <derek@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@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
On Thu, May 4, 2017 11:38 am, Dan Yasny wrote: this
VM so I can reboot it?
Thanks,
-derek
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

Dan, Dan Yasny <dyasny@gmail.com> writes:
I haven't seen it documented, oVirt/RHEV always had a full blown GUI, which allowed for rightclicks, I normally try a rightclick in every UI that is new to me. I suppose the fact that it's a web UI might have caused you to believe a rightclick is irrelevant, and if that's the case, for product maturity's sake, I'd suggest you post a bug in bugzilla to explicitly document the possibility of rightclicking.
https://bugzilla.redhat.com/show_bug.cgi?id=1448491 You are correct. The fact that it's a webUI, and the fact that there is an extension of "functions that don't fit in the window", led me to believe a rightclick is irrelevant.
As for my tone, don't you think I had looked for a "power off" button? Your first reply was, while 100% correct, completely useless is helping. Of course I wanted power off; I couldn't find it. THIS message, thank you, provided what I needed.
Maybe I'm old fashioned (or just plain out old), but I usually hold myself back, no matter how annoyed I am, from taking such tones with people whom I do not know and who are, moreover, trying to help me. But that's just me, I'm not your father to teach you how to behave.
As someone who has manned a user-list "helpdesk" for the past 18 years for an accounting program, when I'm trying to help a user I not only point out the feature they want, but also how to find it. My assumption is that the user generally knows what they want but doesn't know how to do it. Your initial response gave the first part without the second -- so to me YOUR initial response came across as flippant, so I did respond in kind. Mea culpa. Hopefully we both learn from this?
> 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.
I am very aware, thank you. I've been running VMs since, oh, 1993. My last system was a vmware-based solution which I had in production for about a decade. (It had a "power off" button in plain sight, by the way).
There is limited space "in plain sight", this is why there is the right click menu available with all the options. Which buttons should be present outside that menu is arguable, if you think "power off" should be there, please open a BZ and provide your reasons.
The visible menu already has the right-arrow at the side for "additional functions that can't be shown", so I'm afraid I don't buy this argument. Similarly, the addition of one more icon wouldn't require a lot of real estate. *shrugs* I'm just a user of ovirt and I get what I pay for. Thanks, -derek -- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dI3xfKVp1FRhNh7rMi2f1jgLo6JcLRh5P Content-Type: multipart/mixed; boundary="gwc507dSbjOL6k9FLHrwwffJXgBHT7ptD"; protected-headers="v1" From: Kai Wagner <kwagner@suse.com> To: users@ovirt.org Message-ID: <fc1cd8c1-1b33-cdb1-bb9f-6e640af787dc@suse.com> Subject: Re: [ovirt-users] Force-Shutdown a VM? References: <sjminlg3a7q.fsf@securerf.ihtfp.org> <CALLXwb6+7-3MH_tzgd6E2Jyqc0hSJPUhpgsVX185bXRoR2LQYw@mail.gmail.com> In-Reply-To: <CALLXwb6+7-3MH_tzgd6E2Jyqc0hSJPUhpgsVX185bXRoR2LQYw@mail.gmail.com> --gwc507dSbjOL6k9FLHrwwffJXgBHT7ptD Content-Type: multipart/alternative; boundary="------------25BDAD01949FBC798F28399B" This is a multi-part message in MIME format. --------------25BDAD01949FBC798F28399B Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Just click twice on the "shutdown" button -> this will kill the VM process immediately On 05/04/2017 05:38 PM, Dan Yasny wrote:
Have you tried "power off" instead of "shutdown"?
On May 4, 2017 11:36 AM, "Derek Atkins" <derek@ihtfp.com <mailto:derek@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=20 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirect=
or]
(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@internal-authz on VM win10-64 (Host: ovirt-0). 2017-05-04 11:28:38,237 INFO=20 [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=20 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirect=
or]
(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@ihtfp.com <mailto:derek@ihtfp.com> =20 www.ihtfp.com <http://www.ihtfp.com> Computer and Internet Security Consultant _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--=20 SUSE Linux GmbH, GF: Felix Imend=F6rffer, Jane Smithard, Graham Norton, H= RB 21284 (AG N=FCrnberg) --------------25BDAD01949FBC798F28399B Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <html> <head> <meta content=3D"text/html; charset=3Dwindows-1252" http-equiv=3D"Content-Type"> </head> <body bgcolor=3D"#FFFFFF" text=3D"#000000"> <p>Just click twice on the "shutdown" button -> this will kill the VM process immediately <br> </p> <br> <div class=3D"moz-cite-prefix">On 05/04/2017 05:38 PM, Dan Yasny wrote:<br> </div> <blockquote cite=3D"mid:CALLXwb6+7-3MH_tzgd6E2Jyqc0hSJPUhpgsVX185bXRoR2LQYw@mail.gmai= l.com" type=3D"cite"> <div dir=3D"auto">Have you tried "power off" instead of "shutdown"?= </div> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On May 4, 2017 11:36 AM, "Derek Atkins= " <<a moz-do-not-send=3D"true" href=3D"mailto:derek@ihtfp.com"=
derek@ihtfp.com</a>> wrote:<br type=3D"attribution"> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> <br> I'm running ovirt-4.0.6 on EL7.3.<br> <br> I've got a stuck VM (Windows 10) that I'm trying to restart.<= br> Unfortunately it's "up" enough that ovirt is trying to perform a<br> soft-shutdown, but it's not up enough to complete the task.=A0=
If I login<br> to the ovirt admin portal as the admin, select shutdown, I see the<br> following engine log messages before I get an event "Shutdown of VM<br> <vm-name> failed.":<br> <br> 2017-05-04 11:23:27,774 INFO=A0 [org.ovirt.engine.core.dal.<w= br>dbbroker.auditloghandling.<wbr>AuditLogDirector] (org.ovirt.thread.pool-6-<wbr>thread-14) [3f629ae6] Correlation ID: 3f629ae6, Job ID: 1f5275cd-d2fe-44d5-a1cf-<wb= r>d1920e3f3378, Call Stack: null, Custom Event ID: -1, Message: VM shutdown initiated by admin@internal-authz on VM win10-64 (Host: ovirt-0).<br> 2017-05-04 11:28:38,237 INFO=A0 [org.ovirt.engine.core.<wbr>v= dsbroker.monitoring.<wbr>VmAnalyzer] (DefaultQuartzScheduler10) [4cf2f258] VM 'c9830039-9bf9-4c6a-8eae-<wbr>da9c24aad899'(win10-64) moved from 'PoweringDown' --> 'Up'<br> 2017-05-04 11:28:38,287 WARN=A0 [org.ovirt.engine.core.dal.<w= br>dbbroker.auditloghandling.<wbr>AuditLogDirector] (DefaultQuartzScheduler10) [4cf2f258] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Shutdown of VM win10-64 failed.<br> <br> So, how can I get out of this situation?=A0 How can I force-powerdown this<br> VM so I can reboot it?<br> <br> Thanks,<br> <br> -derek<br> <br> --<br> =A0 =A0 =A0 =A0Derek Atkins=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= 617-623-3745<br> =A0 =A0 =A0 =A0<a moz-do-not-send=3D"true" href=3D"mailto:derek@ihtfp.com">derek@ihtfp.com</a>=A0 =A0 = =A0 =A0 =A0 =A0 =A0<a moz-do-not-send=3D"true" href=3D"http://www.ihtfp.c= om" rel=3D"noreferrer" target=3D"_blank">www.ihtfp.com</a><br> =A0 =A0 =A0 =A0Computer and Internet Security Consultant<br> ______________________________<wbr>_________________<br> Users mailing list<br> <a moz-do-not-send=3D"true" href=3D"mailto:Users@ovirt.org">U= sers@ovirt.org</a><br> <a moz-do-not-send=3D"true" href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer" target=3D"_blank">http://lists.ovirt.org= /<wbr>mailman/listinfo/users</a><br> </blockquote> </div> </div> <br> <fieldset class=3D"mimeAttachmentHeader"></fieldset> <br> <pre wrap=3D"">_______________________________________________ Users mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@ovirt.org">Use= rs@ovirt.org</a> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org/mailman= /listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <pre class=3D"moz-signature" cols=3D"72">--=20 SUSE Linux GmbH, GF: Felix Imend=F6rffer, Jane Smithard, Graham Norton, H= RB 21284 (AG N=FCrnberg)</pre> </body> </html> --------------25BDAD01949FBC798F28399B-- --gwc507dSbjOL6k9FLHrwwffJXgBHT7ptD-- --dI3xfKVp1FRhNh7rMi2f1jgLo6JcLRh5P Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZDCh2AAoJEB6MkVYW48RuAFcH/jxN/S/N0HdnE9zYHeMLOrrj tTe9K0PCGFHKxk6lg4840iOSggCXNlVD0Lz2UsrcAXm/WJBHvu1cyeSue4nm/6BG /yQqG/PerqYMmrCQoaiP4/xNiIKwh3t+JbQq6+lBQCdi6q5WxMsll5iNtZ4j+MgS jli8CQR2htcQtAp48Yz8gnF57ffOnVlMfjOeKfXZwVUi6qlsufbPm37PqNyKHHK6 2JcVjx4AJPlhmaEUtk0E3uXEp16mpYakL3LfMonfJpP/TrqeShel9Rg8cDHQFVBO xgNS8TOG8DAKGJceiBPaFZZX+MuszMV6KPYocywe4GERK9/b0dleHKdjeQTL/Ew= =UTzg -----END PGP SIGNATURE----- --dI3xfKVp1FRhNh7rMi2f1jgLo6JcLRh5P--

Kai, Kai Wagner <kwagner@suse.com> writes:
Just click twice on the "shutdown" button -> this will kill the VM process immediately
Is this documented somewhere? In googling various terms like "power off", "force shutdown", etc I didn't find this trick anywhere (nor did I find the right-click menu). My searching did come up with the "Reboot" feature which was supposed to force-shutdown after a timeout, but that is apparently not implemented yet. Thanks, -derek -- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

On 5 May 2017, at 16:42, Derek Atkins <derek@ihtfp.com> wrote:
Kai,
Kai Wagner <kwagner@suse.com> writes:
Just click twice on the "shutdown" button -> this will kill the VM process immediately
Is this documented somewhere? In googling various terms like "power off", "force shutdown", etc I didn't find this trick anywhere (nor did I find the right-click menu). My searching did come up with the "Reboot" feature which was supposed to force-shutdown after a timeout, but that is apparently not implemented yet.
Hi Derek, it is implemented, it may not work as supposed to though:) Did you try it, how long did you wait, was the VM completely stuck or services were supposed to be running ok, do you have guest-agent running in the guest? Thanks, michal
Thanks,
-derek -- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Michal, Michal Skrivanek <michal.skrivanek@redhat.com> writes:
On 5 May 2017, at 16:42, Derek Atkins <derek@ihtfp.com> wrote:
Kai,
Kai Wagner <kwagner@suse.com> writes:
Just click twice on the "shutdown" button -> this will kill the VM process immediately
Is this documented somewhere? In googling various terms like "power off", "force shutdown", etc I didn't find this trick anywhere (nor did I find the right-click menu). My searching did come up with the "Reboot" feature which was supposed to force-shutdown after a timeout, but that is apparently not implemented yet.
Hi Derek, it is implemented, it may not work as supposed to though:) Did you try it, how long did you wait, was the VM completely stuck or services were supposed to be running ok, do you have guest-agent running in the guest?
The VM was completely stuck.. Connecting to the console I'd see an image but the "clock" was frozen, the mouse wouldn't move, and it wouldn't respond to any keypresses. The VM guest normally does run the guest agent tools, but I suspect they were not repsonding at all. What I tried: 1) The reboot button. 2) The shutdown button. 3) The shutdown button again (still only a single click). 4) (after this thread) Right Click -> Power Off I have not tried clicking twice on the shutdown button. If this VM hangs again I can try it again. I don't know what caused the VM to hang so I'm not sure exactly how to reproduce this issue. In terms of the "reboot" feature that I claim not not be implemented, I'm referring to [0]. The documentation of this feature claims that it will timeout and force a power off. Assuming the current reboot is this feature, it did not do that. Interestingly, as I re-read this page now it DOES mention the context menu and a "power off" feature! Thank you,
Thanks, michal
-derek [0] http://www.ovirt.org/develop/release-management/features/engine/guest-reboot... -- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --F6LTHxWiukeGi71DQJ2aX9nBKqNMfhOFJ Content-Type: multipart/mixed; boundary="IVuO3umXIqM6Oo5dCAxsRolVin8sE4kkk"; protected-headers="v1" From: Kai Wagner <kwagner@suse.com> To: users@ovirt.org Message-ID: <bef1f40d-3000-107f-3982-83f08437d1c5@suse.com> Subject: Re: [ovirt-users] Force-Shutdown a VM? References: <sjminlg3a7q.fsf@securerf.ihtfp.org> <CALLXwb6+7-3MH_tzgd6E2Jyqc0hSJPUhpgsVX185bXRoR2LQYw@mail.gmail.com> <fc1cd8c1-1b33-cdb1-bb9f-6e640af787dc@suse.com> <sjma86r2wmu.fsf@securerf.ihtfp.org> In-Reply-To: <sjma86r2wmu.fsf@securerf.ihtfp.org> --IVuO3umXIqM6Oo5dCAxsRolVin8sE4kkk Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 05/05/2017 04:42 PM, Derek Atkins wrote:
Kai,
Kai Wagner <kwagner@suse.com> writes:
Just click twice on the "shutdown" button -> this will kill the VM pro= cess immediately Is this documented somewhere? In googling various terms like "power off", "force shutdown", etc I didn't find this trick anywhere (nor did = I find the right-click menu). My searching did come up with the "Reboot"=
feature which was supposed to force-shutdown after a timeout, but that is apparently not implemented yet. I'm an RHEV/oVirt user since the beginning - I don't know to be honest but this this trick is working since years. Can't remember if I just found out by luck or read is somewhere.
Didn't know this is a "secret" ;-)
Thanks,
-derek
--=20 SUSE Linux GmbH, GF: Felix Imend=F6rffer, Jane Smithard, Graham Norton, H= RB 21284 (AG N=FCrnberg) --IVuO3umXIqM6Oo5dCAxsRolVin8sE4kkk-- --F6LTHxWiukeGi71DQJ2aX9nBKqNMfhOFJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZDPLkAAoJEB6MkVYW48Ru3OQH/iw1xvtYNNIMMEqf39Yp5Sa8 o9idL+G7X1NRC/J0IWI0n136GWK+9vplwMXtmgCos8Q9iwy58ZOmXuUjGYwLI4/h ysWJM6gYckrFjRLsa8TA32G5XV5P9By3r5X+yTb6k5rHGht4Xe/xm/AsfWABcgyd 52ZpU6OvJhZWvn3zAFyM7O+cfEspZgtOE7LT/ALuAqhtoT+2/8MP0eainMgaDO8+ mNdBkGLfM64fcLbP0wQdvz1G59Sqg1+VXiLEHbyuFp1o91LdZOHAUH2MmdgglX8b 6k+c1ZGxwjKepJDuCN2icSYEPzUP7IQuwJCPAi+HOhXLQP0jPgpzkPJXENQ3VI8= =UFKm -----END PGP SIGNATURE----- --F6LTHxWiukeGi71DQJ2aX9nBKqNMfhOFJ--
participants (5)
-
Alexander Wels
-
Dan Yasny
-
Derek Atkins
-
Kai Wagner
-
Michal Skrivanek