Actions
Bug #12233
closedDiscovery doesn't reboot due to remote execution become extenstion
Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Description
When using foreman remote execution (0.0.10) with discovery (4.1.0), the discovered host doesn't reboot on turning into managed,
getting:
| NoMethodError: undefined method `drop_execution_interface_cache' for #<Host::Discovered:0x007f6e28913ac8> | /opt/rh/ruby193/root/usr/share/gems/gems/activemodel-3.2.8/lib/active_model/attribute_methods.rb:407:in `method_missing' | /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/attribute_methods.rb:149:in `method_missing' | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.0.10/app/models/concerns/foreman_remote_execution/host_extensions.rb:53:in `becomes_with_remote_execution' | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-4.1.1/app/models/host/managed_extensions.rb:28:in `setReboot' | /usr/share/foreman/app/models/concerns/orchestration.rb:162:in `execute' | /usr/share/foreman/app/models/concerns/orchestration.rb:107:in `block in process' | /usr/share/foreman/app/models/concerns/orchestration.rb:99:in `each' | /usr/share/foreman/app/models/concerns/orchestration.rb:99:in `process' | /usr/share/foreman/app/models/concerns/orchestration.rb:39:in `post_commit'
Actions