retirement scheduled on dal-node-01 and bacula-director
./retire -v -H tpa-bootstrap-01.torproject.org retire-all --parent-host=dal-node-01.torproject.orgstarting tasks at 2023-05-18 16:58:07.892270+00:00checking for ganeti master on host dal-node-01.torproject.orgganeti node detected with master dal-node-01.torproject.orgchecking on dal-node-01.torproject.org if instance tpa-bootstrap-01.torproject.org is runningstopping instance tpa-bootstrap-01.torproject.org on dal-node-01.torproject.orgWaiting for job 41632 for tpa-bootstrap-01.torproject.org ...scheduling tpa-bootstrap-01.torproject.org instance removal on host dal-node-01.torproject.orgscheduling gnt-instance remove --force tpa-bootstrap-01.torproject.org to run on dal-node-01.torproject.org in 7 dayswarning: commands will be executed using /bin/shjob 2 at Thu May 25 16:58:00 2023scheduling tpa-bootstrap-01.torproject.org backup disks removal on host bungei.torproject.org and director bacula-director-01.torproject.orgchecking for path "/srv/backups/bacula/tpa-bootstrap-01.torproject.org/" on bungei.torproject.orgscheduling rm -rf "/srv/backups/bacula/tpa-bootstrap-01.torproject.org/" to run on bungei.torproject.org in 30 dayswarning: commands will be executed using /bin/shjob 101 at Sat Jun 17 16:58:00 2023checking for path "/srv/backups/pg/tpa-bootstrap-01/" on bungei.torproject.orgpath /srv/backups/pg/tpa-bootstrap-01/ not found: [Errno 2] No such filescheduling echo delete client=tpa-bootstrap-01.torproject.org-fd yes | bconsole to run on bacula-director-01.torproject.org in 30 dayswarning: commands will be executed using /bin/shjob 53 at Sat Jun 17 16:58:00 2023Notice: Revoked certificate with serial 165Notice: Removing file Puppet::SSL::Certificate tpa-bootstrap-01.torproject.org at '/var/lib/puppet/ssl/ca/signed/tpa-bootstrap-01.torproject.org.pem'tpa-bootstrap-01.torproject.orgSubmitted 'deactivate node' for tpa-bootstrap-01.torproject.org with UUID 38b3895c-de73-4b28-96c2-38dedf98e03acompleted tasks, elasped: 0:00:58.467702 (user 5.55 system 0.19 chlduser 0.0 chldsystem 0.0 RSS 54.6 MB)
replace those with dal-rescue.torproject.org. in general, you can use
a formulation like "the rescue host (currently dal-rescue)" or
something to that effect.
...
On 2023-05-18 17:10:11, kezzle wrote:
@anarcat a lot of the docs reference tpa-bootstrap, should i replace those with dal-rescue-01?
grep -nH -r -e 204.8.99.136 -e 2620:7:6002::466:38ff:fe3d:791c -e tpa-bootstrap-01.torproject.org -e tpa-bootstrap-01 -e tpa-bootstrap.torproject.org -e tpa-bootstrapdns/domains/0.0.0.0.2.0.0.6.7.0.0.0.0.2.6.2.ip6.arpa:61:; 2620:7:6002::466:38ff:fe3d:791cdns/domains/0.0.0.0.2.0.0.6.7.0.0.0.0.2.6.2.ip6.arpa:62:c.1.9.7.d.3.e.f.f.f.8.3.6.6.4 IN PTR tpa-bootstrap-01.torproject.orgdns/domains/99.8.204.in-addr.arpa:153:136 IN PTR tpa-bootstrap-01.torproject.org.dns/domains/torproject.org:228:tpa-bootstrap IN CNAME tpa-bootstrap-01grep: letsencrypt-domains/.git/index: binary file matchesletsencrypt-domains/domains:90:tpa-bootstrap.torproject.orgtor-nagios/.git/logs/refs/heads/master:25:10b36ef4b2afc970318a1449c5a1ff2efa2a39f1 fe1ca5364876a3f51ab1c1df6d92e19a09fb25a8 kez <kez@torproject.org> 1684428147 -0700 commit: Remove tpa-bootstrap-01 as part of retirementtor-nagios/.git/logs/HEAD:31:10b36ef4b2afc970318a1449c5a1ff2efa2a39f1 fe1ca5364876a3f51ab1c1df6d92e19a09fb25a8 kez <kez@torproject.org> 1684428147 -0700 commit: Remove tpa-bootstrap-01 as part of retirementtor-nagios/.git/logs/HEAD:33:7412bfe7cb0c66653dd2018e60111e71554c44ea 44432fcf80fe1c9cada6dca15e422c353a03c46c kez <kez@torproject.org> 1684428151 -0700 pull --rebase --autostash (pick): Remove tpa-bootstrap-01 as part of retirementtor-nagios/.git/COMMIT_EDITMSG:1:Remove tpa-bootstrap-01 as part of retirementgrep: tor-puppet/.git/index: binary file matchestor-puppet/modules/profile/manifests/bootstrap.pp:4: String[1] $domain = 'tpa-bootstrap.torproject.org',tor-puppet/modules/profile/manifests/bootstrap.pp:22: content => epp('profile/tpa-bootstrap-vhost.epp', {wiki/howto/ganeti.md:1959: WARNING: Failed to run rename script for tpa-bootstrap-01.torproject.org on node dal-node-02.torproject.org: OS rename script failed (exited with exit code 1), last lines in the log file:\nCannot rename from tpa-bootstrap-01.torproject.org to tpa-bootstrap-01.torproject.org:\nInstance has a different hostname (tpa-bootstrap-01)wiki/howto/quintex.md:178:override in `per-domain-config/tpa-bootstrap.torproject.org` with:wiki/howto/quintex.md:186:<https://tpa-bootstrap.torproject.org/> site already.wiki/howto/quintex.md:213:kernel https://tpa-bootstrap.torproject.org/vmlinuzwiki/howto/quintex.md:214:initrd https://tpa-bootstrap.torproject.org/initrd.imgwiki/howto/quintex.md:215:initrd https://tpa-bootstrap.torproject.org/grml.iso /grml.isowiki/howto/quintex.md:361:chain https://tpa-bootstrap.torproject.org/grml.ipxewiki/policy/tpa-rfc-52-cymru-migration-timeline.md:29: - tpa-bootstrap-01team.wiki/howto/ganeti.md:1976: WARNING: Failed to run rename script for tpa-bootstrap-01.torproject.org on node dal-node-02.torproject.org: OS rename script failed (exited with exit code 1), last lines in the log file:\nCannot rename from tpa-bootstrap-01.torproject.org to tpa-bootstrap-01.torproject.org:\nInstance has a different hostname (tpa-bootstrap-01)team.wiki/howto/quintex.md:165:override in `per-domain-config/tpa-bootstrap.torproject.org` with:team.wiki/howto/quintex.md:173:<https://tpa-bootstrap.torproject.org/> site already.team.wiki/howto/quintex.md:198: kernel https://tpa-bootstrap.torproject.org/vmlinuzteam.wiki/howto/quintex.md:199: initrd https://tpa-bootstrap.torproject.org/initrd.imgteam.wiki/howto/quintex.md:200: initrd https://tpa-bootstrap.torproject.org/grml.iso /grml.isoteam.wiki/howto/quintex.md:341:chain https://tpa-bootstrap.torproject.org/grml.ipxeteam.wiki/policy/tpa-rfc-52-cymru-migration-timeline.md:29: - tpa-bootstrap-01
trying to remove the host fomr tor passwords, i see Warning: the following recipients are invalid: 8C4CD511095E982EB0EFBFA21E8BF34923291265. Try again (or proceed)? [Y/n]. Trying again gives the same error, proceeding causes Error: hosts encrypted to an empty file. Edit again (or exit)? [Y/n]. The recipient in question is linus, who is listed in the tor-passwords .users file and is part of the @admins group in that file.
the last commit that changed the .users file removed a lot of keys from the .keyring file, including linus' key. should linus also be removed from the .users file then? @anarcat
i don't think so. i don't remember removing linus from the file
explicitly and i don't see a justification in the commit logs... maybe
it was a mistake?
i have a valid key for 8C4CD511095E982EB0EFBFA21E8BF34923291265 but
maybe it's invalid in the keyring?
...
On 2023-05-18 19:34:30, kezzle wrote:
kezzle commented:
trying to remove the host fomr tor passwords, i see Warning: the following recipients are invalid: 8C4CD511095E982EB0EFBFA21E8BF34923291265. Try again (or proceed)? [Y/n]. Trying again gives the same error, proceeding causes Error: hosts encrypted to an empty file. Edit again (or exit)? [Y/n]. The recipient in question is linus, who is listed in the tor-passwords .users file and is part of the @admins group in that file.
the last commit that changed the .users file removed a lot of keys from the .keyring file, including linus' key. should linus also be removed from the .users file then? @anarcat
that key is not rexpired, that's the creation date. That said, if you
show that key in "verbose" mode, you'll see that linus's encryption
key indeed did expire:
So yeah, either kick him out of the users file, or haggle @linus to
update his darn key. :) I couldn't find an updated version on
keys.openpgp.org myself.