Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1342018

Summary: [upgrade] [E] undefined method `execution' for #<Nic::Managed:0x0000000bfbc768> (NoMethodError)
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: UpgradesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Sachin Ghai <sghai>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bkearney, cduryee, chrobert, inecas, ktordeur, mbacovsk, mdekan, mmccune, swadeley
Target Milestone: UnspecifiedKeywords: Reopened
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-07 15:15:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1361676    
Bug Blocks: 1410795    
Attachments:
Description Flags
foreman-debug logs
none
complete exception none

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.