|Resolved||MSantos||T152196 Kartotherian snapshots always return low DPI images|
|Resolved||Gehel||T198622 migrate maps servers to stretch with the current style|
|Resolved||Mholloway||T198290 reimage maps-test2003 to test migration of current style to stretch|
|Resolved||Mholloway||T198485 Verify loading instructions for existing styles on Stretch|
|Resolved||Mholloway||T172090 move maps-test cluster to cloud infrastructure|
|Resolved||debt||T171746 Determining the plan for the maps-test cluster|
|Resolved||MSantos||T205462 Load OSM data into maps1004|
|Resolved||MSantos||T207360 osmosis state file on maps1004 is outdated|
|Resolved||Mathew.onipe||T215521 Load OSM data into maps2004|
|Resolved||Gehel||T219849 Tilerator crashed on maps200[1-3].codfw.wmnet|
I found the problem, still looking for the solution. The problem is that the scale is overridden with the value 1 everytime with no conditional, see the following code:
// Overlays only support 2x scaling, so if scale is less than <1.5x, drop to 1x, otherwise - 2x params.scale = (!params.scale || params.scale < 1.5) ? 1 : 2; // Abaculus(?) doesn't position images with scale != 1 params.scale = 1;
Debugging Abaculus I could see that there are some calculations not working properly in the function abaculus.tileList when trying to find the tiles to stitch, it returns an empty array for the tiles to be rendered. Fun math is coming.
After some review from @Mholloway was identified that we are stuck on the older version of abaculus. And updating the upstream code would force us to go ahead with T188674: Upgrade node-mapnik to 3.7.x.
I am considering this task stalled so we can have a discussion about what Michael pointed out in the PR topic:
So, unless we're ready to upgrade mapnik soon, we might have to publish this fork and begin using it for the scaling fix.
Actually, this task should be moved to To Deploy column, I found yesterday I haven't published @kartotherian/snapshot and now it will need another deploy to have this change on the beta cluster.
But, this fix won't show up on the links of the description until we migrate to Stretch and I am not sure if the beta cluster has an exposed HTTP port that you can see from the browser. For this fix, we needed to upgrade node-mapnik with the latest version of abaculus and because of that, we are unable to deploy it on Jessie machines.
After I deploy it to beta cluster you might need to do the following:
- Connect to deployments-maps04 and tunnel port 6533
ssh -L 6533:localhost:6533 deployment-maps04.deployment-prep.eqiad.wmflabs
- Access the links below for testing the existing data on the machine (Palestine):