Page MenuHomePhabricator

Replace Varnish backends with ATS on cache text nodes
Closed, ResolvedPublic

Description

This is the tracking task for the conversion of cache_text on-disk caches from Varnish to ATS. See T226589 for the similar, already completed, conversion of cache_upload.

DCs should be converted starting with the outer-most DCs, for example in the following order:

  • ulsfo
  • eqsin
  • esams
  • codfw
  • eqiad

Details

SubjectRepoBranchLines +/-
operations/puppetproduction+17 -12
operations/puppetproduction+3 -8
operations/puppetproduction+3 -8
operations/puppetproduction+3 -8
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+8 -5
operations/puppetproduction+14 -48
operations/puppetproduction+5 -4
operations/puppetproduction+15 -7
operations/puppetproduction+26 -6
operations/puppetproduction+24 -0
operations/puppetproduction+4 -4
operations/puppetproduction+41 -7
operations/puppetproduction+0 -1
operations/puppetproduction+1 -0
operations/puppetproduction+6 -40
operations/puppetproduction+8 -3
operations/puppetproduction+2 -16
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+2 -6
operations/puppetproduction+4 -4
operations/puppetproduction+8 -3
operations/puppetproduction+3 -8
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+1 -0
operations/puppetproduction+8 -3
operations/puppetproduction+6 -0
operations/puppetproduction+3 -8
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+6 -6
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+0 -27
operations/puppetproduction+3 -1
operations/puppetproduction+1 -0
operations/puppetproduction+8 -3
operations/puppetproduction+3 -0
operations/puppetproduction+3 -1
operations/puppetproduction+2 -2
operations/puppetproduction+3 -8
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+11 -4
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+1 -0
operations/puppetproduction+8 -3
operations/puppetproduction+2 -1
operations/puppetproduction+6 -0
operations/puppetproduction+3 -8
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/dnsmaster+3 -1
operations/dnsmaster+2 -0
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+1 -0
operations/puppetproduction+8 -3
operations/puppetproduction+2 -0
operations/puppetproduction+59 -0
operations/puppetproduction+55 -1
operations/puppetproduction+1 -1
operations/puppetproduction+2 -0
operations/puppetproduction+1 -1
operations/puppetproduction+3 -1
operations/puppetproduction+1 -2
operations/puppetproduction+2 -1
operations/puppetproduction+2 -1
operations/puppetproduction+3 -3
operations/puppetproduction+0 -104
operations/puppetproduction+13 -0
operations/puppetproduction+2 -0
operations/puppetproduction+3 -0
operations/puppetproduction+3 -2
operations/puppetproduction+6 -1
operations/puppetproduction+0 -2
operations/puppetproduction+13 -4
operations/puppetproduction+12 -4
operations/puppetproduction+1 -1
operations/puppetproduction+0 -17
operations/puppetproduction+9 -0
operations/puppetproduction+1 -1
operations/puppetproduction+1 -0
operations/puppetproduction+0 -1
operations/puppetproduction+4 -1
operations/puppetproduction+0 -9
operations/puppetproduction+1 -0
operations/puppetproduction+14 -0
operations/puppetproduction+17 -0
operations/puppetproduction+1 -1
operations/puppetproduction+4 -0
operations/puppetproduction+2 -0
operations/puppetproduction+11 -0
operations/puppetproduction+2 -0
operations/puppetproduction+337 -674
operations/puppetproduction+44 -18
operations/puppetproduction+39 -7
operations/puppetproduction+3 -1
operations/puppetproduction+18 -0
operations/puppetproduction+124 -0
operations/puppetproduction+48 -3
operations/puppetproduction+1 -1
operations/puppetproduction+1 -1
operations/puppetproduction+33 -1
operations/puppetproduction+608 -0
Show related patches Customize query in gerrit

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Completed auto-reimage of hosts:

['cp1077.eqiad.wmnet']

and were ALL successful.

Change 552245 merged by Ema:
[operations/puppet@production] otrs/phabricator: do not assume text nodes are defined

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

Change 552273 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] cache: reimage cp1079 as text_ats

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

Mentioned in SAL (#wikimedia-operations) [2019-11-21T14:49:32Z] <ema> depool cp1079 and reimage as text_ats T227432

Change 552273 merged by Ema:
[operations/puppet@production] cache: reimage cp1079 as text_ats

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

Script wmf-auto-reimage was launched by ema on cumin1001.eqiad.wmnet for hosts:

['cp1079.eqiad.wmnet']

The log can be found in /var/log/wmf-auto-reimage/201911211453_ema_89543.log.

Completed auto-reimage of hosts:

['cp1079.eqiad.wmnet']

and were ALL successful.

Change 552468 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] cache: reimage cp1081 as text_ats

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

Mentioned in SAL (#wikimedia-operations) [2019-11-22T08:49:52Z] <ema> depool cp1081 and reimage as text_ats T227432

Change 552468 merged by Ema:
[operations/puppet@production] cache: reimage cp1081 as text_ats

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

Script wmf-auto-reimage was launched by ema on cumin1001.eqiad.wmnet for hosts:

['cp1081.eqiad.wmnet']

The log can be found in /var/log/wmf-auto-reimage/201911220851_ema_38517.log.

Completed auto-reimage of hosts:

['cp1081.eqiad.wmnet']

and were ALL successful.

Change 552547 had a related patch set uploaded (by BBlack; owner: BBlack):
[operations/puppet@production] late_command: remove cpNNNN mkfs stuff

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

Change 552547 merged by BBlack:
[operations/puppet@production] late_command: remove cpNNNN mkfs stuff

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

Change 552825 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] Revert "cache: reimage cp3064 as text_ats"

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

Mentioned in SAL (#wikimedia-operations) [2019-11-25T14:45:58Z] <ema> depool cp3064 and reimage with varnish-be T227432

Change 552825 merged by Ema:
[operations/puppet@production] Revert "cache: reimage cp3064 as text_ats"

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

Change 552862 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] ATS: do not coalesce uncacheable requests

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

Change 552076 merged by Ema:
[operations/puppet@production] ATS: explicitly skip the cache instead of hiding CC

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

Change 552862 merged by Ema:
[operations/puppet@production] ATS: do not coalesce uncacheable requests

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

Change 553123 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] Revert "ATS: explicitly skip the cache instead of hiding CC"

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

Change 553125 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] Revert "ATS: do not coalesce uncacheable requests"

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

Change 553125 merged by Ema:
[operations/puppet@production] Revert "ATS: do not coalesce uncacheable requests"

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

Change 553123 merged by Ema:
[operations/puppet@production] Revert "ATS: explicitly skip the cache instead of hiding CC"

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

Change 553132 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] ATS: disable coalescing for some uncacheable requests

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

Change 554256 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] cache: reimage cp1083 as text_ats

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

Mentioned in SAL (#wikimedia-operations) [2019-12-03T10:01:22Z] <ema> depool cp1083 and reimage as text_ats T227432

Change 554256 merged by Ema:
[operations/puppet@production] cache: reimage cp1083 as text_ats

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

Script wmf-auto-reimage was launched by ema on cumin1001.eqiad.wmnet for hosts:

['cp1083.eqiad.wmnet']

The log can be found in /var/log/wmf-auto-reimage/201912031003_ema_133779.log.

Completed auto-reimage of hosts:

['cp1083.eqiad.wmnet']

and were ALL successful.

Change 555396 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] ATS: mark uncacheable responses as 'pass' in X-Cache-Int

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

Change 553132 merged by Ema:
[operations/puppet@production] ATS: pass uncacheable requests

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

Change 555396 abandoned by Ema:
ATS: mark uncacheable responses as 'pass' in X-Cache-Int

Reason:
The idea here is wrong. Thanks to hit-for-pass, Varnish can skip cache lookups and coalescing for responses that are known to be uncacheable. In ATS hfp does not exist, hence it would be wrong to label as "pass" things for which we did lookup the cache.

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

Change 556185 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] ATS: improve session/token match

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

Change 556185 merged by Ema:
[operations/puppet@production] ATS: improve session/token match

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

Change 556197 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] ATS: test setup for default.lua

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

Change 556197 merged by Ema:
[operations/puppet@production] ATS: test setup for default.lua

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

Change 556201 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] ATS: use set_server_resp_no_store, do not hide CC

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

Change 556217 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] ATS: lookup cache for cookie requests

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

Change 556201 merged by Ema:
[operations/puppet@production] ATS: use set_server_resp_no_store, do not hide CC

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

Mentioned in SAL (#wikimedia-operations) [2019-12-11T09:44:58Z] <ema> cp1075: repool ats-be after successful set_server_resp_no_store test P9849 T227432

Change 556217 merged by Ema:
[operations/puppet@production] ATS: lookup cache for cookie requests

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

Change 559356 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] cache: reimage cp1085 as text_ats

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

Change 559357 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] cache: reimage cp1087 as text_ats

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

Change 559358 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] Revert "Revert "cache: reimage cp3064 as text_ats""

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

Change 559359 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] Revert "Revert "cache: reimage cp2023 as text_ats""

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

Mentioned in SAL (#wikimedia-operations) [2019-12-19T07:53:23Z] <ema> depool cp1085 and reimage as text_ats T227432

Change 559356 merged by Ema:
[operations/puppet@production] cache: reimage cp1085 as text_ats

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

Script wmf-auto-reimage was launched by ema on cumin1001.eqiad.wmnet for hosts:

['cp1085.eqiad.wmnet']

The log can be found in /var/log/wmf-auto-reimage/201912190755_ema_74472.log.

Completed auto-reimage of hosts:

['cp1085.eqiad.wmnet']

and were ALL successful.

Mentioned in SAL (#wikimedia-operations) [2019-12-19T08:55:23Z] <ema> depool cp1087 and reimage as text_ats T227432

Change 559357 merged by Ema:
[operations/puppet@production] cache: reimage cp1087 as text_ats

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

Script wmf-auto-reimage was launched by ema on cumin1001.eqiad.wmnet for hosts:

['cp1087.eqiad.wmnet']

The log can be found in /var/log/wmf-auto-reimage/201912190859_ema_88921.log.

Mentioned in SAL (#wikimedia-operations) [2019-12-19T09:23:07Z] <ema> depool cp3064 and reimage as text_ats T227432

Completed auto-reimage of hosts:

['cp1087.eqiad.wmnet']

and were ALL successful.

Change 559358 merged by Ema:
[operations/puppet@production] Revert "Revert "cache: reimage cp3064 as text_ats""

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

Script wmf-auto-reimage was launched by ema on cumin1001.eqiad.wmnet for hosts:

['cp3064.esams.wmnet']

The log can be found in /var/log/wmf-auto-reimage/201912190926_ema_95045.log.

Completed auto-reimage of hosts:

['cp3064.esams.wmnet']

Of which those FAILED:

['cp3064.esams.wmnet']

Change 559440 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] cache: reimage cp1089 as text_ats

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

Mentioned in SAL (#wikimedia-operations) [2019-12-19T12:52:29Z] <ema> depool cp2023 and cp1089 for ATS reimages T227432. Reimaged together because of T238817

Change 559359 merged by Ema:
[operations/puppet@production] Revert "Revert "cache: reimage cp2023 as text_ats""

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

Change 559440 merged by Ema:
[operations/puppet@production] cache: reimage cp1089 as text_ats

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

Script wmf-auto-reimage was launched by ema on cumin1001.eqiad.wmnet for hosts:

['cp2023.codfw.wmnet']

The log can be found in /var/log/wmf-auto-reimage/201912191258_ema_139094.log.

Script wmf-auto-reimage was launched by ema on cumin1001.eqiad.wmnet for hosts:

['cp1089.eqiad.wmnet']

The log can be found in /var/log/wmf-auto-reimage/201912191259_ema_139391.log.

Completed auto-reimage of hosts:

['cp1089.eqiad.wmnet']

and were ALL successful.

Completed auto-reimage of hosts:

['cp2023.codfw.wmnet']

and were ALL successful.

ema claimed this task.
ema updated the task description. (Show Details)

cp2023 and cp1089 were the last two hosts running Varnish as backend cache. We now have exclusively ats-be across the fleet!

Change 577551 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] ATS: unset client req Accept-Encoding on ats-be

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

Change 577551 merged by Ema:
[operations/puppet@production] ATS: unset client req Accept-Encoding on ats-be

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