question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow users to force-stop a VM

See original GitHub issue

User 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
angroxcommented, Dec 1, 2017

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.

1reaction
yugangw-msftcommented, Nov 16, 2018

@adewaleo, let us expose a --force and invoke the redeploy?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found