Red Hat Bugzilla – Bug 1027715
RFE: warn user when creating child resource nad it's parent resource is DOWN
Last modified: 2015-11-01 19:45:51 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):
How reproducible: always
Steps to Reproduce:
1. have stopped AS7 Managed server
2. create JVM Definition child resource for it
Child resource creation is reported as success in history, but resource is not discovered
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.