Page MenuHomePhabricator

Decommission query-preview.wikidata.org
Closed, ResolvedPublic

Description

query-preview was exposed publicly to help our users test the impact of the Streaming Updater back in October 2021. Now that this roll out is completed, we should close that end point (but keep the backend server running for internal testing). This will reduce confusion within our team, but also for our users and for the larger SRE teams.

AC:

  • query-preview is no longer accessible
  • supporting code and configuration is removed, not exhaustive list:
  • DNS configuration
  • Traffic / caching configuration (ATS)
  • removed from http blackbox tests
  • not in monitoring
  • removed from profile::microsites::query_service
  • customization of UI
  • TLS cert and associated cergen config (puppet private repo)

Event Timeline

Gehel triaged this task as High priority.Apr 3 2023, 3:41 PM
Gehel moved this task from Incoming to Operations/SRE on the Wikidata-Query-Service board.

Change 905292 had a related patch set uploaded (by Dzahn; author: Dzahn):

[operations/puppet@production] trafficserver/wdqs: switch query-preview.wikidata.org to new backend

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

Change 905317 had a related patch set uploaded (by Dzahn; author: Dzahn):

[operations/puppet@production] wdqs/wcqs: switch query.wikidata.org and wcqs to bullseye backends

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

Change 905292 merged by Dzahn:

[operations/puppet@production] trafficserver/wdqs: switch query-preview.wikidata.org to new backend

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

RKemper renamed this task from Decommission query-preview.wikdiata.org to Decommission query-preview.wikidata.org.Apr 3 2023, 9:51 PM

We switched this from eqiad to codfw and from buster to bullseye - There was no need to rush the decom but we wanted to get off of buster.

I think I also misunderstood this ticket at first but we chatted on IRC now.

So.. if you really want this removed from the miscweb* backends and everything about it is gone from wdqs* machines.. it's ok to simply assign this to me. I will gladly clean up the miscweb* part since I am alreayd working on these anyways.

Hi and thank you for your interest! Please check thoroughly https://www.mediawiki.org/wiki/New_Developers (and all of its communication section!). The page covers how to get started, assigning tasks, task status, how to find a codebase, how to create patches, where to ask general development questions and where to get help with setup problems, and how to ask good questions. Thanks a lot! :)

@Gehel Happy to work on this. how about this:

  • query-preview is no longer accessible (I remove it from DNS)
  • DNS configuration (same as above)
  • Traffic / caching configuration (dont worry, I'll do that)
  • Apache config on backend, monitoring, logging (don't worry, I'll do that)
  • customization of UI (that's for you?)
  • anything on wdqs* machines or in documentation on public wikis (that's for your team)

Change 905317 merged by Dzahn:

[operations/puppet@production] wdqs/wcqs: switch query.wikidata.org and wcqs to bullseye backends

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

Change 905754 had a related patch set uploaded (by Dzahn; author: Dzahn):

[operations/dns@master] delete query-preview.wikidata.org

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

@Lydia_Pintscher Any concerns or thoughts on the removal of query-preview.wikidata.org from your side? cheers

Thank you, I will wait for ack from Gehel and if so just remove it from DNS which is simple to revert. Then after that the other decom steps can follow.

hi @RKemper was wondering if you can bring this one up in your team meeting or so (no rush, but would be nice to have): https://gerrit.wikimedia.org/r/c/operations/dns/+/905754 cheers, Daniel

hi @RKemper was wondering if you can bring this one up in your team meeting or so (no rush, but would be nice to have): https://gerrit.wikimedia.org/r/c/operations/dns/+/905754 cheers, Daniel

Thanks Daniel.

Yeah, I think we're good to merge this whenever. I'll take a look at merging it tomorrow (Thurs) if it still needs to be.

As for the following bullet points (quoted below for convenience), I think these sound sensible to me as far as divying up the work:

query-preview is no longer accessible (I remove it from DNS)
DNS configuration (same as above)
Traffic / caching configuration (dont worry, I'll do that)
Apache config on backend, monitoring, logging (don't worry, I'll do that)
customization of UI (that's for you?)
anything on wdqs* machines or in documentation on public wikis (that's for your team)

Thank you, Ryan, sounds good !:)

Change 908631 had a related patch set uploaded (by Dzahn; author: Dzahn):

[operations/puppet@production] ATS: remove map for query-preview.wikidata.org

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

Change 908631 merged by Dzahn:

[operations/puppet@production] ATS: remove map for query-preview.wikidata.org

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

We have deactivated the service at the caching layer (Apache Traffic Server) first.

Now https://query-preview.wikidata.org redirects to https://wikidata.org due to some rewrite rule.

We are going to delete it from DNS next though.

Change 908633 had a related patch set uploaded (by Dzahn; author: Dzahn):

[operations/puppet@production] httpbb: remove query-preview.wikidata.from tests for miscweb

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

Change 908633 merged by Dzahn:

[operations/puppet@production] httpbb: remove query-preview.wikidata.from tests for miscweb

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

Change 908634 had a related patch set uploaded (by Dzahn; author: Dzahn):

[operations/puppet@production] microsites/query_service: remove query-preview.wikidata.org

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

Dzahn updated the task description. (Show Details)

Change 908635 had a related patch set uploaded (by Ryan Kemper; author: Ryan Kemper):

[operations/puppet@production] wdqs: remove query-preview microsite

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

Change 908634 abandoned by Dzahn:

[operations/puppet@production] microsites/query_service: remove query-preview.wikidata.org

Reason:

duplicates https://gerrit.wikimedia.org/r/c/operations/puppet/+/908635/

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

Change 905754 merged by Ryan Kemper:

[operations/dns@master] delete query-preview.wikidata.org

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

Mentioned in SAL (#wikimedia-operations) [2023-04-13T22:00:30Z] <ryankemper> T333656 ryankemper@dns1001:~$ sudo -i authdns-update after merge of https://gerrit.wikimedia.org/r/905754 => OK - authdns-update successful on all nodes!

Change 908635 merged by Ryan Kemper:

[operations/puppet@production] wdqs: remove query-preview microsite

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

It was nice working with Ryan today on getting this decom'ed.

We did almost all the steps and all done from my side and my team will like this. Thank you.

Handing over for some minor follow-up. By all practical means this is done though. Service is gone from production.

(also double checked that puppet alone, without manual restarts, actually removes the virtual host from the running apaches on miscweb)

Dzahn lowered the priority of this task from High to Medium.Apr 13 2023, 10:27 PM