Bug 2110577

Summary: logconv.pl - "Connection Latency Details" has different results with options -y and -V.
Product: Red Hat Directory Server Reporter: Têko Mihinto <tmihinto>
Component: Command Line UtilitiesAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 11.4CC: bsmejkal, idm-ds-dev-bugs, mreynolds, pasik, vashirov
Target Milestone: ---Keywords: Triaged
Target Release: dirsrv-11.7   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: redhat-ds-11-8080020221130182235.022a399e Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-23 09:27:55 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 Têko Mihinto 2022-07-25 16:30:29 UTC
Description of problem:
The information displayed by logconv.pl for the section "Connection Latency Details"
can be different depending of the selected option ( -V or -y ).

Version-Release number of selected component (if applicable):
$ cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.5 (Ootpa)
$
$ rpm -qa | grep 389-ds-base-1 
389-ds-base-1.4.3.27-2.module+el8dsrv+12690+c6df6d1b.x86_64
$

How reproducible:
Always on RHEL 8.5 ( RHDS 11.4 )

Steps to Reproduce:
1. Run logconv.pl with the option -V:
$ logconv.pl -V access > access_V_conv.txt

2. Run logconv.pl with the option -y
$ logconv.pl -y access > access_y_conv.txt

3. Check both result files:

# grep -A 5 "Connection Latency Details" access_*
access_V_conv.txt:----- Connection Latency Details -----
access_V_conv.txt-
access_V_conv.txt- (in seconds)		<=1	2	3	4-5	6-10	11-15	>15
access_V_conv.txt- --------------------------------------------------------------------------
access_V_conv.txt- (# of connections)	2	51	
access_V_conv.txt-
--
access_y_conv.txt:----- Connection Latency Details -----
access_y_conv.txt-
access_y_conv.txt- (in seconds)		<=1	2	3	4-5	6-10	11-15	>15
access_y_conv.txt- --------------------------------------------------------------------------
access_y_conv.txt- (# of connections)	53	
access_y_conv.txt-Cleaning up temp files...


Actual results:
Discrepancies in the results.

Expected results:
Results should be identical.

Additional info:

Cannot reproduce on RHEL 8.6 ( RHDS 11.5 ) so far.

Comment 4 Viktor Ashirov 2023-02-16 09:53:47 UTC
Build tested:
389-ds-base-1.4.3.32-4.module+el8dsrv+17818+dcb7ba9a.x86_64

# grep -A 5 "Connection Latency Details" access_*
access_V.txt:----- Connection Latency Details -----
access_V.txt-
access_V.txt- (in seconds)              <=1     2       3       4-5     6-10    11-15   >15
access_V.txt- --------------------------------------------------------------------------
access_V.txt- (# of connections)        4842    0       0       10      1078    3       1437
access_V.txt-
--
access_y.txt:----- Connection Latency Details -----
access_y.txt-
access_y.txt- (in seconds)              <=1     2       3       4-5     6-10    11-15   >15
access_y.txt- --------------------------------------------------------------------------
access_y.txt- (# of connections)        4842    0       0       10      1078    3       1437
access_y.txt-Cleaning up temp files...

Latency Details information is identical in both modes, marking as VERIFIED.

Comment 6 errata-xmlrpc 2023-05-23 09:27:55 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 (redhat-ds:11 bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2023:3267