VMware: Using ShutdownGuest instead of PowerOffVM_Task, if vmtools was installed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Low
|
Eric Brown |
Bug Description
PowerOffVM_Task is a dangerous operation, while ShutdownGuest are more secure.
Using ShutdownGuest instead of PowerOffVM_Task, if vmtools was installed.
now:
def power_off_
"""Power off the specified instance."""
if vm_ref is None:
vm_ref = get_vm_ref(session, instance)
LOG.
try:
except vexc.InvalidPow
Changed in nova: | |
importance: | Undecided → Low |
summary: |
- [VMware]Using ShutdownGuest instead of PowerOffVM_Task, if vmtools was + VMware: Using ShutdownGuest instead of PowerOffVM_Task, if vmtools was installed. |
Changed in nova: | |
status: | New → Confirmed |
status: | Confirmed → Triaged |
tags: | added: low-hanging-fruit |
Changed in nova: | |
assignee: | javeme (javaloveme) → Jialiang (jialiang-song517) |
Changed in nova: | |
assignee: | javeme (javaloveme) → Eric Brown (ericwb) |
Fix proposed to branch: master /review. openstack. org/181628
Review: https:/