Actions
Bug #9488
closedUnable delete the discovered hosts from foreman
Status:
Closed
Priority:
Urgent
Assignee:
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
Description
Hi,
I am unable delete the discovered hosts from foreman, when I attempt to do it, I am getting following error. I have also ensured environment set to non discover (production) and cancelled any build in progress.
Warning!
ERROR: update or delete on table "hosts" violates foreign key constraint "discovery_attribute_sets_host_id_fk" on table "discovery_attribute_sets" DETAIL: Key (id)=(2) is still referenced from table "discovery_attribute_sets".
Installed foreman-version:
foreman-1.7.2-1.el6.noarch
ruby193-rubygem-foreman_discovery-2.0.0-0.1.rc2.el6.noarch
Any help appreciated.
Thanks
Anil
Actions