Page MenuHomePhabricator

Disable unused services on maps nodes
Closed, ResolvedPublic

Description

Since we are now serving maps only using tegola and the tile pregeneration in tegola looks like its working fine i think its OK to disable cassandra and tilerator from maps masters.

  • Remove cassandra storage from kartotherian sources
  • Disable cassandra service
  • Disable tilerator service
  • Disable redis
  • Disable triggering tile pregeneration after OSM syncs

After we are confident with the changes running from both clusters for a couple of weeks with services disabled, we can completely decommission them from maps masters.

Event Timeline

Change 752145 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[operations/puppet@production] Disable tilerator in all envs maps are deployed

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

Jgiannelos renamed this task from Disable unused services on maps{1009,2009} nodes to Disable unused services on maps nodes.Jan 7 2022, 1:36 PM

Change 752145 merged by Hnowlan:

[operations/puppet@production] Disable tilerator in all envs maps are deployed

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

Change 753057 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] maps: add cassandra toggle, disable cassandra on maps hosts

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

Change 753058 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[maps/kartotherian/deploy@imposm] Disable cassandra dependency from sources

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

Change 753058 merged by jenkins-bot:

[maps/kartotherian/deploy@imposm] Disable cassandra dependency from sources

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

Change 753111 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[operations/puppet@production] Disable triggering tile pregeneration on OSM syncs

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

Change 753057 merged by Hnowlan:

[operations/puppet@production] maps: add cassandra toggle, disable cassandra on maps hosts

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

Change 757424 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] maps: tweak postgres configuration settings to use more resources

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

Change 757424 merged by Hnowlan:

[operations/puppet@production] maps: tweak postgres configuration settings to use more resources

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

Change 758829 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] maps: increase postgres resources across cluster

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

Change 758829 merged by Hnowlan:

[operations/puppet@production] maps: increase postgres resources across eqiad

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

Change 760619 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] maps: remove tilerator and cassandra

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

Change 753111 abandoned by Jgiannelos:

[operations/puppet@production] Disable triggering tile pregeneration on OSM syncs

Reason:

Tilerator to be removed completely

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

Change 860634 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] maps: remove Cassandra and Tilerator service

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

https://gerrit.wikimedia.org/r/c/operations/puppet/+/860634/ is a simpler attempt at this work - there are many tilerator-related variables that are used in configuration of still-desired services, so rather than strip everything out at once, remove Cassandra, Tilerator and TileratorUI to get the ball rolling (and most importantly, clean up a bunch of space from removing Cassandra to give us more breathing room during replication lag and planet imports).

Change 860634 merged by Hnowlan:

[operations/puppet@production] maps: remove Cassandra and Tilerator service

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

Change 865053 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] maps: remove tilerator::regen

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

Change 865053 merged by Hnowlan:

[operations/puppet@production] maps: remove tilerator::regen

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

Change 865056 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] maps: remove redis

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

Change 865056 merged by Hnowlan:

[operations/puppet@production] maps: remove redis

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

hnowlan changed the task status from Open to In Progress.Jan 9 2023, 3:28 PM
hnowlan claimed this task.
hnowlan triaged this task as Medium priority.
hnowlan updated the task description. (Show Details)

Change 760619 merged by Hnowlan:

[operations/puppet@production] maps: remove tilerator and cassandra

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

hnowlan updated the task description. (Show Details)
MoritzMuehlenhoff subscribed.

I think we should still remove Cassandra and Java packages on these hosts, otherwise it'll be confusing for all further Cassandra/Java updates if we have stale packages which are no longer referenecd by an apt source (and thus don't flag pending updates either)

Cassandra and Java packages removed!