Bug 848398 - remove special restrictions on Windows templates names
Summary: remove special restrictions on Windows templates names
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.2.0
Assignee: Michal Skrivanek
QA Contact: movciari
URL:
Whiteboard: virt
Depends On:
Blocks: 915537
TreeView+ depends on / blocked
 
Reported: 2012-08-15 13:34 UTC by David Jaša
Modified: 2022-07-09 06:04 UTC (History)
11 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-06-10 21:08:57 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47133 0 None None None 2022-07-09 06:04:18 UTC
Red Hat Product Errata RHSA-2013:0888 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-11 00:55:41 UTC
oVirt gerrit 11152 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.