Actions
Bug #9369
closedCopying TFTP files from content_source is broken with undefined method `content_source'
Description
Seems to be due to networking changes https://github.com/theforeman/foreman/commit/43c4bd72e4646cc9b2b4cb0533e84e08825eadda
Orchestration was delegated to interfaces.
Fetch TFTP boot files for afdsgsdfsdf.stbenjam.satellite.lab.eng.rdu2.redhat.com task failed with the following error: undefined method `content_source' for #<Nic::Managed:0x0000000e99e540>
Add the TFTP configuration for afdsgsdfsdf.stbenjam.satellite.lab.eng.rdu2.redhat.com Fetching required TFTP boot files for afdsgsdfsdf.stbenjam.satellite.lab.eng.rdu2.redhat.com Fetch TFTP boot files for afdsgsdfsdf.stbenjam.satellite.lab.eng.rdu2.redhat.com task failed with the following error: undefined method `content_source' for #<Nic::Managed:0x0000000e99e540>/opt/rh/ruby193/roo t/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/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/core_ext/object/try.rb:36:in `try' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/models/katello/concerns/redhat_extensions.rb:119:in `boot_files_uri_with_content' /usr/share/foreman/app/models/operatingsystem.rb:172:in `pxe_files' /usr/share/foreman/app/models/concerns/orchestration/tftp.rb:39:in `setTFTPBootFiles' /usr/share/foreman/app/models/concerns/orchestration.rb:140:in `execute' /usr/share/foreman/app/models/concerns/orchestration.rb:85:in `block in process' /usr/share/foreman/app/models/concerns/orchestration.rb:77:in `each' /usr/share/foreman/app/models/concerns/orchestration.rb:77:in `process' /usr/share/foreman/app/models/concerns/orchestration.rb:18:in `on_save' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:649:in `_run__3619945776449494834__save__1550370739946316128__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_save_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/persistence.rb:84:in `save' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/validations.rb:50:in `save' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:241:in `block (2 levels) in save' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:293:in `with_transaction_returning_status' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:241:in `block in save' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:252:in `rollback_active_record_state!' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:240:in `save' /usr/share/foreman/app/models/concerns/foreman/sti.rb:29:in `save_with_type' /usr/share/foreman/app/controllers/hosts_controller.rb:83:in `create'
Actions