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

Bug 1152012

Summary: [linearstore] missing journal id in "trace Mgmt create journal." log
Product: Red Hat Enterprise MRG Reporter: Pavel Moravec <pmoravec>
Component: qpid-cppAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Jiri Prajzner <jprajzne>
Severity: low Docs Contact:
Priority: low    
Version: 3.0CC: jprajzne, jross, zkraus
Target Milestone: 3.2   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: qpid-cpp-0.32-1 Doc Type: Bug Fix
Doc Text:
It was discovered that the broker log did not initially log the journal ID in the log entry. While the journal ID in the relevant QMF object was confirmed to be set properly after the fact, the log was not indicating this was the case. A fix to how the log entry is created now correctly inserts the journal name.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-08 13:09:27 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:

Description Pavel Moravec 2014-10-13 10:58:14 UTC
Description of problem:
When creating a journal in linearstore, broker logs:

2014-10-13 10:35:32 [Model] trace Mgmt create journal. id:

without the queue name as expected id.

The journal name / id in the relevant QMF object is set properly later on (see qpid-tool -> list journal), it is just missing in the trace log.


Version-Release number of selected component (if applicable):
qpid-cpp 0.22-49


How reproducible:
100%


Steps to Reproduce:
1. qpidd --log-enable=trace+:qmf::org::apache::qpid::linearstore::Journal::Journal

2. (in 2nd terminal) qpid-config add queue Durable --durable

3. (in 1st terminal): check output; restart broker & check output


Actual results:
2014-10-13 12:55:28 [Model] trace Mgmt create journal. id:

(without "Durable" as the id)
(both when created via qpid-config and after restart)


Expected results:
2014-10-13 12:55:28 [Model] trace Mgmt create journal. id:Durable

(both when created via qpid-config and after restart)


Additional info:

Comment 1 Pavel Moravec 2014-10-13 12:25:16 UTC
Committed revision 1631360.

Comment 3 Jiri Prajzner 2015-07-23 12:56:10 UTC
List of installed packages:
yum list installed "*qpid*"
qpid-cpp-client.x86_640.34-1.el7
qpid-cpp-client-devel.x86_64 0.34-1.el7
qpid-cpp-client-devel-docs.noarch 0.34-1.el7
qpid-cpp-client-rdma.x86_64 0.34-1.el7
qpid-cpp-debuginfo.x86_64 0.34-1.el7
qpid-cpp-server.x86_64 0.34-1.el7
qpid-cpp-server-devel.x86_64 0.34-1.el7
qpid-cpp-server-ha.x86_64 0.34-1.el7
qpid-cpp-server-linearstore.x86_64 0.34-1.el7
qpid-cpp-server-rdma.x86_64 0.34-1.el7
qpid-qmf.x86_64 0.34-1.el7
qpid-qmf-debuginfo.x86_64 0.34-1.el7
qpid-qmf-devel.x86_64 0.34-1.el7
qpid-tools.noarch 0.34-1.el7

Platforms:
i686, x86_64

RHELs:
6.7, 7.1

Comment 4 Jiri Prajzner 2015-08-18 10:12:00 UTC
tested with version 0.32

Comment 6 errata-xmlrpc 2015-10-08 13:09:27 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/RHEA-2015-1879.html