Closed Bug 656245 Opened 15 years ago Closed 15 years ago

Make sure that all dev/pp slaves are listed in staging.pp

Categories

(Release Engineering :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: rail)

Details

(Whiteboard: [puppet][buildslaves])

Attachments

(2 files, 1 obsolete file)

While playing with puppet master today I realized that some of the servers listed as "dev/pp" are connected to production-puppet master and not listed in staging.pp. Actually the host I was playing with were old preproduction machines which were supposed to behave like production ones. ATM we use dev machines for both dev and pp, so it would be great to sync the list.
The list of slaves listed in slavealloc as dev/pp but not listed in staging.pp: 1) Old preproduction slaves (*10). They should be listed in staging.pp (at least builders) to pick up a proper config for purge_builds.py. moz2-darwin10-slave10 moz2-darwin9-slave10 moz2-linux-slave10 moz2-linux64-slave10 talos-r3-fed-010 talos-r3-fed64-010 talos-r3-leopard-010 talos-r3-snow-010 2) linux64-ix. 01, 02 numbers looks like good candidates for staging, 37 as a testing before to move back to production. linux64-ix-slave01 linux64-ix-slave02 linux64-ix-slave37 3) random? testing before moving to production? talos-r3-snow-003 bm-xserve21 linux-hgwriter-slave01 linux-hgwriter-slave02 linux-hgwriter-slave03 linux-hgwriter-slave04 I know what to do with 1) (see the patch), but not sure what to do with 2) and 3).
Assignee: nobody → rail
Attachment #531881 - Flags: review?(dustin)
Attachment #531881 - Flags: review?(dustin) → review+
Attachment #531881 - Flags: checked-in+
Attached patch Use ${level} (obsolete) — Splinter Review
Hmm, looks like I missed two things. 1) I shouldn't have removed the hosts from mpt-production.pp. I should have changed "inherits". It's needed the first time to distribute proper puppet cofigs. 2) Looks like it's better to use ${level} as a file extension, because ${configExt} is used only once. To be tested.
Attachment #531996 - Flags: feedback?(dustin)
(In reply to comment #4) > Created attachment 531996 [details] [diff] [review] [review] > Use ${level} > > Hmm, looks like I missed two things. > > 1) I shouldn't have removed the hosts from mpt-production.pp. I should have > changed "inherits". It's needed the first time to distribute proper puppet > cofigs. Meh, I've never seen this work correctly, but yes. > 2) Looks like it's better to use ${level} as a file extension, because > ${configExt} is used only once. Makes sense to me
Attachment #531996 - Flags: feedback?(dustin) → feedback+
Attached patch Use ${level}Splinter Review
Tested in staging. I only added a dot before ${level} First time setup by puppet + automatic reboot seen as well.
Attachment #531996 - Attachment is obsolete: true
Attachment #532562 - Flags: review?(dustin)
Priority: -- → P2
Attachment #532562 - Flags: review?(dustin) → review+
Deployed the changes on all masters. The following slaves are still not listed in staging.pp: 2) linux64-ix. 01, 02 numbers looks like good candidates for staging, 37 as a testing before to move back to production. linux64-ix-slave01 linux64-ix-slave02 linux64-ix-slave37 3) random? testing before moving to production? talos-r3-snow-003 bm-xserve21 linux-hgwriter-slave01 linux-hgwriter-slave02 linux-hgwriter-slave03 linux-hgwriter-slave04
Status: NEW → RESOLVED
Closed: 15 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.

Attachment

General

Created:
Updated:
Size: