Bug 796798

Summary: [RFE] Make grid persona default for Cumin
Product: Red Hat Enterprise MRG Reporter: Trevor McKay <tmckay>
Component: cuminAssignee: Trevor McKay <tmckay>
Status: CLOSED ERRATA QA Contact: Stanislav Graf <sgraf>
Severity: low Docs Contact:
Priority: medium    
Version: DevelopmentCC: dryan, ltoscano, matt, mkudlej, rrati, sgraf
Target Milestone: 2.3Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cumin-0.1.5251-1 Doc Type: Enhancement
Doc Text:
Cause Majority use of Cumin is in grid deployments but the default installation sets up the console for the "default" persona. Consequence Grid users have extra steps during configuration to switch the persona to "grid". Change Change the default installation to set up the "grid" persona. Allow the persona to be changed to "messaging" by installing the optional cumin-messaging package. Drop support for the "default" persona. Result Cumin will be configured for the "grid" persona during installation. No manual configuration of persona is required. The "messaging" persona may be set by installing the cumin-messaging package.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-06 18:41:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 850563, 754227, 798805, 846010, 865799    

Description Trevor McKay 2012-02-23 16:53:46 UTC
Description of problem:

Cumin currently has 3 different presentations that users can select from (default, messaging, and grid).  Make the grid persona the choice ootb.

Comment 1 Trevor McKay 2012-02-29 22:10:22 UTC
Fixed in revision 5231

Default value for the "persona" parameter has been changed to grid.  Settings for "datas" in standard cumin.conf at installation have also been changed to run the grid cumin-data instances, with comments changed as well.

Comment 2 Trevor McKay 2012-03-01 15:01:44 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
    Majority use of Cumin is in grid deployments but the default installation sets up the console for the "default" persona.

Consequence
    Grid users have extra steps during configuration to switch the persona to "grid".

Change
    Change the default installation to set up the "grid" persona.

Result
    What now happens when the actions or circumstances above occur.
    Note: this is not the same as the feature request was fulfilled.

Comment 3 Trevor McKay 2012-03-01 18:51:14 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -8,5 +8,4 @@
     Change the default installation to set up the "grid" persona.
 
 Result
-    What now happens when the actions or circumstances above occur.
+    The UI presentation and the set of cumin-data instances at runtime will now correspond to the "grid" persona in a default installation.  Users may still choose the "messaging" or "default" persona by editing cumin.conf (the so-called "default" persona contains both messaging and grid UIs)-    Note: this is not the same as the feature request was fulfilled.

Comment 5 Trevor McKay 2012-04-25 20:04:19 UTC
How to test default grid persona on install:

1) Install cumin, condor, and qpid-cpp-server on a clean system.
2) Use an unmodified /etc/cumin/cumin.conf file.
3) start everything up
4) Check for presence of correct cumin-data instances after startup.  Content in /var/log/cumin/master.log should look like this, with these cumin-data instances.

# tail -f /var/log/cumin/master.log 
6934 2012-04-25 15:55:53,649 INFO Started subprocess (pid 6940):  cumin-web --section=web --daemon
6934 2012-04-25 15:55:53,660 INFO Started subprocess (pid 6941):  cumin-data --section=data.grid --daemon
6934 2012-04-25 15:55:53,669 INFO Started subprocess (pid 6942):  cumin-data --section=data.grid-slots --daemon
6934 2012-04-25 15:55:53,681 INFO Started subprocess (pid 6943):  cumin-data --section=data.grid-submissions --daemon
6934 2012-04-25 15:55:53,689 INFO Started subprocess (pid 6944):  cumin-data --section=data.sesame --daemon

5) Create a user and login.  Initial page should be the Administrator->Grid->Overview tab.  Inventory, Your account, and Grid user tabs should also be there with no Messaging.

Comment 10 Stanislav Graf 2013-01-07 12:57:35 UTC
Tested on RHEL 5/6 i386/x86_64
cumin-0.1.5624-1
All works as expected.

--> VERIFIED

Comment 14 errata-xmlrpc 2013-03-06 18:41:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0564.html