Bug 1072075 - luci mishandling of distro release string leads to dropping some features and parameters
Summary: luci mishandling of distro release string leads to dropping some features and...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: conga
Version: 5.11
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: ---
Assignee: Jan Pokorný [poki]
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks: 1065263
TreeView+ depends on / blocked
 
Reported: 2014-03-03 20:59 UTC by Jan Pokorný [poki]
Modified: 2018-12-09 17:36 UTC (History)
8 users (show)

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).
Clone Of:
Environment:
Last Closed: 2014-09-16 05:31:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed patch (1.36 KB, patch)
2014-03-03 21:01 UTC, Jan Pokorný [poki]
no flags Details | Diff
updated patch (using 1 as rstrip's "maxplit" is enough) (1.36 KB, patch)
2014-03-04 15:14 UTC, Jan Pokorný [poki]
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 742573 0 None None None Never
Red Hat Product Errata RHSA-2014:1194 0 normal SHIPPED_LIVE Moderate: conga security and bug fix update 2014-09-16 09:28:53 UTC

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


Note You need to log in before you can comment on or make changes to this bug.