Repository navigation
Closed
Description
Bug Report
Bug reports are pretty free-form; just replace this with whatever. You can also help us triage the issue by including steps to reproduce, expected results, and the actual result. Help us help you!
The following can also be handy:
- Concourse version: 3.8.0
- Deployment type (BOSH/Docker/binary): docker
- Infrastructure/IaaS: mixed
- Browser (if applicable):
i am seeing this constrain issues
07/01/2018 10:44:122018-01-07 09:44:12.073 UTC [6820] DETAIL: Key (image_get_container_id)=(877) is not present in table "containers".
07/01/2018 10:44:122018-01-07 09:44:12.073 UTC [6820] STATEMENT: INSERT INTO containers (meta_type,worker_name,handle,team_id,image_get_container_id) VALUES ($1,$2,$3,$4,$5) RETURNING id, meta_type, meta_step_name, meta_attempt, meta_working_directory, meta_process_user, meta_pipeline_id, meta_job_id, meta_build_id, meta_pipeline_name, meta_job_name, meta_build_name
07/01/2018 10:44:122018-01-07 09:44:12.079 UTC [6841] ERROR: insert or update on table "containers" violates foreign key constraint "containers_image_get_container_id_fkey"
07/01/2018 10:44:122018-01-07 09:44:12.079 UTC [6841] DETAIL: Key (image_get_container_id)=(881) is not present in table "containers".
07/01/2018 10:44:122018-01-07 09:44:12.079 UTC [6841] STATEMENT: INSERT INTO containers (worker_name,handle,team_id,image_get_container_id,meta_type) VALUES ($1,$2,$3,$4,$5) RETURNING id, meta_type, meta_step_name, meta_attempt, meta_working_directory, meta_process_user, meta_pipeline_id, meta_job_id, meta_build_id, meta_pipeline_name, meta_job_name, meta_build_name
07/01/2018 10:44:122018-01-07 09:44:12.087 UTC [6820] ERROR: insert or update on table "containers" violates foreign key constraint "containers_image_get_container_id_fkey"
07/01/2018 10:44:122018-01-07 09:44:12.087 UTC [6820] DETAIL: Key (image_get_container_id)=(875) is not present in table "containers".
07/01/2018 10:44:122018-01-07 09:44:12.087 UTC [6820] STATEMENT: INSERT INTO containers (worker_name,handle,team_id,image_get_container_id,meta_type) VALUES ($1,$2,$3,$4,$5) RETURNING id, meta_type, meta_step_name, meta_attempt, meta_working_directory, meta_process_user, meta_pipeline_id, meta_job_id, meta_build_id, meta_pipeline_name, meta_job_name, meta_build_name
07/01/2018 10:44:122018-01-07 09:44:12.102 UTC [6841] ERROR: insert or update on table "containers" violates foreign key constraint "containers_image_get_container_id_fkey"
07/01/2018 10:44:122018-01-07 09:44:12.102 UTC [6841] DETAIL: Key (image_get_container_id)=(880) is not present in table "containers".
07/01/2018 10:44:122018-01-07 09:44:12.102 UTC [6841] STATEMENT: INSERT INTO containers (meta_type,worker_name,handle,team_id,image_get_container_id) VALUES ($1,$2,$3,$4,$5) RETURNING id, meta_type, meta_step_name, meta_attempt, meta_working_directory, meta_process_user, meta_pipeline_id, meta_job_id, meta_build_id, meta_pipeline_name, meta_job_name, meta_build_name
07/01/2018 10:44:172018-01-07 09:44:17.089 UTC [6820] ERROR: insert or update on table "containers" violates foreign key constraint "containers_image_get_container_id_fkey"
07/01/2018 10:44:172018-01-07 09:44:17.089 UTC [6820] DETAIL: Key (image_get_container_id)=(876) is not present in table "containers".
07/01/2018 10:44:172018-01-07 09:44:17.089 UTC [6820] STATEMENT: INSERT INTO containers (image_get_container_id,meta_type,worker_name,handle,team_id) VALUES ($1,$2,$3,$4,$5) RETURNING id, meta_type, meta_step_name, meta_attempt, meta_working_directory, meta_process_user, meta_pipeline_id, meta_job_id, meta_build_id, meta_pipeline_name, meta_job_name, meta_build_name
07/01/2018 10:44:172018-01-07 09:44:17.104 UTC [6843] ERROR: insert or update on table "containers" violates foreign key constraint "containers_image_get_container_id_fkey"
07/01/2018 10:44:172018-01-07 09:44:17.104 UTC [6843] DETAIL: Key (image_get_container_id)=(883) is not present in table "containers".
07/01/2018 10:44:172018-01-07 09:44:17.104 UTC [6843] STATEMENT: INSERT INTO containers (handle,team_id,image_get_container_id,meta_type,worker_name) VALUES ($1,$2,$3,$4,$5) RETURNING id, meta_type, meta_step_name, meta_attempt, meta_working_directory, meta_process_user, meta_pipeline_id, meta_job_id, meta_build_id, meta_pipeline_name, meta_job_name, meta_build_name
beside that, concourse seem to be not working at all
fly -t kw workers
name containers platform tags team state version
6130fc87ce04 37 linux none none running 1.2
fd73bf666f01 48 linux none none running 1.2
tsa does not show any errors in the logs, neither the workers do
Reacted by Scott Schulthess
Metadata
Metadata
Assignees
Labels
No labels


Activity
EugenMayer commentedon Jan 7, 2018
during a worker start i see this once
followed by
it seems to register just fine, so maybe that recovers?
AFAICS this is related to garden being inaccessible
so thats most probably an unrelated and uncritical issue that garden did not yet start up? its started on the worker itself?
xtremerui commentedon May 4, 2018
this is because garden is not running up when worker registering with TSA and TSA healthcheck back on garden server on worker. It's expected behaviour. I think we could close this issue @jama-pivotal .
jama22 commentedon May 4, 2018
Closing
bump etree tsa handlers mux clockwork goxmldsig genproto grpc