Bug 861728

Summary: can't modify disks aliases when creating a new template
Product: Red Hat Enterprise Virtualization Manager Reporter: Daniel Erez <derez>
Component: ovirt-engineAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: vvyazmin <vvyazmin>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.1.0CC: abaron, acathrow, amureini, dyasny, hateya, iheim, lpeer, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: SI21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Erez 2012-09-30 09:36:09 UTC
Description of problem:
When creating a new template (AddVmTemplateCommand),
a disk list (of the VM) is sent - but, the aliases are being ignored. 
I.e. disks aliases of a template are always equal to the VM's disks aliases.

* WebAdmin should support disks aliases modification when creating a new template.

Version-Release number of selected component (if applicable):
si19

How reproducible:
100%

Steps to Reproduce:
1. Create a new template (using AddVmTemplateCommand).
2. Modify disks aliases ('diskInfoDestinationMap' in AddVmTemplateParameters).
  
Actual results:
Disks aliases are identical to VM's disks aliases.

Expected results:
Disks aliases have been modified succesfully.

Additional info:
WebAdmin's new template dialog should be modified accordingly.

Comment 3 Daniel Erez 2012-10-14 16:07:35 UTC
Patch sent:
http://gerrit.ovirt.org/#/c/8534/

Comment 4 Allon Mureinik 2012-10-15 09:38:56 UTC
Merged I5a6a47d1ba77eed84fa5561db342e03ab6bac81a

Comment 5 vvyazmin@redhat.com 2012-10-23 09:48:26 UTC
Verified on RHEVM 3.1 - SI21.1

RHEVM: rhevm-3.1.0-21.el6ev.noarch
VDSM: vdsm-4.9.6-38.0.el6_3.x86_64
LIBVIRT: libvirt-0.9.10-21.el6_3.5.x86_64
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.295.el6_3.2.x86_64
SANLOCK: sanlock-2.3-4.el6_3.x86_64