Bug 1072075

Summary: luci mishandling of distro release string leads to dropping some features and parameters
Product: Red Hat Enterprise Linux 5 Reporter: Jan Pokorný [poki] <jpokorny>
Component: congaAssignee: Jan Pokorný [poki] <jpokorny>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: high Docs Contact:
Priority: medium    
Version: 5.11CC: cluster-maint, david.levene, jpokorny, lmiksik, ovasik, rmccabe, rsteiger, sbradley
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: conga-0.12.2-72.el5 Doc Type: Bug Fix
Doc Text:
Cause: Luci not parsing distribution release string from the remote ricci agent Any two-or-more digits minor version in the distribution release string from the remote ricci agent was unexpectedly truncated to the initial digit only by luci. Consequence: The conditional logic based on the distribution release version of the managed node(s) lead to several features being dropped when the remote side uses two-or-more digits minor version of Red Hat Enterprise Linux 5. Specifically, several regressions in configuration items provided in luci might have been introduced when the nodes managed by the unpatched luci were running Red Hat Enterprise Linux 5.10, as this was errorneously understood as 5.1 version in that case. Fix: Luci now parses minor versions correctly, expecting more than single digit number. Result: Luci will not get confused when managing nodes running Red Hat Enterprise Linux 5.10 (or later minor updates).
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-16 05:31:08 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:    
Bug Blocks: 1065263    
Attachments:
Description Flags
proposed patch
none
updated patch (using 1 as rstrip's "maxplit" is enough) none

Description Jan Pokorný [poki] 2014-03-03 20:59:47 UTC
The regression is introduced in 5.10 release, or more specifically,
when talking to el5.10+ ricci.  Due to oversimplification of a way
to parse distro minor version, counting on never exceeding single
digit...

Patch to follow.

Comment 1 Jan Pokorný [poki] 2014-03-03 21:01:33 UTC
Created attachment 870126 [details]
proposed patch

Comment 3 Jan Pokorný [poki] 2014-03-04 15:14:38 UTC
Created attachment 870457 [details]
updated patch (using 1 as rstrip's "maxplit" is enough)

Comment 4 RHEL Program Management 2014-03-07 12:16:33 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in the  last planned RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX. To request that Red Hat re-consider this request, please re-open the bugzilla via  appropriate support channels and provide additional business and/or technical details about its importance to you.

Comment 17 errata-xmlrpc 2014-09-16 05:31:08 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-2014-1194.html