Project

General

Profile

Bug #40181

Do not allow multiple VMs with same name

Added by Michael Reynolds over 1 year ago. Updated over 1 year ago.

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

Description

Started with 2 VMS, 1 bhyve VM, and 1 Docker using Rancher
see 1bhyve-1docker-2018-07-30.png

bhyve VM -> Options -> Edit -> Cancel
docker VM -> Options -> Edit -> Cancel
bhyve VM -> Options -> Clone

I now have 7 bhyve clones and 3 docker clones

See VM-Clone-Issue-2018-07-30.mkv

Hitting Cancel is not required to trigger the bug
Going to Options -> Edit multiple times is required to trigger the bug

Deleted all of the clones created in the video.
I went to Options -> Edit 3 or 4 times then clicked Clone and got 8 clones?
I initially thought it was 1 clone for every time I went to Options ->
Edit but that's not the case.

1bhyve-1docker-2018-07-30.png (130 KB) 1bhyve-1docker-2018-07-30.png Michael Reynolds, 07/30/2018 08:29 PM
VM-Clone-Issue-2018-07-30.mkv (957 KB) VM-Clone-Issue-2018-07-30.mkv Michael Reynolds, 07/30/2018 08:29 PM
23196

Related issues

Related to FreeNAS - Bug #39947: Ensure VM name is unique, regardless of type of VMDone
Related to FreeNAS - Bug #43224: Fix traceback when creating a Docker or bhyve clone in the new UIDone

Associated revisions

Revision a50d9991 (diff)
Added by William Grzybowski over 1 year ago

fix(middlewared/vm): do not allow multiple VMs with same name While I'm here improve clone method. Ticket: #40181

Revision 46d14bfa (diff)
Added by William Grzybowski over 1 year ago

fix(middlewared/vm): do not allow multiple VMs with same name While I'm here improve clone method. Ticket: #40181

History

#1 Updated by Michael Reynolds over 1 year ago

  • Category changed from GUI (new) to Middleware
  • Assignee changed from Release Council to William Grzybowski

#3 Updated by William Grzybowski over 1 year ago

  • Status changed from Unscreened to Not Started
  • Severity changed from New to Medium

#4 Updated by William Grzybowski over 1 year ago

  • Target version changed from Backlog to 11.2-BETA3

#5 Updated by William Grzybowski over 1 year ago

  • Status changed from Not Started to In Progress

#6 Updated by Bug Clerk over 1 year ago

  • Status changed from In Progress to Ready for Testing

#7 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Clicking Clone on a VM after going to Edit can cause multiple erroneous clones to be generated to Do not allow multiple VMs with same name
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#8 Updated by Dru Lavigne over 1 year ago

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

#9 Updated by Dru Lavigne over 1 year ago

  • Related to Bug #39947: Ensure VM name is unique, regardless of type of VM added

#11 Updated by William Grzybowski over 1 year ago

  • Related to Bug #43224: Fix traceback when creating a Docker or bhyve clone in the new UI added

Also available in: Atom PDF