Bug 550126

Summary: Piranha fails to parse load average with "load_monitor = ruptime"
Product: Red Hat Enterprise Linux 5 Reporter: Olivier Fourdan <ofourdan>
Component: piranhaAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4CC: cluster-maint, cward, djansa, fnadge, jwest, kem
Target Milestone: rcKeywords: OtherQA, Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: piranha-0.8.4-19.el5 Doc Type: Bug Fix
Doc Text:
Previously, the pulse daemon failed to parse the load average using "load_monitor = ruptime". With this update, pulse parses the load average correctly.
Story Points: ---
Clone Of:
: 557162 (view as bug list) Environment:
Last Closed: 2011-01-13 18:23:05 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 557162    
Description Flags
Proposed patch none

Description Olivier Fourdan 2009-12-23 12:03:26 EST
Created attachment 380059 [details]
Proposed patch

Description of problem:

When load_monitor = ruptime is used, nanny seems to throw or fill the syslog's with "bad load average returned" messages.

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


How reproducible:


Steps to Reproduce:

configure LVS to use ruptime for load monitoring
Actual results:

nanny seems to consider the output returned as bad. It may affect the LVS routing table while adjusting the weight factor for each server

Expected results:

nanny should be able to use "ruptime" properly so that it can adjust the weight factor

Additional info:

Attaching patch proposed by Ranjith Rajaram - Our customer has tried the patch. and the weight seems to be adjusted.
Comment 1 Marek Grac 2010-01-20 11:11:02 EST
Thanks, patch is in now part of upstream. 

@test: test with load_monitor=ruptime / load_monitor=ssh

Fixed in upstream:

Comment 6 Marek Grac 2010-12-01 07:34:25 EST
requiring: Running piranha environment

in /etc/sysconfig/ha/lvs.cf:

change "load_monitor = ruptime"

if there are no error messages and load-balancing is working then piranha works
Comment 7 Florian Nadge 2011-01-03 04:46:27 EST
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    New Contents:
Previously, the pulse daemon failed to parse the load average using "load_monitor = ruptime". With this update, pulse parses the load average correctly.
Comment 10 errata-xmlrpc 2011-01-13 18:23:05 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.