Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1078875

Summary: Cannot create pool with pattern-based naming scheme for VMs
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavel Novotny <pnovotny>
Component: ovirt-engine-webadmin-portalAssignee: Arik <ahadas>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acathrow, ecohen, gklein, iheim, mavital, ofrenkel, Rhev-m-bugs, sherold, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: org.ovirt.engine-root-3.4.0-14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-12 14:04:40 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:
Attachments:
Description Flags
screenshot: cannot add pool none

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