Project

General

Profile

Bug #23975

Feature Request: VM Poweroff button

Added by Stuart Espey over 3 years ago. Updated about 3 years ago.

Status:
Closed: Duplicate
Priority:
Important
Assignee:
Marcelo Araujo
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

The Stop button in the VM tab sends a power-button event to the VM. This is a gentle request to the VM to stop. If the VM doesn't want to handle the power-button event as a shutdown/halt, then it will never stop.

There should be a Poweroff button in the UI, with suitable warnings which can be used to stop a VM which won't stop.

The underlying bhyvectl command is

```bhyvectl --force-poweroff --vm=<vm-name>```


Related issues

Has duplicate FreeNAS - Bug #23493: Fix VM stopResolved2017-04-21

Associated revisions

Revision b75967f9 (diff)
Added by Marcelo Araujo over 3 years ago

fix(vm): Gracefully stop vm using bhyvectl(8). Ticket: #23975 Ticket: #23493

Revision cbb9120e (diff)
Added by Marcelo Araujo over 3 years ago

fix(vm): Handle the bhyve return for --force-poweroff and avoid try to destroy it twice. Ticket: #23975 Ticket: #23493

History

#1 Updated by Marcelo Araujo over 3 years ago

  • Status changed from Unscreened to Screened
  • Priority changed from No priority to Important
  • Target version set to 11.0-U1

#2 Updated by Anthony Takata over 3 years ago

Referencing dup #23493

Thanks for the command to nicely kill the VM though!

#3 Updated by Marcelo Araujo over 3 years ago

  • Target version changed from 11.0-U1 to 11.1

Target it to 11.1!

It was already resolved in Nightlies!

#4 Updated by Marcelo Araujo over 3 years ago

  • Status changed from Screened to Resolved

#5 Updated by Dru Lavigne about 3 years ago

#6 Updated by Dru Lavigne about 3 years ago

  • Status changed from Resolved to Closed: Duplicate
  • Target version changed from 11.1 to N/A

Also available in: Atom PDF