Bug 1027715 - RFE: warn user when creating child resource nad it's parent resource is DOWN
RFE: warn user when creating child resource nad it's parent resource is DOWN
Status: NEW
Product: RHQ Project
Classification: Other
Component: Core UI (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
Depends On:
  Show dependency treegraph
Reported: 2013-11-07 05:28 EST by Libor Zoubek
Modified: 2015-11-01 19:45 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Libor Zoubek 2013-11-07 05:28:07 EST
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.