acceptable-lion-84959
02/01/2023, 11:00 PMmillions-activity-52391
02/01/2023, 11:00 PMquiet-wolf-72320
02/02/2023, 11:57 AMacceptable-lion-84959
02/03/2023, 4:44 AMacceptable-lion-84959
02/03/2023, 4:45 AMacceptable-lion-84959
02/03/2023, 4:46 AMacceptable-lion-84959
02/03/2023, 4:59 AMacceptable-lion-84959
02/03/2023, 5:20 AMGenerateDataKey from the EKS node group and does not have permissionshelpful-island-54641
02/03/2023, 11:22 AMacceptable-lion-84959
02/06/2023, 6:43 AMPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=blue-rudderstack-1
TERM=xterm
CONFIG_BACKEND_TOKEN=****
RUDDER_ADMIN_PASSWORD=****
RSERVER_JOBS_DB_BACKUP_ENABLED=false
JOBS_DB_USER=****
JOBS_DB_DB_NAME=****
STATSD_SERVER_URL=cloudwatch-statsd.amazon-cloudwatch.svc.cluster.local:8125
DEST_TRANSFORM_URL=http://blue-rudderstack-transformer:9090
POSTGRES_POD_NAME=blue-rudderstack-postgresql
INSTANCE_ID=blue-rudderstack-1
POSTGRES_HEADLESS_SVC=blue-rudderstack-postgresql-hl
JOBS_DB_HOST=This is expected to be set by docker entrypoint script
JOBS_DB_PORT=****
JOBS_DB_PASSWORD=****
COMPUTE_DB_HOST_IN_K8S=true
HOME=/roothelpful-island-54641
02/06/2023, 7:05 AMSTATSD_SERVER_URL
Did you set this URL? These are causing the STATSD errorshelpful-island-54641
02/06/2023, 7:07 AMRSERVER_JOBSDB_BACKUP_ENABLED=false and RSERVER_ENABLE_STATS=false to have both backup and stat errors disabledacceptable-lion-84959
02/06/2023, 10:11 PMhelpful-island-54641
02/07/2023, 1:26 AMacceptable-lion-84959
02/07/2023, 2:47 AMacceptable-lion-84959
02/07/2023, 8:21 AMhelpful-island-54641
02/07/2023, 8:54 AMacceptable-lion-84959
02/08/2023, 2:23 AMUnauthorizedAPICalls errors:
We started getting them from 8:35 to 10:15, they seem to be happening every couple of hours (attached screenshot of the error count).
This seems to be the most relevant error
08:39:53.730
2023-02-07T21:39:53.730Z ERROR warehouse.archiver archive/archiver.go:309 Error backing up staging files for upload:8196 : AccessDenied: Access Denied
08:39:53.730
2023-02-07T21:39:53.730Z ERROR tablearchiver tablearchiver/tablearchiver.go:122 [TableJSONArchiver]: Error uploading local file dump to object storage: AccessDenied: Access Denied
08:39:53.730
status code: 403, request id: VD69G26MNWJYJ870, host id: ****
08:39:53.730
2023-02-07T21:39:53.730Z INFO warehouse.archiver archive/archiver.go:132 Completed backupRecords for uploadId: %!s(int64=8196), sourceId: ****, destinationId: ****, tableName: wh_staging_files,
08:39:53.730
status code: 403, request id: VD69G26MNWJYJ870, host id: ****
08:39:53.734
2023-02-07T21:39:53.733Z INFO warehouse.archiver archive/archiver.go:73 Starting backupRecords for uploadId: %!s(int64=8023), sourceId: ****, destinationId: ****, tableName: wh_staging_files,
08:39:54.790
2023-02-07T21:39:54.790Z ERROR tablearchiver tablearchiver/tablearchiver.go:122 [TableJSONArchiver]: Error uploading local file dump to object storage: AccessDenied: Access Denied
08:39:54.790
2023-02-07T21:39:54.790Z ERROR warehouse.archiver archive/archiver.go:309 Error backing up staging files for upload:8023 : AccessDenied: Access Denied
Please do let me know if need anymore logs @helpful-island-54641 I have tried to keep it to the most relevant one. This seems to be the best candidate relating to table archiving.
Worth noting that our destination is BQ and we do stage files in GCS, we aren’t using s3 anywhere.acceptable-lion-84959
02/08/2023, 2:24 AMhelpful-island-54641
02/08/2023, 3:43 AMJOBS_BACKUP_STORAGE_PROVIDER=GCS and provide GOOGLE_APPLICATION_CREDENTIALS in the env? This will ensure that your backups are stored to GCShelpful-island-54641
02/08/2023, 3:43 AMaverage-tailor-86667
02/08/2023, 4:28 AMRSERVER_WAREHOUSE_ARCHIVE_UPLOAD_RELATED_RECORDS=false to disable the backups from warehouse module as well.acceptable-lion-84959
02/08/2023, 4:44 AMRSERVER_WAREHOUSE_ARCHIVE_UPLOAD_RELATED_RECORDS=false? And no need for JOBS_BACKUP_STORAGE_PROVIDER=GCS and GOOGLE_APPLICATION_CREDENTIALS which wouldn’t be used, just checking for clarityaverage-tailor-86667
02/08/2023, 4:45 AMRSERVER_WAREHOUSE_ARCHIVE_UPLOAD_RELATED_RECORDS=false.acceptable-lion-84959
02/08/2023, 4:47 AMJOBS_BACKUP_STORAGE_PROVIDER=GCS or GOOGLE_APPLICATION_CREDENTIALS if those wouldn’t be used?
Would it be enough to just set RSERVER_WAREHOUSE_ARCHIVE_UPLOAD_RELATED_RECORDS=false?average-tailor-86667
02/08/2023, 4:48 AMRSERVER_JOBSDB_BACKUP_ENABLED=falseaverage-tailor-86667
02/08/2023, 4:48 AMaverage-tailor-86667
02/08/2023, 4:48 AMRSERVER_JOBSDB_BACKUP_ENABLED=false
RSERVER_ENABLE_STATS=false
RSERVER_WAREHOUSE_ARCHIVE_UPLOAD_RELATED_RECORDS=false
These are sufficientacceptable-lion-84959
02/08/2023, 4:53 AMaverage-tailor-86667
02/08/2023, 5:13 AMwh_staging_files table because it’s the entry point for warehouse module.acceptable-lion-84959
02/08/2023, 7:58 AMhelpful-island-54641
02/08/2023, 8:00 AMacceptable-lion-84959
02/08/2023, 8:04 AMacceptable-lion-84959
02/08/2023, 8:05 AMhelpful-island-54641
02/08/2023, 8:06 AMaverage-tailor-86667
02/08/2023, 8:08 AMRSERVER_WAREHOUSE_ARCHIVE_UPLOAD_RELATED_RECORDS What is does is it only archives the wh_staging_files table since that table will grow huge.
We don’t delete staging files from customer’s bucket.acceptable-lion-84959
02/08/2023, 8:09 AMaverage-tailor-86667
02/08/2023, 8:09 AMacceptable-lion-84959
02/08/2023, 8:11 AMacceptable-lion-84959
02/08/2023, 8:13 AM