bosh icon indicating copy to clipboard operation
bosh copied to clipboard

bosh clean-up fails with constraint error

Open mariash opened this issue 3 years ago • 2 comments

Running bosh clean-up fails with the following error:

Using environment 'https://10.0.0.6:25555' as client 'admin'

Task 918

Task 918 | 21:58:04 | Deleting releases: cf-networking/3.8.0
Task 918 | 21:58:04 | Deleting releases: silk/3.8.0
Task 918 | 21:58:04 | Deleting jobs: silk-cni/c2094bc27f914d6ba81b445e7e1ab81a21049247
Task 918 | 21:58:04 | Deleting jobs: garden-cni/64378ae3a6dd7f4a939d992f7e5c5d0d0a2535b3
Task 918 | 21:58:04 | Deleting jobs: silk-cni/c2094bc27f914d6ba81b445e7e1ab81a21049247 (00:00:00)
                    L Error: PG::ForeignKeyViolation: ERROR:  update or delete on table "templates" violates foreign key constraint "instances_templates_template_id_fkey" on table "instances_templates"
DETAIL:  Key (id)=(78) is still referenced from table "instances_templates".

mariash avatar Jul 25 '22 17:07 mariash

please provide

  • bosh director version (or commit hash for bosh-deployment if your using this)
  • bosh cli version

ramonskie avatar Jul 27 '22 13:07 ramonskie

@mariash would you be able to provide a debug log? Via slack so I can attach that to the tracker story?

rkoster avatar Aug 11 '22 15:08 rkoster

there has been no activity for more than 2 weeks. please reopen this issue if it still exists with more context

ramonskie avatar Nov 07 '22 15:11 ramonskie