No longer used so stop using those.
Plan:
- D7556: Drop terraform definition
- Drop nodes [1]
- Decomission node from puppet on pergamon [2]
- rSPSITE179ffeb0dc58c85f2e1962885e835284ee918fb9: Make sure no left-over is defined in puppet manifest
[1] uffizi is the hypervisor hosting the vm to drop:
root@uffizi# for vmid in 114 134 135; do qm stop $vmid; qm destroy $vmid done
[2]
root@pergamon:~# puppet cert list -a | grep poc Warning: `puppet cert` is deprecated and will be removed in a future release. (location: /usr/lib/ruby/vendor_ruby/puppet/application.rb:370:in `run') + "poc-rancher-sw0.internal.staging.swh.network" (SHA256) 01:EC:3D:BA:F0:1F:66:F4:76:CE:C1:4B:9C:35:6B:0E:F6:29:F1:F9:52:26:17:19:85:CA:E2:21:08:E9:1B:D6 + "poc-rancher-sw1.internal.staging.swh.network" (SHA256) C9:86:67:A4:9B:32:14:E1:71:BF:37:B7:E7:C9:D2:EB:67:90:11:DB:74:61:2C:AD:FB:A1:3B:93:ED:34:36:E9 root@pergamon:~# swh-puppet-master-decommission poc-rancher-sw0.internal.staging.swh.network + puppet node deactivate poc-rancher-sw0.internal.staging.swh.network Submitted 'deactivate node' for poc-rancher-sw0.internal.staging.swh.network with UUID f37fcec5-8e7e-438e-af53-4d44f759a136 + puppet node clean poc-rancher-sw0.internal.staging.swh.network Notice: Revoked certificate with serial 279 Notice: Removing file Puppet::SSL::Certificate poc-rancher-sw0.internal.staging.swh.network at '/var/lib/puppet/ssl/ca/signed/poc-rancher-sw0.internal.staging.swh.network.pem' poc-rancher-sw0.internal.staging.swh.network + puppet cert clean poc-rancher-sw0.internal.staging.swh.network Warning: `puppet cert` is deprecated and will be removed in a future release. (location: /usr/lib/ruby/vendor_ruby/puppet/application.rb:370:in `run') Notice: Revoked certificate with serial 278 Notice: Revoked certificate with serial 279 + systemctl restart apache2 root@pergamon:~# swh-puppet-master-decommission poc-rancher-sw1.internal.staging.swh.network + puppet node deactivate poc-rancher-sw1.internal.staging.swh.network Submitted 'deactivate node' for poc-rancher-sw1.internal.staging.swh.network with UUID cad033c9-5155-4092-bfa7-8c24d5437b7d + puppet node clean poc-rancher-sw1.internal.staging.swh.network Notice: Revoked certificate with serial 280 Notice: Removing file Puppet::SSL::Certificate poc-rancher-sw1.internal.staging.swh.network at '/var/lib/puppet/ssl/ca/signed/poc-rancher-sw1.internal.staging.swh.network.pem' poc-rancher-sw1.internal.staging.swh.network + puppet cert clean poc-rancher-sw1.internal.staging.swh.network Warning: `puppet cert` is deprecated and will be removed in a future release. (location: /usr/lib/ruby/vendor_ruby/puppet/application.rb:370:in `run') Notice: Revoked certificate with serial 277 Notice: Revoked certificate with serial 280 + systemctl restart apache2 root@pergamon:~# puppet agent --test Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Retrieving locales Info: Loading facts Info: Caching catalog for pergamon.softwareheritage.org Info: Applying configuration version '1649769812' Info: Computing checksum on file /etc/ssh/puppet_known_hosts/poc-rancher-sw0.internal.staging.swh.network.keys Info: /Stage[main]/Profile::Ssh::Server/File[/etc/ssh/puppet_known_hosts/poc-rancher-sw0.internal.staging.swh.network.keys]: Filebucketed /etc/ssh/puppet_known_hosts/poc-rancher-sw0.internal.staging.swh.network.keys to puppet with sum 444$eeabf89efb00b67f8bcb301162f4 Notice: /Stage[main]/Profile::Ssh::Server/File[/etc/ssh/puppet_known_hosts/poc-rancher-sw0.internal.staging.swh.network.keys]/ensure: removed Info: Computing checksum on file /etc/ssh/puppet_known_hosts/poc-rancher-sw1.internal.staging.swh.network.keys Info: /Stage[main]/Profile::Ssh::Server/File[/etc/ssh/puppet_known_hosts/poc-rancher-sw1.internal.staging.swh.network.keys]: Filebucketed /etc/ssh/puppet_known_hosts/poc-rancher-sw1.internal.staging.swh.network.keys to puppet with sum 946c aa039e9272c9fd3b5857476a3fa9 Notice: /Stage[main]/Profile::Ssh::Server/File[/etc/ssh/puppet_known_hosts/poc-rancher-sw1.internal.staging.swh.network.keys]/ensure: removed Info: /etc/ssh/puppet_known_hosts: Scheduling refresh of Exec[update ssh_known_hosts] Notice: /Stage[main]/Profile::Ssh::Server/Exec[update ssh_known_hosts]: Triggered 'refresh' from 1 event Info: Computing checksum on file /etc/icinga2/zones.d/master/poc-rancher-sw0.internal.staging.swh.network.conf Info: /Stage[main]/Profile::Icinga2::Master/File[/etc/icinga2/zones.d/master/poc-rancher-sw0.internal.staging.swh.network.conf]: Filebucketed /etc/icinga2/zones.d/master/poc-rancher-sw0.internal.staging.swh.network.conf to puppet with sum afbe42402b43a2f18a153c9d43397322 Notice: /Stage[main]/Profile::Icinga2::Master/File[/etc/icinga2/zones.d/master/poc-rancher-sw0.internal.staging.swh.network.conf]/ensure: removed Info: Computing checksum on file /etc/icinga2/zones.d/master/poc-rancher-sw1.internal.staging.swh.network.conf Info: /Stage[main]/Profile::Icinga2::Master/File[/etc/icinga2/zones.d/master/poc-rancher-sw1.internal.staging.swh.network.conf]: Filebucketed /etc/icinga2/zones.d/master/poc-rancher-sw1.internal.staging.swh.network.conf to puppet with sum 9dc481a5171a14dfcdea295178f1e1bf Notice: /Stage[main]/Profile::Icinga2::Master/File[/etc/icinga2/zones.d/master/poc-rancher-sw1.internal.staging.swh.network.conf]/ensure: removed Info: /etc/icinga2/zones.d/master: Scheduling refresh of Class[Icinga2::Service] Info: Computing checksum on file /etc/prometheus/exported-configs/poc-rancher-sw0_node.yaml Info: /Stage[main]/Profile::Prometheus::Server/File[/etc/prometheus/exported-configs/poc-rancher-sw0_node.yaml]: Filebucketed /etc/prometheus/exported-configs/poc-rancher-sw0_node.yaml to puppet with sum 7f1985ce5818fe42ffd7350da8bfd729 Notice: /Stage[main]/Profile::Prometheus::Server/File[/etc/prometheus/exported-configs/poc-rancher-sw0_node.yaml]/ensure: removed Info: Computing checksum on file /etc/prometheus/exported-configs/poc-rancher-sw0_statsd.yaml Info: /Stage[main]/Profile::Prometheus::Server/File[/etc/prometheus/exported-configs/poc-rancher-sw0_statsd.yaml]: Filebucketed /etc/prometheus/exported-configs/poc-rancher-sw0_statsd.yaml to puppet with sum 30142373f9cfb8c6da5974d4a572b0a 5 Notice: /Stage[main]/Profile::Prometheus::Server/File[/etc/prometheus/exported-configs/poc-rancher-sw0_statsd.yaml]/ensure: removed Info: Computing checksum on file /etc/prometheus/exported-configs/poc-rancher-sw1_node.yaml Info: /Stage[main]/Profile::Prometheus::Server/File[/etc/prometheus/exported-configs/poc-rancher-sw1_node.yaml]: Filebucketed /etc/prometheus/exported-configs/poc-rancher-sw1_node.yaml to puppet with sum 1bc2398b21960b61be16fedf3fda097d Notice: /Stage[main]/Profile::Prometheus::Server/File[/etc/prometheus/exported-configs/poc-rancher-sw1_node.yaml]/ensure: removed Info: Computing checksum on file /etc/prometheus/exported-configs/poc-rancher-sw1_statsd.yaml Info: /Stage[main]/Profile::Prometheus::Server/File[/etc/prometheus/exported-configs/poc-rancher-sw1_statsd.yaml]: Filebucketed /etc/prometheus/exported-configs/poc-rancher-sw1_statsd.yaml to puppet with sum 86400af4794513917006455adfa9413 c Notice: /Stage[main]/Profile::Prometheus::Server/File[/etc/prometheus/exported-configs/poc-rancher-sw1_statsd.yaml]/ensure: removed Info: /etc/prometheus/exported-configs: Scheduling refresh of Exec[update-prometheus-config] Notice: /Stage[main]/Profile::Prometheus::Server/Exec[update-prometheus-config]: Triggered 'refresh' from 1 event Info: /Stage[main]/Profile::Prometheus::Server/Exec[update-prometheus-config]: Scheduling refresh of Service[prometheus] Notice: /Stage[main]/Profile::Prometheus::Server/Service[prometheus]: Triggered 'refresh' from 1 event Info: Class[Icinga2::Service]: Scheduling refresh of Service[icinga2] Notice: /Stage[main]/Icinga2::Service/Service[icinga2]: Triggered 'refresh' from 1 event Notice: Applied catalog in 50.06 seconds