Project

General

Profile

Actions

Bug #15374

closed

Delete discovered Host ends in error: undefined method `progress_report_id'

Added by Susanne Bachmann almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Orchestration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When i try to delete a discovered host and get the following error message:

"Oops, we're sorry but something went wrong undefined method `progress_report_id' for #<Host::Discovered:0x00000004333c78>"

NoMethodError
undefined method `progress_report_id' for #<Host::Discovered:0x007fc192b32bc0>
/opt/rh/rh-ror41/root/usr/share/gems/gems/activemodel-4.1.5/lib/active_model/attribute_methods.rb:435:in `method_missing'
/opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/attribute_methods.rb:208:in `method_missing'
/usr/share/foreman/app/models/nic/managed.rb:16:in `progress_report_id'
/usr/share/foreman/app/models/concerns/orchestration.rb:190:in `update_cache'
/usr/share/foreman/app/models/concerns/orchestration.rb:105:in `block in process'
/usr/share/foreman/app/models/concerns/orchestration.rb:99:in `each'
...

When I rovision the host I only get one Interface from two and the ipmi Interface also vanished, after adding them manually I can deploy.
But more confusing is that the host is still in the list of discovered host and I'm not able to delete it.

Installed Plugins:
foreman_plugin_default_hostgroup
foreman_plugin_dhcp_browser
foreman_plugin_discovery
foreman_plugin_hooks
foreman_plugin_setup
foreman_plugin_templates
(no puppet, only as SmartProxy)


Files

full_trace.txt full_trace.txt 24.6 KB Susanne Bachmann, 06/10/2016 10:08 AM

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #19151: undefined method `progress_report_id' when unattended mode is disabledClosedLukas Zapletal04/04/2017Actions
Actions

Also available in: Atom PDF