Bug 1717802

Summary: "Name is already used by another virtual machine" when creating a non-exist vm template
Product: Container Native Virtualization (CNV) Reporter: Guohua Ouyang <gouyang>
Component: User ExperienceAssignee: Filip Krepinsky <fkrepins>
Status: CLOSED CURRENTRELEASE QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0CC: cnv-qe-bugs, fkrepins, gouyang, igulina, ncredi, pousley, tjelinek
Target Milestone: ---   
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.2.0-0.nightly-2019-08-15-073735 Doc Type: Known Issue
Doc Text:
Story Points: ---
Clone Of:
: 1717930 (view as bug list) Environment:
Last Closed: 2019-11-04 15:06:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Guohua Ouyang 2019-06-06 08:37:38 UTC
Description of problem:
"Name is already used by another virtual machine" when creating a non-exist vm template.

Version-Release number of selected component (if applicable):
kubevirt-2.0.0-14.6

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with name "test"
2. Go to create a template with the same name "test"
3.

Actual results:
"Name is already used by another virtual machine" shows.

Expected results:
It can create the template successfully.

Additional info:
With a VM exists, create the template from command line with that vm name is okay.

Comment 1 Filip Krepinsky 2019-07-23 13:57:19 UTC
https://github.com/kubevirt/web-ui-components/pull/523

Comment 2 Filip Krepinsky 2019-07-24 10:51:46 UTC
modified, waits on new version of web-ui-components

Comment 3 Guohua Ouyang 2019-08-20 06:46:53 UTC
verified on OpenShift Version 4.2.0-0.nightly-2019-08-15-073735, the vm template can be created even there is vm existed with the same name.