From 716014bcf98e071664f61f67c5ee8fba94555177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Thu, 9 Apr 2020 17:00:24 -0400 Subject: [PATCH] document ganeti retirement procedure and fix retire-all call --- tsa/howto/retire-a-host.mdwn | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tsa/howto/retire-a-host.mdwn b/tsa/howto/retire-a-host.mdwn index 2d08c627..916bb123 100644 --- a/tsa/howto/retire-a-host.mdwn +++ b/tsa/howto/retire-a-host.mdwn @@ -175,9 +175,12 @@ When you return: 4. after a delay, retire the host from its parent, backups and Puppet, for example: - ./retire -v -H kvmX.torproject.org retire-all test.torproject.org + ./retire -v -H $INSTANCE retire-all --parent-host=$PARENT_HOST - TODO: cover physical machines and ganeti + TODO: `$PARENT_HOST` should be some ganeti node + (e.g. `fsn-node-01.torproject.org`) but could be auto-detected... + + TODO: cover physical machines 5. remove from LDAP with `ldapvi` (STEP 6 above) TODO: add to Fabric, make sure you show the diff 6. do one huge power-grep over all our source code, for example with -- GitLab