Page MenuHomePhabricator

Remove product-analytics-movement-metrics systemd timer
Closed, ResolvedPublic

Description

FAIL: product-analytics-movement-metrics

Systemd timer ran the following command:

    /usr/local/bin/kerberos-run-command analytics-product /srv/product_analytics/jobs/movement_metrics/main.sh

Its return value was 1 and emitted the following output:

We actually no longer need the systemd timer in https://gerrit.wikimedia.org/g/operations/puppet/+/c2caf91758e7fc32817701b76af688b17e6614e8/modules/statistics/manifests/product_analytics.pp (established in T291957)

(Movement Insights has moved repos and are using Airflow for that data pipeline. @mpopov has archived the repo analytics/wmf-product/jobs referenced by the git clone in Puppet.)

In fact, we can just clear out the Product Analytics entry from misc jobs https://gerrit.wikimedia.org/g/operations/puppet/+/c2caf91758e7fc32817701b76af688b17e6614e8/modules/profile/manifests/statistics/explorer/misc_jobs.pp

Acceptance Criteria

  • statistics::product_analytics is gone Puppet repo
  • stat1011.eqiad.wmnet:/srv/product_analytics is gone (stat1011 is the host with the misc jobs (source))
  • class { 'statistics::product_analytics': } is gone from profile::statistics::explorer::misc_jobs

Event Timeline

thank you @mpopov ! any action item for Movement Insights here?

Nope, no action from Movement Insights needed. Thanks for asking!

Change #1188437 had a related patch set uploaded (by Bearloga; author: Bearloga):

[operations/puppet@production] statistics: remove product_analytics

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

Gehel subscribed.

The attached patch only stops managing the resources, but does not remove them. Either a manual cleanup is needed, or an intermediate patch to cleanup.

BTullis triaged this task as Medium priority.Sep 17 2025, 9:16 AM

Change #1189204 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/puppet@production] Remove the manifests for the absented product_analytics jobs

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

Change #1188437 merged by Btullis:

[operations/puppet@production] Absent the resources in statistics::product_analytics

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

Change #1189204 merged by Btullis:

[operations/puppet@production] Remove the manifests for the absented product_analytics jobs

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

BTullis updated the task description. (Show Details)
BTullis added a project: Essential-Work.