Page MenuHomePhabricator

AQS 2.0: Geo Analytics Service Deploy to Staging and production
Closed, ResolvedPublic

Description

Background/Goal

Key task for T288305: AQS 2.0: Geo Analytics Service

Required:

  • Add blubber and pipeline configuration to geo-analytics repo (review)
  • Integrate geo-analytics image building in CI pipeline (review 1, 2)
  • Add geo-analytics Cassandra user (review)
  • Add k8s secrets
  • Create deployment-charts helmfile.d configuration entries (review)
  • Add service catalogue entry for geo-analytics (review)
  • Run smoke tests against staging and certify service is working properly
  • Deploy geo-analytics to LVS in state service_setup
  • Move geo-analytics lvs_setup in LVS
  • Move geo-analytics production in LVS
  • Add geo-analytics to the API Gateway
  • Route public requests via ATS

Done is

QA notes

Artifacts & Resources

Templates, instructions, and other useful documentation

Details

SubjectRepoBranchLines +/-
operations/deployment-chartsmaster+6 -1
operations/deployment-chartsmaster+17 -1
operations/puppetproduction+1 -0
operations/deployment-chartsmaster+8 -2
operations/deployment-chartsmaster+13 -1
operations/deployment-chartsmaster+24 -2
operations/puppetproduction+2 -2
operations/dnsmaster+6 -0
operations/deployment-chartsmaster+260 -275
operations/puppetproduction+14 -0
operations/deployment-chartsmaster+1 -1
operations/deployment-chartsmaster+390 -0
generated-data-platform/aqs/geo-analyticsmain+113 -66
integration/configmaster+10 -0
integration/configmaster+15 -0
operations/puppetproduction+1 -0
operations/puppetproduction+9 -0
Show related patches Customize query in gerrit

Event Timeline

JArguello-WMF edited projects, added AQS2.0; removed Epic, Data-Engineering, User-Eevans.
JArguello-WMF added a subscriber: BPirkle.
JArguello-WMF renamed this task from Geo Analytics Service Deploy to Staging and production to AQS 2.0: Geo Analytics Service Deploy to Staging and production.May 10 2023, 2:15 PM

Hi @hnowlan We have prioritised deployment of geo-analytics post device-analytics . It therefore needs to be deployed to staging once @EChukwukere-WMF signs off local testing .

Before we can deploy to staging or production we will need a docker image built from the codebase using similar methods as to the .pipeline directory in the device-analytics repo.

hnowlan updated the task description. (Show Details)

Change 941374 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/deployment-charts@master] WIP helmfile: add namespace and service definition for geo-analytics

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

hnowlan updated the task description. (Show Details)

Change 947860 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[integration/config@master] jjb: add entry for geo-analytics service

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

Change 947861 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[integration/config@master] zuul: add geo-analytics configuration

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

Change 947862 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] deployment_server: add new service geo-analytics

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

Change 947864 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] service, conftool: add base configuration for geo-analytics

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

Change 949560 had a related patch set uploaded (by Santiago Faci; author: Santiago Faci):

[generated-data-platform/aqs/geo-analytics@main] Deployment and QA test suite using docker: Added the needed blubber file for deployment and some changes to be able to create a dockerized service and run it with the cassandra test-env to be able to run QA test suite using docker

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

Change 947862 merged by Hnowlan:

[operations/puppet@production] deployment_server: add new service geo-analytics

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

Change 949947 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] aqs: enable geo_analytics user

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

Change 949947 merged by Hnowlan:

[operations/puppet@production] aqs: enable geo_analytics user

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

Change 947860 merged by jenkins-bot:

[integration/config@master] jjb: add entry for geo-analytics service

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

Change 947861 merged by jenkins-bot:

[integration/config@master] zuul: add geo-analytics configuration

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

Change 951544 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/deployment-charts@master] helmfile: add entries and namespace for media-analytics service

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

Change 949560 merged by Santiago Faci:

[generated-data-platform/aqs/geo-analytics@main] Added deployment and QA test suite using docker files

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

Change 941374 merged by jenkins-bot:

[operations/deployment-charts@master] helmfile: add namespace and service definition for geo-analytics

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

Change 953258 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/deployment-charts@master] geo-analytics: use ingress

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

Change 953258 merged by jenkins-bot:

[operations/deployment-charts@master] geo-analytics: use ingress

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

Change 947864 merged by Hnowlan:

[operations/puppet@production] service, conftool: add base configuration for geo-analytics

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

Change 953283 had a related patch set uploaded (by JMeybohm; author: JMeybohm):

[operations/deployment-charts@master] AQS2: Move common settings (AQS cassandra nodes) to _aqs2-common_

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

Change 953283 merged by jenkins-bot:

[operations/deployment-charts@master] AQS2: Move common settings (AQS cassandra nodes) to _aqs2-common_

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

Change 953311 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/dns@master] wmnet: add geo-analytics and media-analytics ingress records

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

Change 953311 merged by Hnowlan:

[operations/dns@master] wmnet: add geo-analytics and media-analytics ingress records

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

Change 954067 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] service: move geo-analytics and media-analytics to production

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

Change 954067 merged by Hnowlan:

[operations/puppet@production] service: move geo-analytics and media-analytics to production

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

@hnowlan We sign off that this is ready to go!Thanks!

Change 954888 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/deployment-charts@master] rest-gateway: route requests to geo-analytics

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

Change 954890 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] trafficserver: route requests for geo-analytics via rest-gateway

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

Change 954888 merged by jenkins-bot:

[operations/deployment-charts@master] rest-gateway: route requests to geo-analytics

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

Change 955320 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/deployment-charts@master] rest-gateway: preserve cluster hostname when using ingress

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

Change 955320 merged by jenkins-bot:

[operations/deployment-charts@master] rest-gateway: preserve cluster hostname when using ingress

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

Change 955912 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/deployment-charts@master] rest-gateway: set SNI when using ingress

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

Change 955912 merged by jenkins-bot:

[operations/deployment-charts@master] rest-gateway: set SNI when using ingress

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

Change 954890 merged by Hnowlan:

[operations/puppet@production] trafficserver: route requests for geo-analytics via rest-gateway

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

Change 956826 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/deployment-charts@master] rest-gateway: add config to limit routes to a domain, limit aqs2 apis to wikimedia.org

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

Change 956833 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/deployment-charts@master] api-gateway: emit cache-control header for 404s

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

Change 956826 merged by jenkins-bot:

[operations/deployment-charts@master] rest-gateway: add config to limit routes to a domain, limit aqs2 apis to wikimedia.org

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