Bug 1342018 - [upgrade] [E] undefined method `execution' for #<Nic::Managed:0x0000000bfbc768> (NoMethodError)
Summary: [upgrade] [E] undefined method `execution' for #<Nic::Managed:0x0000000bfbc76...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Sachin Ghai
URL:
Whiteboard:
Depends On: 1361676
Blocks: Sat6_Upgrades
TreeView+ depends on / blocked
 
Reported: 2016-06-02 09:27 UTC by Sachin Ghai
Modified: 2020-06-11 12:53 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-07 15:15:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
foreman-debug logs (1.08 MB, application/x-xz)
2016-06-02 09:27 UTC, Sachin Ghai
no flags Details
complete exception (58.20 KB, text/plain)
2016-06-02 09:29 UTC, Sachin Ghai
no flags Details

Description Sachin Ghai 2016-06-02 09:27:52 UTC
Created attachment 1164007 [details]
foreman-debug logs

Description of problem:
I got following exception in production.log while performing upgrade from sat6.1.9 => sat6.2 GA snap14 on rhel7

==> /var/log/foreman/production.log <==
2016-06-02 03:30:33 [foreman-tasks/dynflow] [I] start terminating throttle_limiter...
2016-06-02 03:30:33 [foreman-tasks/dynflow] [I] start terminating client dispatcher...
2016-06-02 03:30:33 [foreman-tasks/dynflow] [I] stop listening for new events...
2016-06-02 03:30:33 [foreman-tasks/dynflow] [I] start terminating clock...
2016-06-02 03:30:34 [foreman-tasks/action] [E] undefined method `execution' for #<Nic::Managed:0x0000000bfbc768> (NoMethodError)
 | /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'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:132:in `each'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:132:in `detect'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:132:in `public_send'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:132:in `method_missing'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:99:in `method_missing'
 | /usr/share/foreman/app/models/host/base.rb:426:in `get_interface_by_flag'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.9/app/models/concerns/foreman_remote_execution/host_extensions.rb:38:in `execution_interface'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.9/app/models/concerns/foreman_remote_execution/host_extensions.rb:83:in `build_required_interfaces_with_remote_execution'
 | /usr/share/foreman/app/models/host/base.rb:105:in `initialize'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionpack-4.1.5/lib/action_dispatch/routing/url_for.rb:104:in `initialize'
 | /usr/share/foreman/app/models/host/managed.rb:47:in `initialize'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/inheritance.rb:30:in `new'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/inheritance.rb:30:in `new'
 | /usr/share/foreman/app/models/concerns/foreman/sti.rb:22:in `new_with_cast'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.40/app/models/katello/host/subscription_facet.rb:91:in `find_or_create_host_for_hypervisor'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.40/app/lib/actions/katello/host/hypervisors_update.rb:42:in `update_or_create_hypervisor'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.40/app/lib/actions/katello/host/hypervisors_update.rb:20:in `block (2 levels) in finalize'

I got this exception in logs when installer failed at upgrade step db:seed. 


Version-Release number of selected component (if applicable):
upgrade from sat6.1.9 => sat6.2 GA snap14 on rhel7

How reproducible:


Steps to Reproduce:
0. set 6.2 repo
1. yum update -y
2. satellite-installer --scenario satellite --upgrade
3.

Actual results:


Expected results:


Additional info:

Comment 1 Sachin Ghai 2016-06-02 09:29:22 UTC
Created attachment 1164009 [details]
complete exception

Comment 3 Sachin Ghai 2016-06-03 08:00:33 UTC
Verified with upgrade from sat6.1.9 -> sat6.2 GA snap14.2 on rhel7.

I was not able to reproduce this issue. Closing this issue for now. I'll reopen, If come across again.

Comment 20 Bryan Kearney 2017-06-07 15:15:53 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


Note You need to log in before you can comment on or make changes to this bug.