Bug 848398

Summary: remove special restrictions on Windows templates names
Product: Red Hat Enterprise Virtualization Manager Reporter: David Jaša <djasa>
Component: ovirt-engineAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED ERRATA QA Contact: movciari
Severity: low Docs Contact:
Priority: low    
Version: 3.1.0CC: cboyle, dyasny, hateya, iheim, lpeer, michal.skrivanek, ofrenkel, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: SF4 Doc Type: Bug Fix
Doc Text:
There was a restriction of 15 characters when naming Windows templates. Using a name of more than 15 characters would generate an error. As there was no reason for this restriction, the template names can now be up to 40 characters long.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-10 21:08:57 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:
Bug Depends On:    
Bug Blocks: 915537    

Description David Jaša 2012-08-15 13:34:04 UTC
Description of problem:
remove special restrictions on Windows templates names.

The reasoning behind windows VM name restrictions is their drop-in usability as DNS Host Name within AD setups - but template itself is never used as such so there is no gain by enforcing the restrictions on them.

Version-Release number of selected component (if applicable):
3.1.0-11.el6ev / si13.2

How reproducible:
always

Steps to Reproduce:
1. rename a windows template with 16-64 character long name
2.
3.
  
Actual results:
rhev-m complains about length

Expected results:
rhev-m should accept such name

Additional info:

Comment 1 Libor Spevak 2013-01-17 14:38:39 UTC
Id7bb03dea4c6030a485f0d60d775dd308c4c7155

Fixed validation of create/edit template name validation.
VM name is restricted to 15 characters for Windows host, 64 characters for other hosts. VM template name is max. 40 characters long.

Comment 2 Libor Spevak 2013-01-17 14:39:26 UTC
http://gerrit.ovirt.org/#/c/11152/

Comment 3 Libor Spevak 2013-01-20 14:02:47 UTC
Change-Id: Id7bb03dea4c6030a485f0d60d775dd308c4c7155

Comment 4 Libor Spevak 2013-01-21 11:10:30 UTC
3175ed263d678d64ac5fb2f9eebac001c93cf147

Comment 9 errata-xmlrpc 2013-06-10 21:08:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0888.html