Bug 1027715 - RFE: warn user when creating child resource nad it's parent resource is DOWN
Summary: RFE: warn user when creating child resource nad it's parent resource is DOWN
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-07 10:28 UTC by Libor Zoubek
Modified: 2022-03-31 04:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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:


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