Project

General

Profile

Bug #43866

Use unique name for cloned zvol

Added by Michael Reynolds about 2 years ago. Updated about 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Severity:
Low 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:
ChangeLog Required:
No

Description

Create a bhyve or docker VM (using QA-Test in this example)

Create a clone of the VM QA-Test
The clone is created (QA-Test_clone0)

Delete the clone

Try to clone the same VM again
Creating the clone fails with:

[2018/08/30 20:55:03] (ERROR) ZFSSnapshot.do_create():388 - dataset already exists

VM Clone 2.png (140 KB) VM Clone 2.png Jeff Ervin, 09/24/2018 10:49 AM
VM Clone 3.png (218 KB) VM Clone 3.png Jeff Ervin, 09/24/2018 10:49 AM
VM Clone 1.png (132 KB) VM Clone 1.png Jeff Ervin, 09/24/2018 10:49 AM
31450
31461
31465

Related issues

Related to FreeNAS - Bug #46964: Fix sending multiple vm.clone calls when cloning a VMDone
Blocks FreeNAS - Bug #43855: Display error message if VM clone creation fails in new UIDone

Associated revisions

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

fix(middlewared/vm): make sure to use unique name for cloned zvol Ticket: #43866

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

feat(middlewared/vm): use f-string requested by @skaeekrow Ticket: #43866

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

fix(middlewared/vm): make sure to use unique name for cloned zvol Ticket: #43866

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

feat(middlewared/vm): use f-string requested by @skaeekrow Ticket: #43866

History

#2 Updated by Dru Lavigne about 2 years ago

  • Blocks Bug #43855: Display error message if VM clone creation fails in new UI added

#3 Updated by William Grzybowski about 2 years ago

  • Status changed from Unscreened to Screened
  • Target version changed from Backlog to 11.2-RC1
  • Severity changed from New to Low Medium

#4 Updated by William Grzybowski about 2 years ago

  • Related to Bug #46964: Fix sending multiple vm.clone calls when cloning a VM added

#5 Updated by Bug Clerk about 2 years ago

  • Status changed from Screened to In Progress

#6 Updated by Bug Clerk about 2 years ago

  • Status changed from In Progress to Ready for Testing

#7 Updated by Dru Lavigne about 2 years ago

  • Subject changed from Creating a VM clone after deleting a clone fails to Use unique name for cloned zvol
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#8 Updated by Jeff Ervin about 2 years ago

31450
31461
31465

FreeNAS-11.2-MASTER-201809240851

#9 Updated by Dru Lavigne about 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF