Bug 1027715

Summary: RFE: warn user when creating child resource nad it's parent resource is DOWN
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: Core UIAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.9CC: hrupp, theute
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: 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:

Description Libor Zoubek 2013-11-07 10:28:07 UTC
Description of problem:

Currenly, RHQ allows user to create child resource when parent resoruce is DOWN. For examle you can create JVM Definition on AS7 Managed Server resource when it is DOWN (stopped) It was originallly part of Bug 1018259. But, if you create such resource and it succeeds your child resource will not be discovered, because we don't run discovery on DOWN resources.

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

How reproducible: always


Steps to Reproduce:
1. have stopped AS7 Managed server
2. create JVM Definition child resource for it

Actual results: 

Child resource creation is reported as success in history, but resource is not discovered


Expected results: 

We should warn user, so he does not expect his new resource to get discovered and encourage him to turn his parent resource UP. But, when he turns his parent UP his child won't be discovered instantly, because we don't run service scan right up on avail change goes UP. So he'd have to start it manually.

Or we may just disallow creating children on DOWN parent.

Additional info: