Project

General

Profile

Bug #25354

Stop VM before deleting it

Added by Matthew Lewis over 1 year ago. Updated about 1 year ago.

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

BOARD: Supermicro X10SL7-F; BIOS v3.0; LSI 2308 f/w v 20.00.04
CPU: Pentium G3260
RAM: Crucial 16GB Kit (2x 8Gb) PC3-12800 ECC UDIMM [Model: CT102472BD160B]
HDD: vdev1: 2 x WD Red 1.0Tb [Mirror]
vdev2: 8 x WD Red 3.0Tb [RaidZ2]
PSU: Corsair 550W [Model: RM550x]
CASE: Fractal Design R4
FANS: 4 x Noctua NF-A14 PWM 140mm
2 x Fractal Define R3
Boot: 2 x Corsair 16Gb USB [Mirror]

ChangeLog Required:
No

Description

If a User deletes a VM whilst it is running and tries to recreate the VM with the same name, the NIC and VM devices are either not automatically added or are not shown in the Devices list. Attempts to add additional devices are either not successful or not shown in the device list. However, if one deletes the VM again, the warning message would suggest that the devices have been created but are not shown in the device list.

To recreate:
  • Create a VM [assume called "Trial"];
  • Start the VM;
  • Delete the VM without Stopping;
  • Attempt to create another VM with the same name [in this case "Trial"]
  • Review existing Devices and attempt to add additional Devices.

I have felt the need to delete a few running VM's as the message from Linux "... Press Enter to Continue:" would not accept a Enter key and did not appear to be able to continue loading the OS.

Associated revisions

Revision 1f71b470 (diff)
Added by Marcelo Araujo over 1 year ago

fix(middlewared/vm): We need to stop the guest vm prior to delete it.

Ticket: #25354

Revision ff00eac2 (diff)
Added by Marcelo Araujo over 1 year ago

fix(middlewared/vm): We need to stop the guest vm prior to delete it.

Ticket: #25354

History

#1 Updated by Dru Lavigne over 1 year ago

  • Assignee changed from Release Council to Marcelo Araujo

#2 Updated by Marcelo Araujo over 1 year ago

  • Status changed from Unscreened to Screened
  • Target version set to 11.1

#3 Updated by Marcelo Araujo over 1 year ago

  • Status changed from Screened to Ready For Release
  • Assignee changed from Marcelo Araujo to Dru Lavigne

#4 Updated by Dru Lavigne over 1 year ago

  • Assignee changed from Dru Lavigne to Marcelo Araujo

#5 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Unexpected Behaviour When Creating VM with Same Name as a Deleted VM to Stop VM before deleting it

#6 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.1 to 11.1-BETA1

#7 Updated by Dru Lavigne about 1 year ago

  • Status changed from Ready For Release to Resolved

#8 Updated by Joe Maloney about 1 year ago

  • Needs QA changed from Yes to No
  • QA Status Test Passes FreeNAS added
  • QA Status deleted (Not Tested)

Also available in: Atom PDF