Project

General

Profile

Actions

Bug #9488

closed

Unable delete the discovered hosts from foreman

Added by Anil Vatti almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Discovery - Refactor #9546: Discovery should provide a convinient method to convert discovered host into managed host (aka provision)ClosedLukas Zapletal02/25/2015Actions
Actions

Also available in: Atom PDF