Bug 813856

Summary: [eap6] mail sessions & mail subsystem not working at all
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: AgentAssignee: Stefan Negrea <snegrea>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 4.4CC: hrupp, snegrea, theute
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-02 03:23:32 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 707223    

Description Libor Zoubek 2012-04-18 11:21:47 EDT
Description of problem:I do not understand how RHQ manages mail subsystem on EAP6. It seems to be completely broken and also the design IMHO does not follow EAP semantics.

In my understanding of EAP6:

There is a mail subsystem on EAP
this mail subsystem can define several child resources = Mail-Session

Each Mail-Session resource can be either smtp-server, pop3-server or imap-server, has JNDI name and outbound-socket-binding-ref, optionally login information, + SSL

Version-Release number of selected component (if applicable):
Version: 4.4.0-SNAPSHOT
Build Number: 0fe1b14
Actual results:

RHQ transforms mail subsystem into this tree:

on -mail level, there is NO way how to add a child resource (Mail-Session)

on --Mail-Session level, there are operations 'Add' and 'Remove'.
'Add' - does not work and does not make sense on this place.
'Remove' - I don not understand, what should be removed, operation succeeds, but nothing happens

on ---Mail-Session-type level - there are operations 'Add' 'Remove' which do nothing too (they succeed without any impact)

Expected results:

I suggest reorganize mail subsystem into simpler structure

--Mail-Session (that would be 3 resource types SMTP/IMAP/POP3)

get rid of operations and replace it by 'Create Child'
get creating/removing child resources work
Comment 1 Stefan Negrea 2012-04-23 11:46:36 EDT
The extra operations have been removed, there should be no operations available for the mail subsystem or children. Create/remove is now handled through Inventory->Child Resources only.

SMTP, IMAP, and POP3 are now sub-resources for Mail-Sessions. These sub-resources are singletons, so it is possible to add only one of each. The creation/removal each of these sub-resources is done through the Child Resources sub-tab of the Mail Session.
Comment 2 Heiko W. Rupp 2013-09-02 03:23:32 EDT
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.