Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

VirtualBox: cannot kill machine when it hangs #1219

Closed
ehazlett opened this issue May 22, 2015 · 3 comments
Closed

VirtualBox: cannot kill machine when it hangs #1219

ehazlett opened this issue May 22, 2015 · 3 comments

Comments

@ehazlett
Copy link
Contributor

If the VM goes into an un-reachable state (i.e. unable to ssh) then machine just hangs on any command including kill. We should remove anything preventing the kill operation so users can recover (i.e. calls to GetState etc).

Thx to @rrarunan for reporting!

@ghost
Copy link

ghost commented May 22, 2015

I used a fork bomb to simulate non reponsiveness. From what I'm seeing, executing: /usr/bin/VBoxManage showvminfo test-machine --machinereadable is being continuously looped instead of running controlvm test-machine acpipowerbutton next which most likely wouldn't have worked anyway. It would make sense for Kill to run controlvm test-machine poweroff for hard shutdown and add force restart flag to run controlvm test-machine reset

@nathanleclaire
Copy link
Contributor

Yes, so probably VirtualBox driver needs a "meaner" kill.

@dgageot dgageot added this to the 0.5.1 milestone Nov 4, 2015
@nathanleclaire
Copy link
Contributor

I'm not sure what more can be done about this one. Kill in the VBox driver already calls VBoxManage controlvm foo poweroff.

tomeon pushed a commit to tomeon/machine that referenced this issue May 9, 2018
Update some minor try_mount_share assumptions (assumes root-relative via cwd)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants