Page MenuHomePhabricator

Create production and canary releases for existent eventgate helmfile services
Closed, ResolvedPublic

Description

The eventgate chart has been refactored to support canary releases. Along the way, we stopped using the release name to differentiate the different app deployments of eventgate. Instead, we now use main_app.name. We should switch back to the convention of calling the production release of an app 'production', and also add a 'canary' release with a single replica.

  • eventgate-logging-external is not yet in use, so that can happen without any client disruption.

eventgate-analytics and eventgate-main are in use. For those we'll need to deploy the new production and canary releases alongside the 'analytics' and 'main' releases. To avoid port conflict, we'll have to pick new nodePorts for the 'production' release's Service. Once the new releases are deployed, we'll have to switch LVS to use the new ports.

eventgate-main will change ports from http 32192 and https 4292 to http 34192 and https 4492.
eventgate-analytics will change ports from http 31192 and https 4192 to http 35192 and https 4592.

Details

ProjectBranchLines +/-Subject
operations/deployment-chartsmaster+0 -16
operations/puppetproduction+0 -29
operations/deployment-chartsmaster+0 -58
operations/puppetproduction+0 -152
operations/puppetproduction+4 -4
operations/puppetproduction+4 -4
operations/puppetproduction+3 -3
operations/puppetproduction+8 -4
operations/mediawiki-configmaster+0 -25
operations/mediawiki-configmaster+5 -0
operations/mediawiki-configmaster+21 -1
operations/mediawiki-configmaster+1 -1
operations/puppetproduction+2 -2
analytics/refinerymaster+2 -2
operations/homer/publicmaster+3 -1
operations/puppetproduction+191 -13
operations/deployment-chartsmaster+177 -30
operations/deployment-chartsmaster+124 -21
operations/deployment-chartsmaster+0 -48
operations/deployment-chartsmaster+165 -21
Show related patches Customize query in gerrit

Event Timeline

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

Change 572960 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/puppet@production] Add new LVS services for new eventgate-main and eventgate-analytics ports

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

Ottomata updated the task description. (Show Details)

Change 572960 merged by Alexandros Kosiaris:
[operations/puppet@production] Add new LVS services for new eventgate-main and eventgate-analytics ports

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

Change 573307 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] Use new LVS port for eventgate-analytics

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

Change 573309 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[analytics/refinery@master] Change default swift event_service_url to new eventgate-analytics port

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

Change 562842 had a related patch set uploaded (by Elukey; owner: Elukey):
[operations/homer/public@master] Add ports and codfw LVS IP to term eventgate-analytics in analytics-in4

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

Change 562842 merged by Elukey:
[operations/homer/public@master] Add ports and codfw LVS IP to term eventgate-analytics in analytics-in4

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

Change 573317 had a related patch set uploaded (by DCausse; owner: DCausse):
[operations/puppet@production] [wdqs] use https and 4592 for eventgate-analytics endpoint

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

Mentioned in SAL (#wikimedia-operations) [2020-02-19T16:05:20Z] <elukey> Update analytics-in4 filter term eventgate for T245203 on cr1/cr2 eqiad

Change 573309 merged by Ottomata:
[analytics/refinery@master] Change default swift event_service_url to new eventgate-analytics port

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

Change 573317 merged by Ottomata:
[operations/puppet@production] [wdqs] use https and 4592 for eventgate-analytics endpoint

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

Mentioned in SAL (#wikimedia-operations) [2020-02-19T16:24:55Z] <otto@deploy1001> Started deploy [analytics/refinery@e23918a]: Updating eventgate-analytics port (T245203) and also eventlogging whitelist

Mentioned in SAL (#wikimedia-operations) [2020-02-19T16:37:22Z] <otto@deploy1001> Finished deploy [analytics/refinery@e23918a]: Updating eventgate-analytics port (T245203) and also eventlogging whitelist (duration: 12m 27s)

Re-deployed our glent esbulk oozie job against refinery versioned 2020-02-19T16.58.16+00.00--scap_sync_2020-02-19_0001. Additionally shipped an update to our airflow scheduler that changes the eventgate port used there as well.

Ottomata updated the task description. (Show Details)

Change 573307 merged by Ottomata:
[operations/mediawiki-config@master] Use new LVS port for eventgate-analytics

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

Mentioned in SAL (#wikimedia-operations) [2020-03-02T15:20:11Z] <ottomata> Use new LVS port for EventBus+monolog for eventgate-analytics - T245203

Mentioned in SAL (#wikimedia-operations) [2020-03-02T15:20:57Z] <otto@deploy1001> Synchronized wmf-config/ProductionServices.php: Use new LVS port for EventBus+monolog for eventgate-analytics - T245203 (duration: 00m 56s)

Change 576066 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] Use new LVS port for eventgate-main

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

Change 576066 merged by Ottomata:
[operations/mediawiki-config@master] Use new LVS port for eventgate-main in group0 wikis

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

Mentioned in SAL (#wikimedia-operations) [2020-03-02T18:38:03Z] <ottomata> using new eventgate-main LVS ports for eventbus on group0 wikis - T245203

Mentioned in SAL (#wikimedia-operations) [2020-03-02T18:39:13Z] <otto@deploy1001> Synchronized wmf-config/LabsServices.php: Use new LVS port for EventBus for eventgate-main on group0 wikis - T245203 (duration: 00m 58s)

Mentioned in SAL (#wikimedia-operations) [2020-03-02T18:41:33Z] <otto@deploy1001> Synchronized wmf-config/ProductionServices.php: Use new LVS port for EventBus for eventgate-main on group0 wikis - T245203 (duration: 00m 57s)

Mentioned in SAL (#wikimedia-operations) [2020-03-02T18:43:15Z] <otto@deploy1001> Synchronized wmf-config/CommonSettings.php: Use new LVS port for EventBus for eventgate-main on group0 wikis - T245203 (duration: 00m 56s)

Mentioned in SAL (#wikimedia-operations) [2020-03-02T18:45:12Z] <otto@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Use new LVS port for EventBus for eventgate-main on group0 wikis - T245203 (duration: 00m 57s)

Change 576115 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] Use new LVS port for eventgate-main in group1 wikis

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

Change 576115 merged by Ottomata:
[operations/mediawiki-config@master] Use new LVS port for eventgate-main in group1 wikis

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

Mentioned in SAL (#wikimedia-operations) [2020-03-02T18:53:11Z] <otto@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Use new LVS port for EventBus for eventgate-main on group1 wikis - T245203 (duration: 00m 57s)

Change 576117 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] Use new LVS port for eventgate-main in all wikis

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

Change 576117 merged by Ottomata:
[operations/mediawiki-config@master] Use new LVS port for eventgate-main in all wikis

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

Mentioned in SAL (#wikimedia-operations) [2020-03-02T18:58:55Z] <otto@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Use new LVS port for EventBus for eventgate-main on all wikis - T245203 (duration: 00m 56s)

Mentioned in SAL (#wikimedia-operations) [2020-03-02T19:01:55Z] <otto@deploy1001> Synchronized wmf-config/CommonSettings.php: Use new LVS port for EventBus for eventgate-main on all wikis - T245203 (duration: 00m 57s)

Mentioned in SAL (#wikimedia-operations) [2020-03-02T19:03:06Z] <otto@deploy1001> Synchronized wmf-config/LabsServices.php: Use new LVS port for EventBus for eventgate-main on all wikis - T245203 (duration: 00m 56s)

Mentioned in SAL (#wikimedia-operations) [2020-03-02T19:04:26Z] <otto@deploy1001> Synchronized wmf-config/ProductionServices.php: Use new LVS port for EventBus for eventgate-main on all wikis - T245203 (duration: 00m 56s)

Change 576361 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/puppet@production] Remove monitoring and alerting for eventgate to-delete services

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

Change 576361 merged by Ottomata:
[operations/puppet@production] Remove monitoring and alerting for eventgate to-delete services

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

Change 576370 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/puppet@production] Switch change-prop and restbase event_service_uri to new TLS eventgate-main

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

Change 576370 merged by Ottomata:
[operations/puppet@production] Switch change-prop and restbase event_service_uri to new TLS eventgate-main

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

Change 576396 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/puppet@production] Set eventgate-*-to-delete LVS services to state: service_setup

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

Change 576396 merged by Ottomata:
[operations/puppet@production] Set eventgate-*-to-delete LVS services to state: lvs_setup

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

Change 576402 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/puppet@production] Set eventgate-*-to-delete LVS services to state: service_setup

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

Change 576402 merged by Alexandros Kosiaris:
[operations/puppet@production] Set eventgate-*-to-delete LVS services to state: service_setup

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

Mentioned in SAL (#wikimedia-operations) [2020-03-04T14:18:52Z] <akosiaris> cleanup old LVS eventgate services. T245203

I 've merged https://gerrit.wikimedia.org/r/576402 and manually cleaned the various IPVS services that were now unknown to pybal.

Change 576865 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/puppet@production] Remove unsed eventgate*-to-delete LVS service declarations

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

Change 576865 merged by Ottomata:
[operations/puppet@production] Remove unsed eventgate*-to-delete LVS service declarations

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

Change 576871 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/deployment-charts@master] Remove unused 'main' and 'analytics' releases from eventgate helmfiles

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

Change 576871 merged by Ottomata:
[operations/deployment-charts@master] Remove unused 'main' and 'analytics' releases from eventgate helmfiles

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

Ottomata set Final Story Points to 21.

Change 578365 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] lvs: delete legacy eventgate monitors

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

Change 578365 merged by Filippo Giunchedi:
[operations/puppet@production] lvs: delete legacy eventgate monitors

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

Change 578581 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/deployment-charts@master] eventgate-main - remove unused 'main' release from staging helmfile

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

Change 578581 merged by Ottomata:
[operations/deployment-charts@master] eventgate-main - remove unused 'main' release from staging helmfile

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