IX-F JSON to PeeringDB importer (temporarily) disabled
Dear all, Summary: It has come to our attention that specific aspects of an integration between PeeringDB and IX-F (in its current form) is causing considerable issues for some PeeringDB users. We have temporarily disabled importing data from IX-F into PeeringDB to alleviate some headache. Background: Every day PeeringDB ingests JSON formatted information from IX-F ("IX-F data"). The intent of this ingestion process is to help align information submitted to PeeringDB by network operators and information submitted to IX-F by IXP operators. The expectation was that this would help streamline scenarios such as where an ASN disconnects from an IXP but didn't update their PeeringDB record reflecting disconnection, and if the IXP subsequently would re-assign the IP address to a newly participating ASN, often times the new ASN wasn't able to add the new IXP connection to their PeeringDB record without intervention from the PeeringDB Admin Committee. However there also are scenarios where an ASN is in the process of connecting a new IXP circuit, and wants to update their PeeringDB record and add this new connection ahead of the completion of the full provisioning process to streamline their peering discussions. In such cases the lack of information about this new circuit in the IX-F data could cause a deletion of this user submitted information. A significant challenge here is that sometimes records in PeeringDB are out of date (which hinders new IXP participants), and sometimes IX-F data doesn't (yet) contain information or this information is out-of-date (either case hinders a different group). I think the path forward is to express the relations and automated actions between the information sources as a state machine which (unlike the current version) does account for the full lifecycle from provisioning to decommissioning of circuits to IXPs. I hope you as community will continue chime in on what we should do next. On github there are various issues open related to this problem space: https://github.com/peeringdb/peeringdb/issues/505 https://github.com/peeringdb/peeringdb/issues/513 https://github.com/peeringdb/peeringdb/issues/518 https://github.com/peeringdb/peeringdb/issues/540 We want PeeringDB to be a useful, reliable, and consistent tool for everyone. However the current implementation of the process to augment PeeringDB's data with IX-F data appears to be unable to account for all possible scenarios in a way that is without exception helpful to all PeeringDB's users; hence the decision to disable the importer for now. Kind regards, Job
Hello Job, [ resending email from gmail, because "Client host rejected: 554 SPAM not tolerated here (Mailgun)" ] On Fri, 30 Aug 2019 at 17:30, Job Snijders <job@instituut.net> wrote:
A significant challenge here is that sometimes records in PeeringDB are out of date (which hinders new IXP participants), and sometimes IX-F data doesn't (yet) contain information or this information is out-of-date (either case hinders a different group). I think the path forward is to express the relations and automated actions between the information sources as a state machine which (unlike the current version) does account for the full lifecycle from provisioning to decommissioning of circuits to IXPs.
A state machine handling the full life-cycle seems overly complex, with lots of moving parts. I fear that would also result in a number of disputes that is similarly unsatisfactory. I mean, you don't really know how the IX constructs this data - a ASN may be removed from that list for a short period of time to due to a temporary payment issue. In fact it looks like the disputes are mainly caused by bad/imprecise/outdated information from IXes, so building more complexity around it seems like a bad idea to me. I would opt for simpler, more predictable fixes. Why not limit the IX-F overwrite to cases where there is an actual ASN mismatch between PDB and IXF? Or in other words: don't delete addresses in PDB when the data is simply missing in the IXF data? Sure, obsolete IP addresses won't get cleaned up immediately. But they would get cleaned up when it matters (when the IP is reassigned), without the false-positives we have today. We can still notify ASN's about the fact that an IP address is no longer in IXF (once a month or so), to spur the cleanup of obsolete addresses. I didn't read through all the github issues, so maybe what I am saying doesn't tick all the boxes, but my strong opinion about this is: KISS. If we really NEED peeringdb to be always uptodate without obsolete IP addresses for IXF enabled IXP's, there is only 1 choice: an IXP providing IXF data needs to be 100% authoritative of the data, in 100% of the cases. An operator should not even be able to add addresses for IXF-enabled IXP's. I'd vote against this approach, but it I think this would still be better than a state machine handling billing disputes. Complex processes (and changes thereof) at PDB make it harder for network operators (and IX'es) to comprehend what happens. Even though I'd like operators to read pdb-announce and understand PDB processes, the reality is that PDB needs to be self-explanatory and as predictable as possible for a large number of operators and IX'es, small, big and huge. I can also see that there is confusion about the "Allow IXP updates" flag. I can understand that, it's easy to interpret this as "nobody is gonna change my data unless flagged", so people are surprised when their data changes. We can make this clearer. "Allow manual IXP updates (automation may remove IP addresses assigned to different ASNs)" or something like this (if true, of course). KISSes, Lukas
Lukas, thank you for your feedback, this is exactly the type of input I'm looking for. I'll give it another few days before we take any further action to allow some time to collect more feedback from the community. Kind regards, Job On Fri, Aug 30, 2019 at 08:12:36PM +0200, Lukas Tribus wrote:
Hello Job,
[ resending email from gmail, because "Client host rejected: 554 SPAM not tolerated here (Mailgun)" ]
On Fri, 30 Aug 2019 at 17:30, Job Snijders <job@instituut.net> wrote:
A significant challenge here is that sometimes records in PeeringDB are out of date (which hinders new IXP participants), and sometimes IX-F data doesn't (yet) contain information or this information is out-of-date (either case hinders a different group). I think the path forward is to express the relations and automated actions between the information sources as a state machine which (unlike the current version) does account for the full lifecycle from provisioning to decommissioning of circuits to IXPs.
A state machine handling the full life-cycle seems overly complex, with lots of moving parts. I fear that would also result in a number of disputes that is similarly unsatisfactory. I mean, you don't really know how the IX constructs this data - a ASN may be removed from that list for a short period of time to due to a temporary payment issue. In fact it looks like the disputes are mainly caused by bad/imprecise/outdated information from IXes, so building more complexity around it seems like a bad idea to me.
I would opt for simpler, more predictable fixes.
Why not limit the IX-F overwrite to cases where there is an actual ASN mismatch between PDB and IXF? Or in other words: don't delete addresses in PDB when the data is simply missing in the IXF data? Sure, obsolete IP addresses won't get cleaned up immediately. But they would get cleaned up when it matters (when the IP is reassigned), without the false-positives we have today.
We can still notify ASN's about the fact that an IP address is no longer in IXF (once a month or so), to spur the cleanup of obsolete addresses.
I didn't read through all the github issues, so maybe what I am saying doesn't tick all the boxes, but my strong opinion about this is: KISS.
If we really NEED peeringdb to be always uptodate without obsolete IP addresses for IXF enabled IXP's, there is only 1 choice: an IXP providing IXF data needs to be 100% authoritative of the data, in 100% of the cases. An operator should not even be able to add addresses for IXF-enabled IXP's. I'd vote against this approach, but it I think this would still be better than a state machine handling billing disputes.
Complex processes (and changes thereof) at PDB make it harder for network operators (and IX'es) to comprehend what happens. Even though I'd like operators to read pdb-announce and understand PDB processes, the reality is that PDB needs to be self-explanatory and as predictable as possible for a large number of operators and IX'es, small, big and huge.
I can also see that there is confusion about the "Allow IXP updates" flag. I can understand that, it's easy to interpret this as "nobody is gonna change my data unless flagged", so people are surprised when their data changes. We can make this clearer. "Allow manual IXP updates (automation may remove IP addresses assigned to different ASNs)" or something like this (if true, of course).
KISSes,
Lukas _______________________________________________ Pdb-tech mailing list Pdb-tech@lists.peeringdb.com https://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech
On 30 Aug 2019, at 20:50, Job Snijders <job@ntt.net> wrote:
I'll give it another few days before we take any further action to allow some time to collect more feedback from the community.
As the intent is to improve the accuracy / reliabilty of (asn,ix) pairs, a new attribute - along the same lines as Arnold has suggested - which indicates whether both the peer and the IX agree on a given pair might be a reasonably simple way forward. The website could display entries differently when they don’t. API queries could specify whether they wanted to see results that matched (or not), and - if the attribute was more than just a boolean - where the peer asserts a presence but the IX does not (for example). The latter would have been useful in the instances where I’ve seen problems arise. -Ronan
On Fri, Aug 30, 2019 at 08:12:36PM +0200, Lukas Tribus wrote:
Hello Job,
[ resending email from gmail, because "Client host rejected: 554 SPAM not tolerated here (Mailgun)" ]
On Fri, 30 Aug 2019 at 17:30, Job Snijders <job@instituut.net> wrote:
A significant challenge here is that sometimes records in PeeringDB are out of date (which hinders new IXP participants), and sometimes IX-F data doesn't (yet) contain information or this information is out-of-date (either case hinders a different group). I think the path forward is to express the relations and automated actions between the information sources as a state machine which (unlike the current version) does account for the full lifecycle from provisioning to decommissioning of circuits to IXPs.
A state machine handling the full life-cycle seems overly complex, with lots of moving parts. I fear that would also result in a number of disputes that is similarly unsatisfactory. I mean, you don't really know how the IX constructs this data - a ASN may be removed from that list for a short period of time to due to a temporary payment issue. In fact it looks like the disputes are mainly caused by bad/imprecise/outdated information from IXes, so building more complexity around it seems like a bad idea to me.
I would opt for simpler, more predictable fixes.
Why not limit the IX-F overwrite to cases where there is an actual ASN mismatch between PDB and IXF? Or in other words: don't delete addresses in PDB when the data is simply missing in the IXF data? Sure, obsolete IP addresses won't get cleaned up immediately. But they would get cleaned up when it matters (when the IP is reassigned), without the false-positives we have today.
We can still notify ASN's about the fact that an IP address is no longer in IXF (once a month or so), to spur the cleanup of obsolete addresses.
I didn't read through all the github issues, so maybe what I am saying doesn't tick all the boxes, but my strong opinion about this is: KISS.
If we really NEED peeringdb to be always uptodate without obsolete IP addresses for IXF enabled IXP's, there is only 1 choice: an IXP providing IXF data needs to be 100% authoritative of the data, in 100% of the cases. An operator should not even be able to add addresses for IXF-enabled IXP's. I'd vote against this approach, but it I think this would still be better than a state machine handling billing disputes.
Complex processes (and changes thereof) at PDB make it harder for network operators (and IX'es) to comprehend what happens. Even though I'd like operators to read pdb-announce and understand PDB processes, the reality is that PDB needs to be self-explanatory and as predictable as possible for a large number of operators and IX'es, small, big and huge.
I can also see that there is confusion about the "Allow IXP updates" flag. I can understand that, it's easy to interpret this as "nobody is gonna change my data unless flagged", so people are surprised when their data changes. We can make this clearer. "Allow manual IXP updates (automation may remove IP addresses assigned to different ASNs)" or something like this (if true, of course).
KISSes,
Lukas _______________________________________________ Pdb-tech mailing list Pdb-tech@lists.peeringdb.com https://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech
Pdb-tech mailing list Pdb-tech@lists.peeringdb.com https://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech
Hello Lukas(all On 30.08.2019 20:12, Lukas Tribus wrote:
I would opt for simpler, more predictable fixes.
Why not limit the IX-F overwrite to cases where there is an actual ASN mismatch between PDB and IXF? Or in other words: don't delete addresses in PDB when the data is simply missing in the IXF data? Sure, obsolete IP addresses won't get cleaned up immediately. But they would get cleaned up when it matters (when the IP is reassigned), without the false-positives we have today.
what imho makes sense is to have an additional field in the netixlan record which gives more information about the status of the connection. Such a field could also hold a value for the situation you described above [0] Current interpretation of netixlan is that the network is *operational* at the IX. However networks may want to let others know well in advance that they will connect to an IX and also already provide IP information [1] Another use case could be to let peers know that the connection is down for whatever reason. We could work on such an approach w/o even involving 3rd parties like the IX-F JSON from the IXes. We've seen that we have been a bit naive when implementing the IX-JSON importer. However, when implemented carefully 3rd party information would help. Cheers Arnold [0] For very good reasons PDB currently checks that an IP is unique. That part of the code would have to be reworked as well. On the customer side that might introduce more complex changes as well. [1] https://github.com/peeringdb/peeringdb/issues/539 -- Arnold Nipper email: arnold@nipper.de mobile: +49 172 2650958
Hi, On Fri, 30 Aug 2019 at 17:30, Job Snijders <job at instituut.net> wrote:
A significant challenge here is that sometimes records in PeeringDB are out of date (which hinders new IXP participants), and sometimes IX-F data doesn't (yet) contain information or this information is out-of-date (either case hinders a different group). I think the path forward is to express the relations and automated actions between the information sources as a state machine which (unlike the current version) does account for the full lifecycle from provisioning to decommissioning of circuits to IXPs.
Since the thing that's unwanted is stale incorrect netixlan entries, it should be sufficient to just limit auto-deletion to netixlan's which hasn't been created/updated in X time. X time should be long enough to not cause problems with provisioning, a good value might be 3 months. A problem there might be that "updated", could have changed based on IX-F or a PDB admin change. Would it make sense to have a separate "updated-by-owner" timestamp, to indicate if and when the object owner last touched the object? Could also be "updated-by-net" and "updated-by-ix" columns. On Fri, 30 Aug 2019 at 20:12, Lukas Tribus <tribuslukas58@gmail.com> wrote:
A state machine handling the full life-cycle seems overly complex, with lots of moving parts. I fear that would also result in a number of disputes that is similarly unsatisfactory. I mean, you don't really know how the IX constructs this data - a ASN may be removed from that list for a short period of time to due to a temporary payment issue. In fact it looks like the disputes are mainly caused by bad/imprecise/outdated information from IXes, so building more complexity around it seems like a bad idea to me.
The temporary missing from the IX-F feed cases, could be handled by a "marked_for_deletion" column with current timestamp. In the new/updated netixlan case covered above the flag, will first be put on the object after the X time since created/updated has expired and it is still not in the IX-F feed. A daily job deletes objects which was "marked_for_deletion" more than eg. 2 weeks ago. If "updated-by-owner" is newer than "marked_for_deletion" the flag is removed. If it reappears in IX-F data the flag is also removed. As an alternative for the "updated-by-owner" column, the website code could automatically remove the "marked_for_deletion" flag, if the object is updated by the network. This boils down to long leash if the network is active, shorter if not. The "updated-by-owner" could also just be on an org/net level, rather than individual netixlan. To sum-up reformulated as simple rules: An netixlan SHALL NOT be automatically deleted if: - the owner has touched it less than X time ago - if it has been missing from IX-F feed for less than Y time where Y time < X time -- Best regards Asbjørn Sloth Tønnesen
Dears, I also believe this ties in with the discussion on data ownership. Probably that discussion also will have to accommodate when information can be considered "new". In other words, absence of data might or might not mean something, whereas a reissued IP address has a much higher likelihood of meaning deletion. The discussion below goes a bit too much in detail until we address the broader issue IMHO. Kind regards, Eric
-----Original Message----- From: Pdb-tech <pdb-tech-bounces@lists.peeringdb.com> On Behalf Of Asbjørn Sloth Tønnesen Sent: 07 September 2019 23:59 To: pdb-tech@lists.peeringdb.com Subject: Re: [PDB Tech] IX-F JSON to PeeringDB importer (temporarily) disabled
Hi,
On Fri, 30 Aug 2019 at 17:30, Job Snijders <job at instituut.net> wrote:
A significant challenge here is that sometimes records in PeeringDB > are out of date (which hinders new IXP participants), and sometimes > IX-F data doesn't (yet) contain information or this information is > out-of-date (either case hinders a different group). I think the path > forward is to express the relations and automated actions between the > information sources as a state machine which (unlike the current > version) does account for the full lifecycle from provisioning to > decommissioning of circuits to IXPs.
Since the thing that's unwanted is stale incorrect netixlan entries, it should be sufficient to just limit auto-deletion to netixlan's which hasn't been created/updated in X time. X time should be long enough to not cause problems with provisioning, a good value might be 3 months.
A problem there might be that "updated", could have changed based on IX-F or a PDB admin change. Would it make sense to have a separate "updated- by-owner" timestamp, to indicate if and when the object owner last touched the object? Could also be "updated-by-net" and "updated-by-ix" columns.
On Fri, 30 Aug 2019 at 20:12, Lukas Tribus <tribuslukas58@gmail.com> wrote:
A state machine handling the full life-cycle seems overly complex, with lots of moving parts. I fear that would also result in a number of disputes that is similarly unsatisfactory. I mean, you don't really know how the IX constructs this data - a ASN may be removed from that list for a short period of time to due to a temporary payment issue. In fact it looks like the disputes are mainly caused by bad/imprecise/outdated information from IXes, so building more complexity around it seems like a bad idea to me.
The temporary missing from the IX-F feed cases, could be handled by a "marked_for_deletion" column with current timestamp.
In the new/updated netixlan case covered above the flag, will first be put on the object after the X time since created/updated has expired and it is still not in the IX-F feed.
A daily job deletes objects which was "marked_for_deletion" more than eg. 2 weeks ago. If "updated-by-owner" is newer than "marked_for_deletion" the flag is removed.
If it reappears in IX-F data the flag is also removed.
As an alternative for the "updated-by-owner" column, the website code could automatically remove the "marked_for_deletion" flag, if the object is updated by the network.
This boils down to long leash if the network is active, shorter if not.
The "updated-by-owner" could also just be on an org/net level, rather than individual netixlan.
To sum-up reformulated as simple rules:
An netixlan SHALL NOT be automatically deleted if: - the owner has touched it less than X time ago - if it has been missing from IX-F feed for less than Y time where Y time < X time
-- Best regards Asbjørn Sloth Tønnesen _______________________________________________ Pdb-tech mailing list Pdb-tech@lists.peeringdb.com https://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech This e-mail cannot be used for other purposes than BICS business use. See more on https://bics.com/mail-disclaimer
participants (7)
-
Arnold Nipper -
Asbjørn Sloth Tønnesen -
Job Snijders -
Job Snijders -
LOOS Eric (BCS/PSD) -
Lukas Tribus -
Mullally, Ronan