Page MenuHomeSoftware Heritage

Decomission storage02.euwest.azure (no longer used)
Closed, MigratedEdits Locked

Description

  • clean up certificate for that node in puppet master
  • puppet agent run on pergamon (icinga)
  • stop node from azure
  • D5005: clean up manifest

Related Objects

Event Timeline

ardumont changed the task status from Open to Work in Progress.Feb 4 2021, 11:23 AM
ardumont triaged this task as Normal priority.
ardumont created this task.
ardumont moved this task from Backlog to in-progress on the System administration board.

To avoid spamming the System administrators channel, you can decommission first the node in puppet (pergamon), then stops the machine:

root@pergamon:~# FQDN=storage02.euwest.azure.internal.softwareheritage.org
root@pergamon:~# puppet node deactivate $FQDN
Submitted 'deactivate node' for storage02.euwest.azure.internal.softwareheritage.org with UUID 23750cbd-acec-410f-a012-52b5e2838831
root@pergamon:~# swh-puppet-master-clean-certificate $FQDN
+ puppet node clean storage02.euwest.azure.internal.softwareheritage.org
Notice: Revoked certificate with serial 219
Notice: Removing file Puppet::SSL::Certificate storage02.euwest.azure.internal.softwareheritage.org at '/var/lib/puppet/ssl/ca/signed/storage02.euwest.azure.internal.softwareheritage.org.pem'
storage02.euwest.azure.internal.softwareheritage.org
+ puppet cert clean storage02.euwest.azure.internal.softwareheritage.org
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 219
+ systemctl restart apache2
ardumont claimed this task.
ardumont moved this task from deployed/landed/monitoring to done on the System administration board.