Page MenuHomePhabricator

specify group (api/vslow/etc) weights in terms of 0..100 instead of 0..1
Closed, ResolvedPublic

Description

With weights for api/recentchanges/vslow/etc groups being in terms of 0..1, it's impossible to do slow warmups of traffic to those groups.

Configurations should be edited to change all 1 weights into 100 weights (scaling the few non-1 weights as necessary). If done for all instances at once, this shouldn't have any impact.

If it would be helpful I think I could come up with some shell scripting to automate this transformation.

  • s1
  • s2
  • s3
  • s4
  • s5
  • s6
  • s7
  • s8
  • x1 (only main traffic)
  • es1 (only main traffic)
  • es2 (only main traffic)
  • es3 (only main traffic)

Related Objects

Mentioned Here
P9891 dbctl commit (dc=all): 'Change weights from 1 to 100 on es3 slaves in eqiad and codfw - T231018'
P9890 dbctl commit (dc=all): 'Change weights from 1 to 100 on es2 slaves in eqiad and codfw - T231018'
P9881 dbctl commit (dc=all): 'Change weights from 1 to 100 on es1 slaves in eqiad and codfw - T231018'
P9880 dbctl commit (dc=all): 'Change weights from 1 to 100 on x1 slaves in eqiad and codfw - T231018'
P9451 dbctl commit (dc=all): 'Change weights to x100 on s8 eqiad - T231018'
P9450 dbctl commit (dc=all): 'Change weights to x100 on s8 codfw - T231018'
P9449 dbctl commit (dc=all): 'Change weights to x100 on s7 eqiad - T231018'
P9448 dbctl commit (dc=all): 'Change weights to x100 on s7 codfw - T231018'
P9447 dbctl commit (dc=all): 'Change weights to x100 on s6 eqiad - T231018'
P9446 dbctl commit (dc=all): 'Change weights to x100 on s6 codfw - T231018'
P9425 dbctl commit (dc=all): 'Change weights to x100 on s4 eqiad - T231018'
P9424 dbctl commit (dc=all): 'Change weights to x100 on s4 codfw - T231018'
P9411 dbctl commit (dc=all): 'Change weights 1/2 to 100/200 on s2 codfw - T231018'
P9410 dbctl commit (dc=all): 'Change weights 1/2 to 100/200 on s2 eqiad - T231018'
P9405 dbctl commit (dc=all): 'Change weights from 1 to 100 on s1 eqiad - T231018'
P9404 dbctl commit (dc=all): 'Change weights from 1 to 100 on s1 codfw - T231018'
P9369 dbctl commit (dc=all): 'Change special weights from x to x100 on s5 - T231018'
P9201 dbctl commit (dc=all): 'Change special weights from 1 to 100 - T231018'

Event Timeline

Marostegui triaged this task as Medium priority.Sep 6 2019, 10:05 AM

Mentioned in SAL (#wikimedia-operations) [2019-09-26T08:22:34Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change special weights from 1 to 100 - T231018', diff saved to https://phabricator.wikimedia.org/P9201 and previous config saved to /var/cache/conftool/dbconfig/20190926-082233-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-17T06:02:52Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change special weights from x to x100 on s5 - T231018', diff saved to https://phabricator.wikimedia.org/P9369 and previous config saved to /var/cache/conftool/dbconfig/20191017-060251-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-21T07:01:20Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights from 1 to 100 on s1 codfw - T231018', diff saved to https://phabricator.wikimedia.org/P9404 and previous config saved to /var/cache/conftool/dbconfig/20191021-070119-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-21T07:03:53Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights from 1 to 100 on s1 eqiad - T231018', diff saved to https://phabricator.wikimedia.org/P9405 and previous config saved to /var/cache/conftool/dbconfig/20191021-070352-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-21T13:21:46Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights 1/2 to 100/200 on s2 eqiad - T231018', diff saved to https://phabricator.wikimedia.org/P9410 and previous config saved to /var/cache/conftool/dbconfig/20191021-132145-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-21T13:24:41Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights 1/2 to 100/200 on s2 codfw - T231018', diff saved to https://phabricator.wikimedia.org/P9411 and previous config saved to /var/cache/conftool/dbconfig/20191021-132440-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-22T09:10:52Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights to x100 on s4 codfw - T231018', diff saved to https://phabricator.wikimedia.org/P9424 and previous config saved to /var/cache/conftool/dbconfig/20191022-091051-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-22T09:13:28Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights to x100 on s4 eqiad - T231018', diff saved to https://phabricator.wikimedia.org/P9425 and previous config saved to /var/cache/conftool/dbconfig/20191022-091327-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-23T07:35:57Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights to x100 on s6 codfw - T231018', diff saved to https://phabricator.wikimedia.org/P9446 and previous config saved to /var/cache/conftool/dbconfig/20191023-073556-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-23T07:38:33Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights to x100 on s6 eqiad - T231018', diff saved to https://phabricator.wikimedia.org/P9447 and previous config saved to /var/cache/conftool/dbconfig/20191023-073831-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-23T07:48:30Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights to x100 on s7 codfw - T231018', diff saved to https://phabricator.wikimedia.org/P9448 and previous config saved to /var/cache/conftool/dbconfig/20191023-074828-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-23T07:51:07Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights to x100 on s7 eqiad - T231018', diff saved to https://phabricator.wikimedia.org/P9449 and previous config saved to /var/cache/conftool/dbconfig/20191023-075106-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-23T08:09:00Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights to x100 on s8 codfw - T231018', diff saved to https://phabricator.wikimedia.org/P9450 and previous config saved to /var/cache/conftool/dbconfig/20191023-080857-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-10-23T08:22:47Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights to x100 on s8 eqiad - T231018', diff saved to https://phabricator.wikimedia.org/P9451 and previous config saved to /var/cache/conftool/dbconfig/20191023-082246-marostegui.json

Marostegui claimed this task.
Marostegui updated the task description. (Show Details)
Marostegui added a subscriber: Marostegui.

All the weights have been migrated to x100, so we can now warm up api,vslow,dump,rc hosts

Marostegui reopened this task as Open.EditedDec 16 2019, 2:13 PM
Marostegui updated the task description. (Show Details)

We have to include x1, es1, es2, es3

Mentioned in SAL (#wikimedia-operations) [2019-12-16T16:03:47Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights from 1 to 100 on x1 slaves in eqiad and codfw - T231018', diff saved to https://phabricator.wikimedia.org/P9880 and previous config saved to /var/cache/conftool/dbconfig/20191216-160346-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-12-16T16:37:13Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights from 1 to 100 on es1 slaves in eqiad and codfw - T231018', diff saved to https://phabricator.wikimedia.org/P9881 and previous config saved to /var/cache/conftool/dbconfig/20191216-163712-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-12-17T06:17:08Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights from 1 to 100 on es2 slaves in eqiad and codfw - T231018', diff saved to https://phabricator.wikimedia.org/P9890 and previous config saved to /var/cache/conftool/dbconfig/20191217-061707-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2019-12-17T06:20:02Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Change weights from 1 to 100 on es3 slaves in eqiad and codfw - T231018', diff saved to https://phabricator.wikimedia.org/P9891 and previous config saved to /var/cache/conftool/dbconfig/20191217-061959-marostegui.json

Marostegui updated the task description. (Show Details)