bcgov / NRPTI

Natural Resources Public Transparency Initiative
Apache License 2.0
5 stars 15 forks source link

NRPTI Cron Job not completing #1212

Open fergmac opened 3 months ago

fergmac commented 3 months ago

Describe the task Look into NRPTI Cron Job from January, never completed.

Initially there were no logs. Just an image pull event.

I don't think this is critical as nothing was flagged by the SO.

I cancelled the job. It is set up to run every 30 mins.

On the next run the following error: "couldn't find key KEYCLOAK_PASSWORD in Secret f00029-prod/nrpti-cron-secrets"

Confirmed there is no related secret in nrpti-cron-secrets

What is the business request behind this cron job? Is the outcome of this job required?

Purpose Gain further context on the related Cron Job. Is this a job that is required? Needs cleaned up? The job likely never ran as expected.

Acceptance Criteria

Additional context

fergmac commented 3 months ago

The keycloak username and password are not included in the nrpti-cron-job secrets object for test and prod.

Should the keycloak credentials for dev, test and prod be the same?

This cron job looks to be related to a cache or subset of the full data set. And again nothing has been flagged by the SO so I'm suspending the cron job in OpenShift.

subsets