secrets expiration doesn't run in heroku

RESOLVED FIXED

Status

Taskcluster
Secrets
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: dustin, Assigned: dustin)

Tracking

Details

The secrets dyno is not set up with a scheduler, so it's not running.
I set up the heroku scheduler, and it seems to be working:

Dec 28 07:42:31 taskcluster-secrets heroku/scheduler.4484: Starting process with command `babel-node bin/expire-secrets.js production` 
Dec 28 07:42:35 taskcluster-secrets app/scheduler.4484: Mon, 28 Dec 2015 15:42:34 GMT secrets:expire-secrets Launching with profile: production 
Dec 28 07:42:35 taskcluster-secrets app/scheduler.4484: Mon, 28 Dec 2015 15:42:34 GMT azure:table Refreshing shared-access-signature 
Dec 28 07:42:35 taskcluster-secrets app/scheduler.4484: Mon, 28 Dec 2015 15:42:34 GMT secrets:expire-secrets Expiring secrets 
Dec 28 07:42:35 taskcluster-secrets app/scheduler.4484: Mon, 28 Dec 2015 15:42:34 GMT taskcluster-client Calling: azureTableSAS, retry: 0 
Dec 28 07:42:35 taskcluster-secrets app/scheduler.4484: Mon, 28 Dec 2015 15:42:35 GMT taskcluster-client Success calling: azureTableSAS, (0 retries) 
Dec 28 07:42:35 taskcluster-secrets app/scheduler.4484: Mon, 28 Dec 2015 15:42:35 GMT azure:table Refreshed shared-access-signature, will refresh in 1451317955000 ms 
Dec 28 07:42:35 taskcluster-secrets app/scheduler.4484: Mon, 28 Dec 2015 15:42:35 GMT azure:table Request: GET /Secrets(), retry: 0 
Dec 28 07:42:36 taskcluster-secrets app/scheduler.4484: Mon, 28 Dec 2015 15:42:35 GMT secrets:expire-secrets Expired %i secrets 0 
Dec 28 07:42:36 taskcluster-secrets app/scheduler.4484: Mon, 28 Dec 2015 15:42:35 GMT base:stats Sending points to influxdb 
Dec 28 07:42:36 taskcluster-secrets app/scheduler.4484: Mon, 28 Dec 2015 15:42:36 GMT secrets:expire-secrets Expired secrets successfully 
Dec 28 07:42:36 taskcluster-secrets heroku/scheduler.4484: Process exited with status 0 
Dec 28 07:42:57 taskcluster-secrets heroku/scheduler.4484: State changed from starting to up 
Dec 28 07:42:57 taskcluster-secrets heroku/scheduler.4484: State changed from up to complete
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Dustin, looks like the secrets service has been down since last night due to `Error: Cannot find module '/app/bin/expire-secrets.js'`. Do you know what might have caused this?
Flags: needinfo?(dustin)
Let's not re-open random old bugs for new failures.
Flags: needinfo?(dustin)
Status: REOPENED → RESOLVED
Last Resolved: 2 years ago2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.