Bug 683003

Summary: hostname mismatch cause multihosts job fail
Product: [Retired] Beaker Reporter: Hushan Jia <hjia>
Component: web UIAssignee: Bill Peck <bpeck>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 0.6CC: bpeck, dcallagh, mcsontos, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-24 04:43:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Hushan Jia 2011-03-08 09:33:26 UTC
Description of problem:
Beaker will set environment variables $SERVERS and $CLIENTS when run as multihost jobs, on some machines the two variable is not the same as the hostname shows on beaker page, and of cause different from output of hostname command, thus, the tests will fail.
This happens on hp-dl160g6-01.rhts.eng.bos.redhat.com, with job 
https://beaker.engineering.redhat.com/jobs/59258.
The $SERVERS contains hp-dl160g6-01.eng.bos.redhat.com.

Another mismatch is machines like intel-sugarbay-DH-03.lab.bos.redhat.com, contains capital char, but hostname actually returns intel-sugarbay-dh-03.lab.bos.redhat.com, which is lower case.

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

How reproducible:
on some machines, not sure how many.

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


Expected results:
The hostname should be all same as the DNS hostname.

Additional info:

Comment 1 Bill Peck 2011-03-08 15:15:09 UTC
We can update beaker to store all hostnames as lower case.  dns is case insensitive.

The dns entry should be fixed for hp-dl160g6-01.rhts.eng.bos.redhat.com
I manually changed intel-sugarbay-DH-03.lab.bos.redhat.com to intel-sugarbay-dh-03.lab.bos.redhat.com in beaker.

Comment 2 Bill Peck 2011-03-08 15:16:24 UTC
blocker denied.  Please open a ticket with eng-ops for the dns issue.  Upper case hostname fixed, will update code to prevent new hosts from being entered this way.

Comment 3 Bill Peck 2011-03-08 19:26:17 UTC
pushed to gerrit for review

Comment 4 Hushan Jia 2011-03-09 08:22:45 UTC
thanks for fixing.