Bug 686702

Summary: spacewalk-koan is unable to determine ip-address if $LANG!=C
Product: Red Hat Satellite 5 Reporter: Andreas Bleischwitz <ableisch>
Component: ProvisioningAssignee: Tomas Lestach <tlestach>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-26 15:30:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 462714    

Description Andreas Bleischwitz 2011-03-15 14:34:06 UTC
Description of problem:
Repovisioning a system using "Advanced Configuration" and selecting "Network Connection: static - eth0" leads to an error on the system to be provisioned.

Version-Release number of selected component (if applicable):
spacewalk-koan-0.2.7-7-el6sat.noarch

How reproducible:
Schedule a re-provisioning of a system, use static network connection with any NIC-device, call rhn_check -vv on the system to be provisioned.

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Provisioning fails

Expected results:
Provisioning is done

Additional info:
"ifconfig | perl ..." is called in /usr/share/rhn/spacewalkkoan/spacewalkkoan.py where a grep of "Mask:" and "inet addr:" is done. These labels are different in other languages. Prepending "LC_ALL=C" before calling "ifconfig |perl" f.e. "LC_ALL=C ifconfig |perl" fixes that behavior.

Comment 1 Andreas Bleischwitz 2011-09-26 15:30:26 UTC

*** This bug has been marked as a duplicate of bug 736066 ***