Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1200493

Summary: The output of rhq:audit is changed - Date is added to the "info"
Product: [JBoss] JBoss Operations Network Reporter: bkramer <bkramer>
Component: ProvisioningAssignee: Lukas Krejci <lkrejci>
Status: CLOSED ERRATA QA Contact: Matt Mahoney <mmahoney>
Severity: medium Docs Contact:
Priority: urgent    
Version: JON 3.3.0CC: fbrychta, loleary, mmahoney, spinder
Target Milestone: ER01Keywords: Regression, Triaged
Target Release: JON 3.3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-30 16:11:04 UTC Type: Bug
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: 1200498    
Bug Blocks:    
Attachments:
Description Flags
example of the bundle
none
A screen shot that shows an issue
none
POSTINSTLL info none

Description bkramer 2015-03-10 16:33:26 UTC
Created attachment 1000060 [details]
example of the bundle

Description of problem:
In the bundles recipes events are logged like this:

<rhq:audit action="CONF_ITEM" info="PREINSTALL" message="My message - preinstall"></rhq:audit>			

In JBoss ON 3.2 the 'info' field has actual value as defined above (info=PREINSTALL).

In JBoss ON 3.3 a date is added at the end of info so info=PREINSTALLTue Mar 10 16:16:52 GMT 2015

Version-Release number of selected component (if applicable):
JBoss ON 3.3.0

How reproducible:
Always

Steps to Reproduce:
1. Install JBoss ON 3.3.0
2. Create a test group that contains "platform" resources (for instance);
3. Navigate to Bundles and upload a bundle whose recipe contains:
    <rhq:audit action="CONF_ITEM" info="PREINSTALL" message="My message - preinstall"></rhq:audit>
4. Deploy newly uploaded bundle to the resource group (created in step 2)  and define a deployment directory;
5. Navigate to bundle deployment and double click on status to open deployment history
6. Find "CONF_ITEM" action and check it's info

Actual results:
Info: PREINSTALLTue Mar 10 16:16:52 GMT 2015

Expected results:
Info: PREINSTALL

Additional info:
Added a screen shot that shows an issue and bundle example.

Comment 1 bkramer 2015-03-10 16:34:19 UTC
Created attachment 1000062 [details]
A screen shot that shows an issue

Comment 3 Lukas Krejci 2015-03-10 17:50:58 UTC
commit 145ad96ec93d52d40e8e364389975053742a28d5
Author: Lukas Krejci <lkrejci>
Date:   Tue Mar 10 18:38:36 2015 +0100

    [BZ 1200498] Restore the format of ant bundle audit log message
    
    (cherry picked from commit 4c30284446bd9af845de82961479170f43964451)
    Signed-off-by: Lukas Krejci <lkrejci>

Comment 4 Lukas Krejci 2015-03-10 17:52:18 UTC
See BZ 1200498 for the discussion of the problem.

Comment 5 Simeon Pinder 2015-03-27 02:57:41 UTC
Moving to ON_QA as available to test with the following cumulative patch brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=427025

Comment 6 Matt Mahoney 2015-03-30 19:09:38 UTC
Created attachment 1008655 [details]
POSTINSTLL info

Comment 11 Simeon Pinder 2015-04-13 04:14:41 UTC
Moving to ON_QA for testing with latest cumulative patch build:
https://brewweb.devel.redhat.com//buildinfo?buildID=429507

Note: Build maps to JON 3.3.2 ER01 build.

Comment 14 errata-xmlrpc 2015-04-30 16:11:04 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.

https://rhn.redhat.com/errata/RHSA-2015-0920.html