Page MenuHomePhabricator

Update grid-configurator to keep tools-checker nodes submit nodes
Closed, ResolvedPublic

Description

Since the checkers were trusty-focused, they were missed in the semi-automation of the grid.

Add tools-checker nodes to the submit node type list in the script in the sonofgridengine module and make sure it all works right.

Event Timeline

Bstorm triaged this task as High priority.Apr 1 2019, 5:25 PM
Bstorm created this task.

Change 500521 had a related patch set uploaded (by Bstorm; owner: Bstorm):
[operations/puppet@production] sonofgridengine: make tools-checker hosts submit hosts

https://gerrit.wikimedia.org/r/500521

Change 500521 merged by Bstorm:
[operations/puppet@production] sonofgridengine: make tools-checker hosts submit hosts

https://gerrit.wikimedia.org/r/500521

hmmm.
Before:

bstorm@tools-sgegrid-master:~$ sudo grid-configurator --all-domains --dry-run
2019-04-01 18:59:29,563 INFO Would delete exec host: qconf -de tools-sssd-sgeexec-test-1.tools.eqiad.wmflabs
2019-04-01 18:59:29,563 INFO Would delete exec host: qconf -de tools-sssd-sgeexec-test-2.tools.eqiad.wmflabs
2019-04-01 18:59:29,576 INFO Would delete submit host: qconf -ds tools-checker-03.tools.eqiad.wmflabs

After:

bstorm@tools-sgegrid-master:~$ sudo grid-configurator --all-domains --dry-run
2019-04-01 19:05:50,038 INFO Would delete exec host: qconf -de tools-sssd-sgeexec-test-1.tools.eqiad.wmflabs
2019-04-01 19:05:50,039 INFO Would delete exec host: qconf -de tools-sssd-sgeexec-test-2.tools.eqiad.wmflabs
2019-04-01 19:05:50,056 INFO Would run: qconf -as tools-checker-01.tools.eqiad.wmflabs
2019-04-01 19:05:50,057 INFO Would run: qconf -as tools-checker-02.tools.eqiad.wmflabs

This incidentally won't work out so nice because those two are not actually something we want connected to the new grid (will cause a segfault).

So I'm going to revert and then resubmit once tools-checker-01 and -02 are down

Change 500535 had a related patch set uploaded (by Bstorm; owner: Bstorm):
[operations/puppet@production] sonofgridengine: make tools-checker hosts submit hosts

https://gerrit.wikimedia.org/r/500535

Change 500535 merged by Bstorm:
[operations/puppet@production] sonofgridengine: make tools-checker hosts submit hosts

https://gerrit.wikimedia.org/r/500535