Page MenuHomePhabricator

Fetch experiments configuration programmatically from CDN servers
Closed, ResolvedPublic

Description

Right now we are deploying a static configuration stored in the puppet repo. This is a temporary solution that needs to be replaced by proper dynamic updates running from the cp servers.

Config should be retrieved from the following endpoint: https://mpic.discovery.wmnet:30443/api/v1/experiments?authority=varnish&format=config

Related Objects

Event Timeline

Vgutierrez triaged this task as Medium priority.May 22 2025, 9:09 AM
Aklapper renamed this task from Fetch experiments configuration progamatically from CDN servers to Fetch experiments configuration programmatically from CDN servers.May 22 2025, 9:39 AM

Change #1149647 had a related patch set uploaded (by Vgutierrez; author: Vgutierrez):

[operations/puppet@production] systemd::timer: Allow setting FixedRandomDelay

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

Change #1149648 had a related patch set uploaded (by Vgutierrez; author: Vgutierrez):

[operations/puppet@production] systemd::timer::job: Allow setting accuracy and fixed_random_delay

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

Change #1149651 had a related patch set uploaded (by Vgutierrez; author: Vgutierrez):

[operations/puppet@production] varnish: Deploy edge uniques experiment fetcher

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

Change #1149647 merged by Vgutierrez:

[operations/puppet@production] systemd::timer: Allow setting FixedRandomDelay

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

Change #1149648 merged by Vgutierrez:

[operations/puppet@production] systemd::timer::job: Allow setting accuracy and fixed_random_delay

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

Change #1149651 merged by Vgutierrez:

[operations/puppet@production] varnish: Deploy edge uniques experiment fetcher

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

Change #1150596 had a related patch set uploaded (by Vgutierrez; author: Vgutierrez):

[operations/puppet@production] varnish: Fix wmfuniq_experiment_fetcher

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

Change #1150596 merged by Vgutierrez:

[operations/puppet@production] varnish: Fix wmfuniq_experiment_fetcher

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

Fetcher is working as expected, currently dropping the experiments configuration on /tmp:

(112) cp[2027-2042].codfw.wmnet,cp[6001-6016].drmrs.wmnet,cp[1100-1115].eqiad.wmnet,cp[5017-5032].eqsin.wmnet,cp[3066-3081].esams.wmnet,cp[7001-7016].magru.wmnet,cp[4037-4052].ulsfo.wmnet                                                                                                                                                                       
----- OUTPUT of 'md5sum /tmp/uniques.json' -----                                                                                                                                 
507f0ad25cd50bbcfd7c38b66f7c6905  /tmp/uniques.json

Change #1163301 had a related patch set uploaded (by Vgutierrez; author: Vgutierrez):

[operations/puppet@production] cache: Provide duration metrics on wmfuniq experiment fetcher

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

Change #1163301 merged by Vgutierrez:

[operations/puppet@production] cache: Provide duration metrics on wmfuniq experiment fetcher

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