Staging instance, all changes can be removed at any time

Skip to content

Decommission somerset (container on beaubourg)

Antoine R. Dumont requested to merge decommission-somerset into production

As a first step prior to actually decommission it from pergamon.

Plan:

  • Run this puppet plan on somerset
  • Run puppet plan on pergamon
  • Decommission node through pergamon's decommissioning script
  • Run pupplet plan on pergamon (to drop further icinga alerts)
octo-diff somerset
*** Running octocatalog-diff on host somerset.internal.softwareheritage.org
I, [2024-02-20T10:49:22.953069 #2899648]  INFO -- : Catalogs compiled for somerset.internal.softwareheritage.org
I, [2024-02-20T10:49:23.265064 #2899648]  INFO -- : Diffs computed for somerset.internal.softwareheritage.org
diff origin/production/somerset.internal.softwareheritage.org current/somerset.internal.softwareheritage.org
*******************************************
- Anchor[apt_key B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 present]
*******************************************
- Anchor[pgbouncer::begin]
*******************************************
- Anchor[pgbouncer::end]
*******************************************
- Apt::Key[Add key: B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 from Apt::Source pgdg]
*******************************************
- Apt::Setting[list-pgdg]
*******************************************
- Apt::Setting[list-pglogical]
*******************************************
- Apt::Source[pgdg]
*******************************************
- Apt::Source[pglogical]
*******************************************
- Apt_key[Add key: B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 from Apt::Source pgdg]
*******************************************
- Concat::Fragment[/tmp/pgbouncer-paramtmpfile_database]
*******************************************
- Concat::Fragment[/tmp/pgbouncer-paramtmpfile_params]
*******************************************
- Concat::Fragment[/tmp/pgbouncer-paramtmpfile_users]
*******************************************
- Concat::Fragment[_postgres]
*******************************************
- Concat::Fragment[postgres]
*******************************************
- Concat::Fragment[postgres_users]
*******************************************
- Concat[/etc/pgbouncer/pgbouncer.ini]
*******************************************
- Concat[/etc/pgbouncer/userlist.txt]
*******************************************
- Concat_file[/etc/pgbouncer/pgbouncer.ini]
*******************************************
- Concat_file[/etc/pgbouncer/userlist.txt]
*******************************************
- Concat_file[profile::cron::borgmatic]
*******************************************
- Concat_fragment[/tmp/pgbouncer-paramtmpfile_database]
*******************************************
- Concat_fragment[/tmp/pgbouncer-paramtmpfile_params]
*******************************************
- Concat_fragment[/tmp/pgbouncer-paramtmpfile_users]
*******************************************
- Concat_fragment[_postgres]
*******************************************
- Concat_fragment[postgres]
*******************************************
- Concat_fragment[postgres_users]
*******************************************
- Concat_fragment[profile::cron::borgmatic-create]
*******************************************
- Concat_fragment[profile::cron::borgmatic-full]
*******************************************
- Concat_fragment[profile::cron::borgmatic::_header]
*******************************************
- Concat_fragment[profile::cron::restart-sql-exporter]
*******************************************
- Exec[ssh-keygen -t ed25519 -f /root/.ssh/id_ed25519.borg -N '']
*******************************************
- File[/etc/apt/sources.list.d/pgdg.list]
*******************************************
- File[/etc/apt/sources.list.d/pglogical.list]
*******************************************
- File[/etc/borgmatic/config.yaml]
*******************************************
- File[/etc/borgmatic]
*******************************************
- File[/etc/cron.d/puppet-borgmatic]
*******************************************
- File[/etc/default/pgbouncer]
*******************************************
- File[/etc/default/prometheus-sql-exporter]
*******************************************
- File[/etc/prometheus-sql-exporter/activity.yml]
*******************************************
- File[/etc/prometheus-sql-exporter/queries.yml]
*******************************************
- File[/etc/prometheus-sql-exporter/replication.yml]
*******************************************
- File[/etc/prometheus-sql-exporter/swh-indexer.yml]
*******************************************
- File[/etc/prometheus-sql-exporter/wal.yml]
*******************************************
- File[/etc/prometheus-sql-exporter]
*******************************************
- File[/etc/systemd/system/prometheus-sql-exporter.service.d/restart.conf]
*******************************************
- File[/etc/systemd/system/prometheus-sql-exporter.service.d/update_config.conf]
*******************************************
- File[/etc/systemd/system/prometheus-sql-exporter.service.d]
*******************************************
- File[/usr/bin/update-prometheus-sql-exporter-config]
*******************************************
- File[/var/lib/borg]
*******************************************
  Icinga2::Object::Host[somerset.internal.softwareheritage.org] =>
   parameters =>
     vars =>
       load =>
        - high
*******************************************
- Node[__node_regexp__belvederesomersetmassmocaalbertina.internal.softwareheritage.org]
*******************************************
+ Node[default]
*******************************************
- Package[borgbackup]
*******************************************
- Package[borgmatic]
*******************************************
- Package[libyaml-perl]
*******************************************
- Package[pgbouncer]
*******************************************
- Package[postgresql-client-common]
*******************************************
- Package[prometheus-sql-exporter]
*******************************************
- Pgbouncer::Databases[pgbouncer_module_databases]
*******************************************
- Pgbouncer::Userlist[pgbouncer_module_userlist]
*******************************************
- Profile::Cron::D[borgmatic-create]
*******************************************
- Profile::Cron::D[borgmatic-full]
*******************************************
- Profile::Cron::D[restart-sql-exporter]
*******************************************
- Profile::Cron::File[borgmatic]
*******************************************
- Profile::Prometheus::Export_scrape_config[sql]
*******************************************
- Service[pgbouncer]
*******************************************
- Service[prometheus-sql-exporter]
*******************************************
- Systemd::Dropin_file[prometheus-sql-exporter/restart.conf]
*******************************************
- Systemd::Dropin_file[prometheus-sql-exporter/update_config.conf]
*******************************************
*** End octocatalog-diff on somerset.internal.softwareheritage.org
Refs. swh/infra/sysadm-environment#5251 (closed)

Merge request reports

Loading