Page MenuHomePhabricator

TileratorUI reports Error: Username and/or password are incorrect
Closed, ResolvedPublicBUG REPORT

Description

User tileratorui gets auth error when trying to generate tiles, but user tilerator doesn't.

Steps to Reproduce:

log into maps2004.codfw.wmnet and generate some tiles (low level) with the following command:

sudo -u tileratorui node /srv/deployment/tilerator/deploy/node_modules/tilerator/scripts/tileshell.js --config /etc/tileratorui/config.yaml \
-j.zoom 0 \
-j.fromZoom 0 \
-j.beforeZoom 5 \
-j.generatorId gen \
-j.storageId v4 \
-j.deleteEmpty true \
-j.keepJob true

Actual Results:

Tilerator throws the following error:

Error: Unable to create source "v4"All host(s) tried for query failed. First host tried, 10.192.0.144:9042: Authentic
ationError: Username and/or password are incorrect. See innerErrors.

Expected Results:

Change the user to tileratorand the results are as expected, which is no errors and jobs start running:

sudo -u tilerator node /srv/deployment/tilerator/deploy/node_modules/tilerator/scripts/tileshell.js --config /etc/tilerator/config.yaml \
-j.zoom 0 \
-j.fromZoom 0 \
-j.beforeZoom 5 \
-j.generatorId gen \
-j.storageId v4 \
-j.deleteEmpty true \
-j.keepJob true