Page MenuHomePhabricator

How to purge misc-web varnishes for wikitech changes?
Closed, ResolvedPublic

Description

Production mediawiki uses this:

$wgHTCPRouting = [
        '' => [
                'host' => '239.128.0.112',
                'port' => 4827
        ]
];

Wikitech is behind misc-web, so that will purge the wrong varnishes when a page on wikitech changes. Is there an equivalent multicast IP for the misc-web varnishes?

Event Timeline

Andrew triaged this task as Medium priority.Mar 7 2018, 10:52 PM
Andrew created this task.
Restricted Application removed a project: Patch-For-Review. · View Herald TranscriptMar 7 2018, 10:52 PM
bd808 updated the task description. (Show Details)Mar 7 2018, 10:53 PM
Andrew added a subscriber: BBlack.Mar 7 2018, 10:54 PM

@BBlack, I suspect you're the one who would know an answer for this

Restricted Application added a project: SRE. · View Herald TranscriptMar 7 2018, 10:54 PM
Krenair added a comment.EditedMar 7 2018, 11:36 PM

hieradata/role/common/cache/misc.yaml:profile::cache::base::purge_multicasts: ['239.128.0.115']
hieradata/role/common/cache/text.yaml:profile::cache::base::purge_multicasts: ['239.128.0.112']

did you try 239.128.0.115 ?

Edit: it's documented at https://wikitech.wikimedia.org/wiki/Multicast_HTCP_purging#Multicast_Addressing too

Change 417265 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/mediawiki-config@master] wikitech: on labweb, make mediawiki aware that it's behind varnishes

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

Change 417265 merged by jenkins-bot:
[operations/mediawiki-config@master] wikitech: on labweb, make mediawiki aware that it's behind varnishes

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

Andrew closed this task as Resolved.Mar 9 2018, 3:36 AM