Bug 1308603

Summary: A server can be created with a non existing server group
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: oarribas <oarribas>
Component: Domain ManagementAssignee: Chao Wang <chaowan>
Status: CLOSED WONTFIX QA Contact: Martin Simka <msimka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: brian.stansberry, chaowan, dandread
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-05 08:39:01 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:

Description oarribas 2016-02-15 15:19:18 UTC
Description of problem:
In domain mode, using CLI, a server with a non existing server group can be created


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


How reproducible:
Allways


Steps to Reproduce:
1. Run a JBoss EAP domain
2. Connect to the domain through CLI
3. /host=master/server-config=my-server:add(group=non_existing_group,auto-start=false)

Actual results:
A server was created

Expected results:
Some error with info about a server needs a valid server group

Additional info:
The group attribute can't be null, but a nonexistent group name can be used.