inex / IXP-Manager

Full stack web application powering peering at over 200 Internet Exchange Points (IXPs) globally.
https://www.ixpmanager.org/
GNU General Public License v2.0
363 stars 159 forks source link

exception handler for Irrdb\\UpdateAsnDb, Irrdb\\UpdatePrefixDb #877

Open nickhilliard opened 5 months ago

nickhilliard commented 5 months ago

At the moment, any querier exception for either of these handlers will cause the entire query process to bomb out. There needs to be an exception handler implemented for both methods.

Separately, the ixp-m operator needs to be given a hint if asn/prefix updates are wedged. e.g. "command hasn't run successfully in 48h, recommend intervention".

barryo commented 5 months ago

Phase 1 complete: continue to next customer on error + issue errors for cron email to capture and send.

Phase 2: improvement to create a persistent issue to be resolved by ixp

netukorg commented 2 months ago

Need to get this fix on to production.

The retirement of ARIN-NONAUTH as a source by ARIN was causing our updates to quietly bomb out when it got to the member with it listed as a source:

ERROR: Invalid source(s) 'RIPE,RIPE-NONAUTH,AFRINIC,ALTDB,ARIN,ARIN-NONAUTH,APNIC,NTTCOM,LEVEL3,RADB': F One or more selected sources are unavailable.

I have now removed ARIN-NONAUTH and run the update manually. Seems it hasn't been working properly for quite some time... :-S