batch generate new hostnames, and pre-load them into systems

RESOLVED FIXED

Status

Release Engineering
Buildduty
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: hwine, Assigned: hwine)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [reit])

Attachments

(4 attachments)

(Assignee)

Description

5 years ago
We want to pre-complete all the paperwork to deploy the newly imaged machines in one go, to avoid the overhead of updates for each small batch.

There are at least 2 sets of such data:
 IT - DNS, etc
 RelEng - slavealloc, etc.

Feel free to open blocking bugs if you want for these, or we can just use this one. RelEng needs the hostnames before we can begin our part.
(Assignee)

Updated

5 years ago
Whiteboard: [reit]
(Assignee)

Comment 1

5 years ago
per MaRu in #infra, hostnames for first 10 (bug 780022 comment #4) will be:
 w64-ix-slave[101-110]
(Assignee)

Comment 2

5 years ago
Created attachment 654462 [details]
slave alloc load for 101-110

Slave alloc load for first 10 boxes
Attachment #654462 - Flags: review?
(Assignee)

Comment 3

5 years ago
Created attachment 654463 [details] [diff] [review]
buildbot master load for 101-110
Attachment #654463 - Flags: review?

Comment 4

5 years ago
Hal, you asked in your email how to add slaves in a disabled state, can't you just add them like this

name, basedir, distro, bitlength, purpose, datacenter, trustlevel, speed, environment, pool,enabled
w64-ix-slave101,e:\builds\moz2_slave,win2k8,64,build,scl1,core,ix,prod,build-scl1,0
w64-ix-slave102,e:\builds\moz2_slave,win2k8,64,build,scl1,core,ix,prod,build-scl1,0
w64-ix-slave103,e:\builds\moz2_slave,win2k8,64,build,scl1,core,ix,prod,build-scl1,0
w64-ix-slave104,e:\builds\moz2_slave,win2k8,64,build,scl1,core,ix,prod,build-scl1,0
w64-ix-slave105,e:\builds\moz2_slave,win2k8,64,build,scl1,core,ix,prod,build-scl1,0
w64-ix-slave106,e:\builds\moz2_slave,win2k8,64,build,scl1,core,ix,prod,build-scl1,0
w64-ix-slave107,e:\builds\moz2_slave,win2k8,64,build,scl1,core,ix,prod,build-scl1,0
w64-ix-slave108,e:\builds\moz2_slave,win2k8,64,build,scl1,core,ix,prod,build-scl1,0
w64-ix-slave109,e:\builds\moz2_slave,win2k8,64,build,scl1,core,ix,prod,build-scl1,0
w64-ix-slave110,e:\builds\moz2_slave,win2k8,64,build,scl1,core,ix,prod,build-scl1,0
that will work, yes
Hal, you don't sepcify which hosts you're refering to in this bug, but based on comment 4, I'm taking this to mean the linux nodes we are reimaging as part of bug

dns, inventory, dhcp, nagios are all complete, passing this off to the releng queue since the IT work on getting the info staged is done.
Assignee: server-ops-releng → nobody
Component: Server Operations: RelEng → Release Engineering: Machine Management
QA Contact: arich → armenzg
Attachment #654463 - Flags: review? → review+
Attachment #654462 - Attachment mime type: text/csv → text/plain
Attachment #654462 - Flags: review? → review+
(Assignee)

Comment 7

5 years ago
(In reply to Amy Rich [:arich] [:arr] from comment #6)
> Hal, you don't sepcify which hosts you're refering to in this bug, but based
> on comment 4, I'm taking this to mean the linux nodes we are reimaging as
> part of bug

Amy - sorry I wasn't clearer - I meant all the scl1 linux boxes listed in bug 780022. atm, we only have info for 1st 10, so need for the rest of the machines.
We just keep going sequentially, so if you want to pre-load things for the releng side, add up to w64-ix-slave183 to account for all of the linux 32 and 64 bit scl1 builder machines.  

We can't change inventory until we're ready to move machines since DHCP for the linux boxes is generated from inventory and that would break the remaining linux machines in production.
(Assignee)

Comment 9

5 years ago
(In reply to Kim Moir [:kmoir] from comment #4)
> Hal, you asked in your email how to add slaves in a disabled state, can't
> you just add them like this
> 
> name, basedir, distro, bitlength, purpose, datacenter, trustlevel, speed,
> environment, pool,enabled
> w64-ix-slave101,e:\builds\moz2_slave,win2k8,64,build,scl1,core,ix,prod,build-scl1,0

Only in my dreams: bug 748970. For now, such a column is silently ignored
(Assignee)

Comment 10

5 years ago
Comment on attachment 654462 [details]
slave alloc load for 101-110

deployed on slavealloc:
    [slavealloc@slavealloc ~]$ /tools/slavealloc/bin/slavealloc dbimport -D mysql: --slave-data bz784850_01.csv 
    [slavealloc@slavealloc ~]$ date
    Fri Aug 24 08:54:12 PDT 2012
In production.
(Assignee)

Comment 12

5 years ago
Comment on attachment 654463 [details] [diff] [review]
buildbot master load for 101-110

http://hg.mozilla.org/build/buildbot-configs/rev/c69b3f23974b
Attachment #654463 - Flags: checked-in+
(Assignee)

Updated

5 years ago
Assignee: nobody → hwine
Status: NEW → ASSIGNED
(Assignee)

Comment 13

5 years ago
Created attachment 657483 [details]
slave alloc load for w64-ix-slave 87-100
Attachment #657483 - Flags: review?
(Assignee)

Comment 14

5 years ago
Created attachment 657484 [details]
buildbot master load for w64-ix-slave 87-100

prepare for new w64 builders from bug 774829
Attachment #657484 - Flags: review?

Updated

5 years ago
Attachment #657483 - Flags: review? → review+
(Assignee)

Updated

5 years ago
Attachment #657483 - Attachment mime type: text/csv → text/plain

Comment 15

5 years ago
Comment on attachment 657484 [details]
buildbot master load for w64-ix-slave 87-100

r=me with the closing parens after range(64,100)
Attachment #657484 - Flags: review? → review+
(Assignee)

Comment 16

5 years ago
Comment on attachment 657484 [details]
buildbot master load for w64-ix-slave 87-100

http://hg.mozilla.org/build/buildbot-configs/rev/a6480010748d
Attachment #657484 - Flags: checked-in+
(Assignee)

Comment 17

5 years ago
Comment on attachment 657483 [details]
slave alloc load for w64-ix-slave 87-100

deployed in slavealloc. Note: header line needed to have spaces removed
Attachment #657483 - Flags: checked-in+
Comment on attachment 657484 [details]
buildbot master load for w64-ix-slave 87-100

This is in production now.
(Assignee)

Updated

4 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.