Actions
Bug #6281
closedAttempting to remove openstack compute resource gives FK error
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
I am attempting to remove an openstack compute resource which is no longer tied to any hosts and receive the following error:
PG::ForeignKeyViolation
ERROR: update or delete on table "images" violates foreign key constraint "hosts_image_id_fk" on table "hosts" DETAIL: Key (id)=(1) is still referenced from table "hosts".
app/controllers/compute_resources_controller.rb:72:in `destroy'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'
If you need any further details let me know. I verified and no hosts are currently using this resource.
Actions