hi team, getting below error: 2023-01-19T05:19:14...
# support
b
hi team, getting below error: 2023-01-19T051914.588Z ERROR runner runner/runner.go:281 Terminal error: warehouse service routine: unable to enable warehouse Async Job please note that we have not configured any warehouse destination
@shy-kite-21035 could you please help us on this?
@high-zoo-17436 @gentle-petabyte-80785
s
Hi @brash-nightfall-83618 sorry I am not active with the community these days. cc @helpful-island-54641
b
cc @average-tailor-86667
b
@shy-kite-21035 @helpful-island-54641 @bumpy-carpenter-97812 @average-tailor-86667 this is a production issue and it breaks the cluster every time it occurs. Please look into this on priority.
a
Looking this on priority. @brash-nightfall-83618
Can u share the rudder server version which you are using?
b
1-alpine @average-tailor-86667
👍 1
a
Copy code
2023-01-23T07:06:07+05:30	2023-01-23T01:36:07.828Z	INFO	asyncjob	jobs/runner.go:179	[WH-Jobs]: Stopping AsyncJobRunner
2023-01-23T07:07:11+05:30	2023-01-23T01:37:11.443Z	INFO	asyncjob	jobs/runner.go:120	[WH-Jobs]: Initializing async job runner
2023-01-23T07:07:11+05:30	2023-01-23T01:37:11.443Z	INFO	asyncjob	jobs/runner.go:152	[WH-Jobs]: Cleaning up the zombie asyncjobs
2023-01-23T07:07:11+05:30	2023-01-23T01:37:11.460Z	INFO	asyncjob	jobs/runner.go:129	[WH-Jobs]: successfully cleanup async table with error
2023-01-23T07:07:11+05:30	2023-01-23T01:37:11.460Z	INFO	asyncjob	jobs/runner.go:171	[WH-Jobs]: Starting async job runner
2023-01-23T07:07:30+05:30	2023-01-23T01:37:30.697Z	INFO	asyncjob	jobs/runner.go:179	[WH-Jobs]: Stopping AsyncJobRunner
2023-01-23T07:08:45+05:30	2023-01-23T01:38:45.743Z	INFO	asyncjob	jobs/runner.go:120	[WH-Jobs]: Initializing async job runner
2023-01-23T07:08:45+05:30	2023-01-23T01:38:45.743Z	INFO	asyncjob	jobs/runner.go:152	[WH-Jobs]: Cleaning up the zombie asyncjobs
2023-01-23T07:08:45+05:30	2023-01-23T01:38:45.757Z	INFO	asyncjob	jobs/runner.go:129	[WH-Jobs]: successfully cleanup async table with error
2023-01-23T07:08:45+05:30	2023-01-23T01:38:45.757Z	INFO	asyncjob	jobs/runner.go:171	[WH-Jobs]: Starting async job runner
2023-01-23T07:25:02+05:30	2023-01-23T01:55:02.612Z	INFO	asyncjob	jobs/runner.go:179	[WH-Jobs]: Stopping AsyncJobRunner
2023-01-23T07:26:52+05:30	2023-01-23T01:56:52.828Z	INFO	asyncjob	jobs/runner.go:120	[WH-Jobs]: Initializing async job runner
2023-01-23T07:26:52+05:30	2023-01-23T01:56:52.828Z	INFO	asyncjob	jobs/runner.go:152	[WH-Jobs]: Cleaning up the zombie asyncjobs
2023-01-23T07:26:52+05:30	2023-01-23T01:56:52.845Z	INFO	asyncjob	jobs/runner.go:129	[WH-Jobs]: successfully cleanup async table with error
2023-01-23T07:26:52+05:30	2023-01-23T01:56:52.845Z	INFO	asyncjob	jobs/runner.go:171	[WH-Jobs]: Starting async job runner
2023-01-23T08:21:19+05:30	2023-01-23T02:51:19.656Z	INFO	asyncjob	jobs/runner.go:179	[WH-Jobs]: Stopping AsyncJobRunner
2023-01-23T08:25:20+05:30	2023-01-23T02:55:20.308Z	INFO	asyncjob	jobs/runner.go:120	[WH-Jobs]: Initializing async job runner
2023-01-23T08:25:20+05:30	2023-01-23T02:55:20.308Z	INFO	asyncjob	jobs/runner.go:152	[WH-Jobs]: Cleaning up the zombie asyncjobs
2023-01-23T08:25:20+05:30	2023-01-23T02:55:20.323Z	INFO	asyncjob	jobs/runner.go:129	[WH-Jobs]: successfully cleanup async table with error
2023-01-23T08:25:20+05:30	2023-01-23T02:55:20.324Z	INFO	asyncjob	jobs/runner.go:171	[WH-Jobs]: Starting async job runner
2023-01-23T09:07:08+05:30	2023-01-23T03:37:08.391Z	INFO	asyncjob	jobs/runner.go:179	[WH-Jobs]: Stopping AsyncJobRunner
2023-01-23T09:11:11+05:30	2023-01-23T03:41:11.558Z	INFO	asyncjob	jobs/runner.go:120	[WH-Jobs]: Initializing async job runner
2023-01-23T09:11:11+05:30	2023-01-23T03:41:11.559Z	INFO	asyncjob	jobs/runner.go:152	[WH-Jobs]: Cleaning up the zombie asyncjobs
2023-01-23T09:11:11+05:30	2023-01-23T03:41:11.578Z	INFO	asyncjob	jobs/runner.go:129	[WH-Jobs]: successfully cleanup async table with error
2023-01-23T09:11:11+05:30	2023-01-23T03:41:11.578Z	INFO	asyncjob	jobs/runner.go:171	[WH-Jobs]: Starting async job runner
2023-01-23T09:49:22+05:30	2023-01-23T04:19:22.219Z	INFO	asyncjob	jobs/runner.go:179	[WH-Jobs]: Stopping AsyncJobRunner
2023-01-23T09:51:05+05:30	2023-01-23T04:21:05.539Z	INFO	asyncjob	jobs/runner.go:120	[WH-Jobs]: Initializing async job runner
2023-01-23T09:51:05+05:30	2023-01-23T04:21:05.539Z	INFO	asyncjob	jobs/runner.go:152	[WH-Jobs]: Cleaning up the zombie asyncjobs
2023-01-23T09:51:05+05:30	2023-01-23T04:21:05.563Z	INFO	asyncjob	jobs/runner.go:129	[WH-Jobs]: successfully cleanup async table with error
2023-01-23T09:51:05+05:30	2023-01-23T04:21:05.563Z	INFO	asyncjob	jobs/runner.go:171	[WH-Jobs]: Starting async job runner
2023-01-23T10:54:25+05:30	2023-01-23T05:24:25.386Z	INFO	asyncjob	jobs/runner.go:179	[WH-Jobs]: Stopping AsyncJobRunner
2023-01-23T10:55:39+05:30	2023-01-23T05:25:39.309Z	INFO	asyncjob	jobs/runner.go:120	[WH-Jobs]: Initializing async job runner
2023-01-23T10:55:39+05:30	2023-01-23T05:25:39.309Z	INFO	asyncjob	jobs/runner.go:152	[WH-Jobs]: Cleaning up the zombie asyncjobs
2023-01-23T10:55:39+05:30	2023-01-23T05:25:39.325Z	INFO	asyncjob	jobs/runner.go:129	[WH-Jobs]: successfully cleanup async table with error
2023-01-23T10:55:39+05:30	2023-01-23T05:25:39.325Z	INFO	asyncjob	jobs/runner.go:171	[WH-Jobs]: Starting async job runner
b
Copy code
2023-01-23T07:06:08+05:30	2023-01-23T01:36:08.765Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-23T07:06:08+05:30	2023-01-23T01:36:08.765Z	INFO	runner	runner/runner.go:284	Attempting to shutdown gracefully
2023-01-23T07:06:08+05:30	2023-01-23T01:36:08.765Z	INFO	runner	runner/runner.go:295	Graceful terminal after 937.483363ms, with 100 go-routines
2023-01-23T07:07:06+05:30	2023-01-23T01:37:06.280Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T07:07:06+05:30	2023-01-23T01:37:06.411Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T07:07:30+05:30	2023-01-23T01:37:30.992Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-23T07:07:30+05:30	2023-01-23T01:37:30.992Z	INFO	runner	runner/runner.go:284	Attempting to shutdown gracefully
2023-01-23T07:07:30+05:30	2023-01-23T01:37:30.992Z	INFO	runner	runner/runner.go:295	Graceful terminal after 295.096863ms, with 112 go-routines
2023-01-23T07:08:40+05:30	2023-01-23T01:38:40.569Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T07:08:40+05:30	2023-01-23T01:38:40.708Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T07:26:47+05:30	2023-01-23T01:56:47.643Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T07:26:47+05:30	2023-01-23T01:56:47.786Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T08:25:15+05:30	2023-01-23T02:55:15.084Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T08:25:15+05:30	2023-01-23T02:55:15.273Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T09:07:09+05:30	2023-01-23T03:37:09.362Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-23T09:07:09+05:30	2023-01-23T03:37:09.362Z	INFO	runner	runner/runner.go:284	Attempting to shutdown gracefully
2023-01-23T09:07:09+05:30	2023-01-23T03:37:09.362Z	INFO	runner	runner/runner.go:295	Graceful terminal after 971.070243ms, with 98 go-routines
2023-01-23T09:11:06+05:30	2023-01-23T03:41:06.369Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T09:11:06+05:30	2023-01-23T03:41:06.524Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T09:49:22+05:30	2023-01-23T04:19:22.601Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-23T09:49:22+05:30	2023-01-23T04:19:22.602Z	INFO	runner	runner/runner.go:284	Attempting to shutdown gracefully
2023-01-23T09:49:22+05:30	2023-01-23T04:19:22.602Z	INFO	runner	runner/runner.go:295	Graceful terminal after 383.487043ms, with 116 go-routines
2023-01-23T09:51:00+05:30	2023-01-23T04:21:00.329Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T09:51:00+05:30	2023-01-23T04:21:00.498Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T10:54:26+05:30	2023-01-23T05:24:26.439Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-23T10:54:26+05:30	2023-01-23T05:24:26.439Z	INFO	runner	runner/runner.go:284	Attempting to shutdown gracefully
2023-01-23T10:54:26+05:30	2023-01-23T05:24:26.439Z	INFO	runner	runner/runner.go:295	Graceful terminal after 1.053010794s, with 91 go-routines
2023-01-23T10:55:34+05:30	2023-01-23T05:25:34.115Z	INFO	runner	runner/runner.go:411	warehousemode embedded
2023-01-23T10:55:34+05:30	2023-01-23T05:25:34.266Z	INFO	runner	runner/runner.go:411	warehousemode embedded
a
Copy code
Warehouse.mode: off
b
all the warehouse related errors:
Copy code
2023-01-23T07:06:07+05:30	2023-01-23T01:36:07.829Z	ERROR	warehouse.pgnotifier	pgnotifier/pgnotifier.go:655	Error while unlocking maintenance worker lock: driver: bad connection
2023-01-23T07:06:08+05:30	2023-01-23T01:36:08.765Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-23T07:07:06+05:30	2023-01-23T01:37:06.225Z	ERROR	utils.misc	misc/misc.go:1165	Unable to make a warehouse databricks build version call with error : Get "http://localhost:8082/databricksVersion": dial tcp [::1]:8082: connect: connection refused
2023-01-23T07:07:30+05:30	2023-01-23T01:37:30.699Z	ERROR	warehouse.pgnotifier	pgnotifier/pgnotifier.go:655	Error while unlocking maintenance worker lock: driver: bad connection
2023-01-23T07:07:30+05:30	2023-01-23T01:37:30.992Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-23T07:08:40+05:30	2023-01-23T01:38:40.526Z	ERROR	utils.misc	misc/misc.go:1165	Unable to make a warehouse databricks build version call with error : Get "http://localhost:8082/databricksVersion": dial tcp [::1]:8082: connect: connection refused
2023-01-23T07:26:47+05:30	2023-01-23T01:56:47.591Z	ERROR	utils.misc	misc/misc.go:1165	Unable to make a warehouse databricks build version call with error : Get "http://localhost:8082/databricksVersion": dial tcp [::1]:8082: connect: connection refused
2023-01-23T08:21:19+05:30	2023-01-23T02:51:19.669Z	ERROR	warehouse.pgnotifier	pgnotifier/pgnotifier.go:655	Error while unlocking maintenance worker lock: driver: bad connection
2023-01-23T08:25:15+05:30	2023-01-23T02:55:15.027Z	ERROR	utils.misc	misc/misc.go:1165	Unable to make a warehouse databricks build version call with error : Get "http://localhost:8082/databricksVersion": dial tcp [::1]:8082: connect: connection refused
2023-01-23T09:07:08+05:30	2023-01-23T03:37:08.393Z	ERROR	warehouse.pgnotifier	pgnotifier/pgnotifier.go:655	Error while unlocking maintenance worker lock: driver: bad connection
2023-01-23T09:07:09+05:30	2023-01-23T03:37:09.362Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-23T09:11:06+05:30	2023-01-23T03:41:06.314Z	ERROR	utils.misc	misc/misc.go:1165	Unable to make a warehouse databricks build version call with error : Get "http://localhost:8082/databricksVersion": dial tcp [::1]:8082: connect: connection refused
2023-01-23T09:49:22+05:30	2023-01-23T04:19:22.222Z	ERROR	warehouse.pgnotifier	pgnotifier/pgnotifier.go:655	Error while unlocking maintenance worker lock: driver: bad connection
2023-01-23T09:49:22+05:30	2023-01-23T04:19:22.601Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-23T09:51:00+05:30	2023-01-23T04:21:00.270Z	ERROR	utils.misc	misc/misc.go:1165	Unable to make a warehouse databricks build version call with error : Get "http://localhost:8082/databricksVersion": dial tcp [::1]:8082: connect: connection refused
2023-01-23T10:54:25+05:30	2023-01-23T05:24:25.388Z	ERROR	warehouse.pgnotifier	pgnotifier/pgnotifier.go:655	Error while unlocking maintenance worker lock: driver: bad connection
2023-01-23T10:54:26+05:30	2023-01-23T05:24:26.439Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-23T10:55:34+05:30	2023-01-23T05:25:34.058Z	ERROR	utils.misc	misc/misc.go:1165	Unable to make a warehouse databricks build version call with error : Get "http://localhost:8082/databricksVersion": dial tcp [::1]:8082: connect: connection refused
a
Copy code
wh_schema_migrations
b
Copy code
2023-01-24T13:37:52+05:30	2023-01-24T08:07:52.439Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-24T13:37:52+05:30	2023-01-24T08:07:52.333Z	ERROR	jobsdb.gw	jobsdb/backup.go:73	[JobsDB] :: Failed to backup jobs table pre_drop_gw_job_status_2263. Err: error while backing up complete jobs: error while uploading dumps for table: pre_drop_gw_jobs_2263: RequestCanceled: request context canceled
2023-01-24T13:37:52+05:30	2023-01-24T08:07:52.328Z	ERROR	jobsdb.gw	jobsdb/backup.go:115	[JobsDB] :: Failed to upload workspaceId 2E4PhRsZ1XO2IkIQldnT13Q5SGp. Error: RequestCanceled: request context canceled
2023-01-24T13:37:52+05:30	2023-01-24T08:07:52.328Z	ERROR	jobsdb.gw	jobsdb/backup.go:589	[JobsDB] :: Failed to upload table dump for workspaceId 2E4PhRsZ1XO2IkIQldnT13Q5SGp. Error: RequestCanceled: request context canceled
2023-01-24T13:37:52+05:30	2023-01-24T08:07:52.327Z	ERROR	filemanager	filemanager/s3manager.go:174	Failed to fetch AWS region for bucket rudder-saas. Error RequestCanceled: request context canceled
2023-01-24T13:37:40+05:30	2023-01-24T08:07:40.175Z	ERROR	warehouse.pgnotifier	pgnotifier/pgnotifier.go:655	Error while unlocking maintenance worker lock: driver: bad connection
2023-01-24T13:36:42+05:30	2023-01-24T08:06:42.825Z	ERROR	stats	stats/stats.go:166	error while setting statsd client: write udp [::1]:40550->[::1]:8125: write: connection refused
2023-01-24T13:36:40+05:30	2023-01-24T08:06:40.283Z	ERROR	stats	stats/stats.go:166	error while setting statsd client: write udp [::1]:33623->[::1]:8125: write: connection refused
2023-01-24T13:36:37+05:30	2023-01-24T08:06:37.467Z	ERROR	stats	stats/stats.go:166	error while setting statsd client: write udp [::1]:43254->[::1]:8125: write: connection refused
2023-01-24T13:36:35+05:30	2023-01-24T08:06:35.177Z	ERROR	stats	stats/stats.go:166	error while setting statsd client: write udp [::1]:57965->[::1]:8125: write: connection refused
2023-01-24T13:36:34+05:30	2023-01-24T08:06:34.597Z	ERROR	stats	stats/stats.go:166	error while setting statsd client: write udp [::1]:39722->[::1]:8125: write: connection refused
2023-01-24T13:36:34+05:30	2023-01-24T08:06:34.095Z	ERROR	stats	stats/stats.go:166	error while setting statsd client: write udp [::1]:36388->[::1]:8125: write: connection refused
2023-01-24T13:36:33+05:30	2023-01-24T08:06:33.798Z	ERROR	utils.misc	misc/misc.go:1165	Unable to make a warehouse databricks build version call with error : Get "http://localhost:8082/databricksVersion": dial tcp [::1]:8082: connect: connection refused
2023-01-24T13:36:33+05:30	2023-01-24T08:06:33.771Z	ERROR	stats	stats/stats.go:166	error while setting statsd client: write udp [::1]:46237->[::1]:8125: write: connection refused
2023-01-24T13:34:03+05:30	2023-01-24T08:04:03.325Z	ERROR	runner	runner/runner.go:281	Terminal error: warehouse service routine: unable to enable warehouse Async Job
2023-01-24T13:34:02+05:30	2023-01-24T08:04:02.430Z	ERROR	warehouse.pgnotifier	pgnotifier/pgnotifier.go:655	Error while unlocking maintenance worker lock: driver: bad connection
Copy code
2023-01-24T13:37:40+05:30	2023-01-24T08:07:40.175Z	ERROR	warehouse.pgnotifier	pgnotifier/pgnotifier.go:655	Error while unlocking maintenance worker lock: driver: bad connection
2023-01-24T13:36:39+05:30	2023-01-24T08:06:39.051Z	INFO	warehouse.pgnotifier	pgnotifier/pgnotifier.go:172	PgNotifier: Deleting all jobs for workspace: prod-insecure::bcdd85220b709c11a43382331a675b53
2023-01-24T13:36:34+05:30	2023-01-24T08:06:34.017Z	INFO	warehouse.pgnotifier	pgnotifier/pgnotifier.go:621	PgNotifier: Creating Job Queue Tables 
2023-01-24T13:36:34+05:30	2023-01-24T08:06:34.017Z	INFO	warehouse.pgnotifier	pgnotifier/pgnotifier.go:128	PgNotifier: Initializing PgNotifier...
2023-01-24T13:34:02+05:30	2023-01-24T08:04:02.430Z	ERROR	warehouse.pgnotifier	pgnotifier/pgnotifier.go:655	Error while unlocking maintenance worker lock: driver: bad connection
@average-tailor-86667 there is no resolution to this issue so far...even after setting warehouse mode to off, we are getting this error
s
Hi @brash-nightfall-83618: Can you confirm if this log is getting printed when you put the warehouse mode
off
?
Copy code
INFO    runner  runner/runner.go:413    warehousemode off
b
@swift-airplane-50479 I still see warehousemode to be embedded. We did change it to off in the rudder-config file
a
@brash-nightfall-83618 Did you added in in server config override or as an ENV?
b
s
b
yes to off
s
Okay and followed by
helm upgrade
?
b
yes