Bug 683003 - hostname mismatch cause multihosts job fail
Summary: hostname mismatch cause multihosts job fail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.6
Hardware: Unspecified
OS: Linux
high
high vote
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-08 09:33 UTC by Hushan Jia
Modified: 2019-05-22 13:38 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-24 04:43:15 UTC


Attachments (Terms of Use)

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.


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