Bug 1078875 - Cannot create pool with pattern-based naming scheme for VMs
Summary: Cannot create pool with pattern-based naming scheme for VMs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.4.0
Assignee: Arik
QA Contact: Nikolai Sednev
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-20 13:24 UTC by Pavel Novotny
Modified: 2014-06-12 14:04 UTC (History)
9 users (show)

Fixed In Version: org.ovirt.engine-root-3.4.0-14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-12 14:04:40 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot: cannot add pool (19.44 KB, image/png)
2014-03-20 13:30 UTC, Pavel Novotny
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 26356 0 None None None Never
oVirt gerrit 26566 0 None None None Never
oVirt gerrit 26624 0 ovirt-engine-3.4 MERGED core: fix support for pattern-based name for pool Never
oVirt gerrit 26625 0 ovirt-engine-3.4 MERGED core: test negative flows for pattern-based name Never

Description Pavel Novotny 2014-03-20 13:24:17 UTC
Description of problem:
Bug 892260 introduced in 3.3 pattern-based naming of the pool VMs using the '?' character in the pool name. 
In 3.4 the form validation now doesn't allow to use this character, rendering this featre unusable.

Version-Release number of selected component (if applicable):
rhevm-3.4.0-0.9.beta1.el6ev.noarch (av3.1)

How reproducible:
100%

Steps to Reproduce:
1. In Webadmin, on the Pools tab, create a new pool with name 'pool-vm??' and 5 VMs, submit the dialog.

Actual results:

Error dialog (see attached screenshot) with message "Can not create VM-Pool. The given name contains special characters. Only lower-case and upper-case letters, numbers, '_', '-', '.' are allowed."

Expected results:

New pool is created with 5 VMs - pool-vm01 ... pool-vm05.

Additional info:

This is regression between RHEVM 3.3, where the feature works correctly.

Comment 1 Pavel Novotny 2014-03-20 13:30:00 UTC
Created attachment 876832 [details]
screenshot: cannot add pool

Comment 4 Nikolai Sednev 2014-04-30 13:18:51 UTC
I've done as required bellow:
1. In Webadmin, on the Pools tab, create a new pool with name 'pool-vm??' and 5 VMs, submit the dialog.

And got exactly the expected result:
New pool is created with 5 VMs - pool-vm01 ... pool-vm05.

Tested on host
Red Hat Enterprise Virtualization Hypervisor release 6.5 (20140408.0.el6ev)
And used Red Hat Enterprise Virtualization Hypervisor release 6.5 (20140408.0.el6ev)

Moving to verified.

Comment 5 Itamar Heim 2014-06-12 14:04:40 UTC
Closing as part of 3.4.0


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