Project

General

Profile

Bug #40440

Rollback VM creation if anything goes wrong to prevent duplicate VMs

Added by Chris Burge about 2 years ago. Updated about 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Seen in:
Severity:
Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

FreeNAS running under kvm/qemu test enivornment which supports nested virtualisation.

ChangeLog Required:
No

Description

Problem: The new Vm wizard picks a zvol size of 10GiB for a linux VM. An error is generated at step 7 re: usage of more than 80% of space. Using the back buttons to return to step 4 and manually reducing the zvol size allows the VM to be created. But two Vms of the same name are generated. One with just a NIC device and one with the expected four devices (NIC, VNC, CD_ROM & DISK)

Steps to re-create: See series of screen caps attached.

vmtest1_2.jpeg (38.9 KB) vmtest1_2.jpeg Chris Burge, 08/02/2018 01:21 AM
vmtest1_3.jpeg (35.9 KB) vmtest1_3.jpeg Chris Burge, 08/02/2018 01:21 AM
vmtest1_1.jpeg (43.3 KB) vmtest1_1.jpeg Chris Burge, 08/02/2018 01:21 AM
vmtest1_4.jpeg (41.3 KB) vmtest1_4.jpeg Chris Burge, 08/02/2018 01:21 AM
vmtest1_5.jpeg (40.2 KB) vmtest1_5.jpeg Chris Burge, 08/02/2018 01:21 AM
vmtest1_7.jpeg (40.3 KB) vmtest1_7.jpeg Chris Burge, 08/02/2018 01:21 AM
vmtest1_6.jpeg (31.2 KB) vmtest1_6.jpeg Chris Burge, 08/02/2018 01:21 AM
vmtest1_8.jpeg (25.7 KB) vmtest1_8.jpeg Chris Burge, 08/02/2018 01:21 AM
vmtest1_10.jpeg (44.1 KB) vmtest1_10.jpeg Chris Burge, 08/02/2018 01:21 AM
vmtest1_9.jpeg (37.4 KB) vmtest1_9.jpeg Chris Burge, 08/02/2018 01:21 AM
23412
23416
23420
23424
23428
23432
23436
23440
23444
23448

Associated revisions

Revision c32a39e8 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared): rollback VM creation if anything goes wrong Ticket: #40440

Revision 3953d6d4 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared): rollback VM creation if anything goes wrong Ticket: #40440

History

#1 Updated by Dru Lavigne about 2 years ago

  • Assignee changed from Release Council to Erin Clark
  • Target version changed from Backlog to 11.2-BETA3

#2 Updated by Vaibhav Chauhan about 2 years ago

  • Assignee changed from Erin Clark to Vaibhav Chauhan

#3 Updated by William Grzybowski about 2 years ago

  • Category changed from GUI (new) to Middleware
  • Status changed from Unscreened to Not Started
  • Assignee changed from Vaibhav Chauhan to William Grzybowski
  • Severity changed from New to Medium

#4 Updated by William Grzybowski about 2 years ago

  • Status changed from Not Started to In Progress

#5 Updated by William Grzybowski about 2 years ago

  • Status changed from In Progress to Ready for Testing

#6 Updated by Dru Lavigne about 2 years ago

  • Subject changed from VM wizard generates duplicate vms after zvol resize to Rollback VM creation if anything goes wrong to prevent duplicate VMs
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#7 Updated by Dru Lavigne about 2 years ago

  • Status changed from Ready for Testing to Done
  • Needs QA changed from Yes to No

Also available in: Atom PDF