Closed
Bug 523953
Opened 17 years ago
Closed 17 years ago
mac machines not getting the same hostname every time
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: dmoore)
References
Details
As part of bug 522727 I noticed that our moz2-darwin9-slaveNN machines aren't getting a consistent hostname every time they boot up. Sometimes it's moz2-darwin9-slaveNN.build.mozilla.org, which is what we want, and sometimes it's moz2-darwin9-slaveNN.local or just simply 'localhost', which is undesirable. Puppet requires the hostname to be the same every time, so we'd like to get this fixed.
I haven't seen try machines (try-mac-slaveNN) or bm-xserveNN machines with this issue.
Comment 1•17 years ago
|
||
bhearsum: which 3 slaves did you see this problem on? Maybe its a manual error in their DNS ?
| Reporter | ||
Comment 2•17 years ago
|
||
(In reply to comment #1)
> bhearsum: which 3 slaves did you see this problem on? Maybe its a manual error
> in their DNS ?
moz2-darwin9-slave09 and moz2-darwin9-slave12 at least. It's occurred on at least one other one, too.
It seems unlikely it's a typo or other "manual error", since these machines get the full name sometimes.
Updated•17 years ago
|
Assignee: server-ops → dmoore
| Reporter | ||
Comment 3•17 years ago
|
||
Looks like this isn't limited to minis after all, bm-xserve18 hit it overnight.
| Reporter | ||
Comment 4•17 years ago
|
||
Gentle ping...any idea what's going on here?
Comment 5•17 years ago
|
||
We did talk about this yesterday.
Way back when, we statically set the hostnames (scutil --set HostName <>). The suspicion is that OSX isn't waiting long enough for dhcp/dns and just sets the hostname.
Can we try static?
| Reporter | ||
Comment 6•17 years ago
|
||
(In reply to comment #5)
> We did talk about this yesterday.
>
> Way back when, we statically set the hostnames (scutil --set HostName <>). The
> suspicion is that OSX isn't waiting long enough for dhcp/dns and just sets the
> hostname.
>
> Can we try static?
Sounds reasonable.
Comment 7•17 years ago
|
||
who's going to do that? the command syntax is:
scutil --set HostName <hostname>
| Reporter | ||
Comment 8•17 years ago
|
||
I'll do it next week. Phong, can you make sure you statically the hostnames on any future Mac machines?
| Reporter | ||
Comment 9•17 years ago
|
||
I ran:
sudo scutil --set HostName `hostname` on all of the Puppet managed xserves and minis after checking that 'hostname' returns the full, .build.mozilla.org hostname.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•