Closed Bug 1884262 Opened 1 year ago Closed 1 year ago

Verify CCADB2OneCRL Cron Job is Running

Categories

(Cloud Services :: Operations: ccadb2onecrl, task)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bwilson, Assigned: ahoneiser)

Details

I would like to verify that the daily cron job is running properly for ccadb2onecrl, and I would like to learn more about how this tool runs. When I tried to run the routine manually from the GCP ccadb2OneCRL server, the log says:
"error": "authentication for production Kinto failed: Get "https://settings.stage.mozaws.net/v1/\": dial tcp: lookup settings.stage.mozaws.net on 169.254.169.254:53: no such host",
"file": "/home/kwilson/OneCRL-Tools/ccadb2OneCRL/main.go:132",
"func": "main._main",
"level": "error",
"msg": "update failed",
"time": "2024-03-07T21:46:53Z"
https://github.com/mozilla/OneCRL-Tools/blob/main/ccadb2OneCRL/README.md says that the cron job is weekly "The script has a single dependency on the local cron system being configured to read from /etc/cron.weekly/." But I thought the job was supposed to run daily at 9 or 10am PST.
I also tried to run main.go locally over the VPN and could not get it to work.

Summary: Verify Cron Job is Running → Verify CCADB2OneCRL Cron Job is Running

Apparently the cron job is running, https://bugzilla.mozilla.org/show_bug.cgi?id=1884400, but still, could someone contact me and point me to where that setting is?

Hey Ben,

the ccadb2OneCRL cronjob is running in cloudops Jenkins, on a daily basis, at 6pm CET, and doesn't show any errors right now (when over the last 7 runs, no issues present in the logs).

settings.stage.mozaws.net is a deprecated target .. We've migrated remote-settings to GCP a while ago, you can access the stage writer via VPN and remote-settings.allizom.org.

Flags: needinfo?(bwilson)

FYI @wezhou, I think I can take this over

Assignee: wezhou → ahoneiser
Flags: needinfo?(wezhou)
Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(bwilson)
Resolution: --- → WORKSFORME

(In reply to André Honeiser from comment #3)

FYI @wezhou, I think I can take this over

Thank you, André!

Flags: needinfo?(wezhou)
Resolution: WORKSFORME → FIXED
You need to log in before you can comment on or make changes to this bug.