Closed Bug 1689168 Opened 5 years ago Closed 5 years ago

Historical logs are not available in WTMO

Categories

(Data Platform and Tools Graveyard :: Operations, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: frank, Assigned: hwoo)

Details

As far as I can tell, all historical logs are broken with the following error (this one is specific for probe-scraper, but all others I looked at had the same error):

*** Log file does not exist: /app/logs/probe_scraper/probe_scraper/2020-12-23T00:00:00/1.log
*** Fetching from: http://airflow-prod-airflow-app-1-worker-1.airflow-prod-airflow-app-1-worker.prod-airflow.svc.cluster.local:8793/log/probe_scraper/probe_scraper/2020-12-23T00:00:00/1.log
*** Failed to fetch log file from worker. 404 Client Error: NOT FOUND for url: http://airflow-prod-airflow-app-1-worker-1.airflow-prod-airflow-app-1-worker.prod-airflow.svc.cluster.local:8793/log/probe_scraper/probe_scraper/2020-12-23T00:00:00/1.log

This is probably related to increasing slot capacity by adding workers.

https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#logging

It looks like we used to have this writing to gcs until Feb 2020, at which an upgrade likely was still referencing deprecated logging configuration values in [core] instead of in the newer location [logging].

PR to fix
https://github.com/mozilla-services/cloudops-infra/pull/2845/files

Deployment to happen later, as today we may deal with IAM issues related to https://github.com/mozilla-services/cloudops-infra/issues/2777

Assignee: nobody → hwoo
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Type: defect → task
Product: Data Platform and Tools → Data Platform and Tools Graveyard
You need to log in before you can comment on or make changes to this bug.