Page MenuHomePhabricator

Ensure the necessary data files are present and accessible on beta for IP Info to function
Open, MediumPublic2 Estimated Story Points

Description

Goal

For IP Info to be working on beta cluster it needs access to the IP data files. This task is to ensure the files are accessible on beta.

Also update the $wgIPInfoGeoIP2Path config to point to the files.

Event Timeline

Niharika triaged this task as Medium priority.Nov 19 2020, 11:35 PM
Niharika created this task.
ARamirez_WMF set the point value for this task to 2.Dec 2 2020, 5:59 PM
ARamirez_WMF changed the subtype of this task from "Task" to "Deadline".

The GeoLite2 files are available for the Beta Cluster, located in /user/share/GeoIP in deployment-deploy01.deployment-prep.eqiad1.wikimedia.cloud

I'd assume the full MaxMind files are not there due to licensing reasons.

Only the GeoLite2-City.mmdb and GeoLite2-Country.mmdb are there (GeoLite2-ASN.mmdb isn't present). They were added in 2018.

@CDanis Do you know if I'd be allowed to replace these files with the (perhaps) more up-to-date GeoLite2 files that we've been using in our local tests (https://dev.maxmind.com/geoip/geoip2/geolite2/) or at least add the ASN file?

Change 644550 had a related patch set uploaded (by Tchanders; owner: Tchanders):
[operations/mediawiki-config@master] Add IPInfo extension config to InitialiseSettings-labs.php

https://gerrit.wikimedia.org/r/644550

The GeoLite2 files are available for the Beta Cluster, located in /user/share/GeoIP in deployment-deploy01.deployment-prep.eqiad1.wikimedia.cloud
I'd assume the full MaxMind files are not there due to licensing reasons.

@Niharika This means that we'll only be able to show the data that relates to the city, country and perhaps ASN (if we're able to add that file) on Beta.

The GeoLite2 files are available for the Beta Cluster, located in /user/share/GeoIP in deployment-deploy01.deployment-prep.eqiad1.wikimedia.cloud
I'd assume the full MaxMind files are not there due to licensing reasons.

@Niharika This means that we'll only be able to show the data that relates to the city, country and perhaps ASN (if we're able to add that file) on Beta.

@Tchanders Do you think there's a possibility we can get the complete files added there? I imagine Alex could follow up with Legal and see if they would allow that.

@Niharika Sure - if we get the go-ahead from @aezell and WMF-Legal, and if we're allowed to put files on that server.

Tagging @BBlack in the hopes he knows anything offhand about shipping new GeoLite2 or full GeoIP2 files to Beta Cluster

Change 644550 merged by jenkins-bot:
[operations/mediawiki-config@master] Add IPInfo extension config to InitialiseSettings-labs.php

https://gerrit.wikimedia.org/r/644550

@Tchanders / @ARamirez_WMF: Hi, the Due Date set for this open task was a while ago.
Can you please either update or reset the Due Date (by clicking Edit Task), or set the status of this task to resolved in case this task is done? Thanks.

Niharika changed the subtype of this task from "Deadline" to "Task".Tue, Mar 30, 1:48 PM

@Aklapper I reset the due date. This task was blocked and we forgot to update the due date.