Bug 773075

Summary: rteval does not propagate parameter changes to cyclictest object
Product: Red Hat Enterprise MRG Reporter: Clark Williams <williams>
Component: realtime-utilitiesAssignee: Clark Williams <williams>
Status: CLOSED ERRATA QA Contact: David Sommerseth <davids>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1CC: bhu, lgoncalv, ovasik
Target Milestone: 2.1.5   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
* Cause: upper level logic did not correctly pass the 'numanodes' parameter to the cyclictest child process * Consequence: cyclictest always ran with the --smp option rather than --numa on appropriate systems * Fix: store the value of 'numanode' in the parameter block passed to the cyclictest child process * Result: cyclictest uses the correct option when starting measurement threads
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-18 19:33:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
code to merge parameter values into cyclictest section of configs none

Description Clark Williams 2012-01-10 20:51:32 UTC
Created attachment 551934 [details]
code to merge parameter values into cyclictest section of configs

Description of problem:
When runnning rteval on a numa system, the cyclictest command line does not include --numa but uses --smp. This is because the parameter 'numnumanodes' is not properly merged into the cyclictest config section before running cyclictest. 

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

How reproducible:
always

Steps to Reproduce:
1. install MRG-RT with rteval on a numa system
2. run rteval
3. check the cyclictest command line for --smp option

Actual results:
cyclictest run with --smp option

Expected results:
cyclictest run with --numa option

Comment 3 David Sommerseth 2012-04-02 20:45:04 UTC
Verified by testing rteval-1.33-1.el6rt and rteval-1.34-1.el6rt.

rteval-1.33 used --smp on a NUMA system, while 1.34 used --numa.

-> VERIFIED

Comment 4 Clark Williams 2012-04-09 21:05:01 UTC
    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:
* Cause: upper level logic did not correctly pass the 'numanodes' parameter to the cyclictest child process
* Consequence: cyclictest always ran with the --smp option rather than --numa on appropriate systems
* Fix: store the value of 'numanode' in the parameter block passed to the cyclictest child process
* Result: cyclictest uses the correct option when starting measurement threads

Comment 5 errata-xmlrpc 2012-04-18 19:33:47 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/RHBA-2012-0495.html