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.
Updated by Dominic Cleal over 10 years ago
- Is duplicate of Bug #4416: 500 FK error when deleting old image in compute resource added
Updated by Dominic Cleal over 10 years ago
- Status changed from New to Duplicate
Thanks for the report, we're tracking this under #4416.
Actions