We had some cert alerts come in for cert expiry on devices in eqiad rows c and d:
gNMI TLS certificate for lsw1-c7-eqiad.mgmt.eqiad.wmnet is going to expire in 0s gNMI TLS certificate for lsw1-d2-eqiad.mgmt.eqiad.wmnet is going to expire in 0s gNMI TLS certificate for lsw1-c3-eqiad.mgmt.eqiad.wmnet is going to expire in 0s gNMI TLS certificate for lsw1-c2-eqiad.mgmt.eqiad.wmnet is going to expire in 0s gNMI TLS certificate for lsw1-c6-eqiad.mgmt.eqiad.wmnet is going to expire in 0s gNMI TLS certificate for ssw1-d8-eqiad.mgmt.eqiad.wmnet is going to expire in 0s gNMI TLS certificate for lsw1-d4-eqiad.mgmt.eqiad.wmnet is going to expire in 0s gNMI TLS certificate for lsw1-d3-eqiad.mgmt.eqiad.wmnet is going to expire in 0s gNMI TLS certificate for lsw1-c4-eqiad.mgmt.eqiad.wmnet is going to expire in 0s gNMI TLS certificate for lsw1-c5-eqiad.mgmt.eqiad.wmnet is going to expire in 0s gNMI TLS certificate for lsw1-d7-eqiad.mgmt.eqiad.wmnet is going to expire in 0s gNMI TLS certificate for ssw1-d1-eqiad.mgmt.eqiad.wmnet is going to expire in 0s
I think the recent patches to update the alerting have messed up the "expire time" message here. It should only say 0s if it has already expired, however these aren't due to expire for approx 6 weeks:
cmooney@cumin1003:~$ openssl s_client -connect ssw1-d8-eqiad.mgmt.eqiad.wmnet:443 </dev/null 2>/dev/null | openssl x509 -noout -dates notBefore=Jul 31 13:34:00 2025 GMT notAfter=Jul 31 13:34:00 2026 GMT
Further I think our cookbook to renew the certs only works if it's due to expire within four weeks, so right now running the cookbook does not issue a fresh cert, so we can't clear the alerts that way.
cmooney@cumin1003:~$ sudo cookbook sre.network.tls ssw1-d8-eqiad
Acquired lock for key /spicerack/locks/cookbooks/sre.network.tls: {'concurrency': 20, 'created': '2026-06-15 17:40:26.351828+00:00', 'owner': 'cmooney@cumin1003 [4192695]', 'ttl': 1800}
START - Cookbook sre.network.tls for network device ssw1-d8-eqiad
ssw1-d8-eqiad: 👍 Nothing to do.
Released lock for key /spicerack/locks/cookbooks/sre.network.tls: {'concurrency': 20, 'created': '2026-06-15 17:40:26.351828+00:00', 'owner': 'cmooney@cumin1003 [4192695]', 'ttl': 1800}
END (PASS) - Cookbook sre.network.tls (exit_code=0) for network device ssw1-d8-eqiadAnyway these aren't going to expire this evening I will take a closer look tomorrow.
