[mozillians] Run geocode migration

RESOLVED FIXED

Status

task
RESOLVED FIXED
5 years ago
3 years ago

People

(Reporter: sancus, Assigned: cturra)

Tracking

(Blocks 1 bug)

Details

(Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/417] )

Attachments

(1 attachment)

This needs some webops help to push to prod.
Full instructions:

Have myself or giorgos push 2014-06.1 via Chief and notify #commtools. Please ping us on IRC or in #commtools.

1) Add MAPBOX_MAP_ID to local.py (actual ID is found in the local.py for mozillians-dev, or ask on IRC)
2) Add MAPBOX_PROFILE_ID to local.py (you'll have to ask for this ID)
2) Grab geodata.json from this bug, will be attached.
3) Run ./manage.py loaddata geodata.json (this should reported a bunch of objects loaded)
4) Run ./manage.py geocode and wait until it's done, and report how many profiles remain to geocode. If there are more than 100 remaining, run the command again, and repeat until there are fewer than 100 profiles left to geocode(should actually be possible to get below 10, even). There will be lots of error output and stuff about wrong countries, this is normal.

We're done!
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/417]
Posted file geodata.json
This should output "Installed 5848 object(s) from 1 fixture(s)" when loaded.
Also, would be nice to get some action on this tomorrow. This is blocking us from releasing code for mozillians.
Blocks: 920651
Assignee: server-ops-webops → cturra
as discussed on irc, this has now all been wrapped up. i ran the 'geocode' a couple times:

 - pass1: 8822 profiles left to geocode.
 - pass2: 6 profiles left to geocode.
 - pass3: 6 profiles left to geocode.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.