Allow users to force-stop a VM
See original GitHub issueUser reporting an issue where it can take a long time for an unresponsive VM to stop, and would prefer a method to “kill a VM WITH EXTREME PRJUDICE.”
An idea, add an param to force-stop after 30 seconds of stopping
$ az vm stop --force-after 30
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Forcing a frozen virtual machine to power off in VMware ...
From the Workstation menu bar, select the virtual machine to be powered off. Click VM > Power > Power Off. If the VMware...
Read more >Proxmox can't stop VM - How we fix it!
Stopping a VM in Proxmox is done from web interface and CLI. The common reason for proxmox can't stop vm are due to...
Read more >How to Stop an Unresponsive Hyper-V Virtual Machine
The most important thing you need if you want to force an unresponsive VM to shut down, is the VM's GUID. Using the...
Read more >Stop-VM (Hyper-V)
The Stop-VM cmdlet shuts down, turns off, or saves a virtual machine. ... Specifies one or more user accounts that have permission to...
Read more >How to forcefully shutdown a guest VM using virsh ...
This command does an immediate ungraceful shutdown of VM. Let us see how to force a guest to stop and risk associated with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When a VM is non responsing you do not have the possibilty to log in via SSH. We need something like all VM providers have: Reset the VM and boot in again. I just have the same issue - a “reset” would be appreciated. It is not acceptable waiting 15-20 minutes to restart a unresponsive VM.
@adewaleo, let us expose a
--force
and invoke the redeploy?