- clean up certificate for that node in puppet master
- puppet agent run on pergamon (icinga)
- stop node from azure
- D5005: clean up manifest
Description
Description
Revisions and Commits
Revisions and Commits
rSPSITE puppet-swh-site | |||
D5007 | rSPSITE7e493518f124 Update decomissioning script with necessary instruction | ||
D5005 | rSPSITE22f428d1d374 Decomission storage02.euwest |
Related Objects
Related Objects
- Mentioned Here
- D5005: Decomission storage02.euwest
Event Timeline
Comment Actions
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