Description of problem: While performing upgrade from sat6.1.9 -> sat62 GA snap19, db:migration failed with error: StandardError: An error has occurred, this and all later migrations canceled: undefined local variable or method `openscap_proxy_id' for #<Hostgroup:0x0000000df0b150>/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/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.3.14/app/models/concerns/foreman_openscap/openscap_proxy_core_extensions.rb:66:in `openscap_proxy_has_feature' /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:424:in `block in make_lambda' /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:184:in `call' /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:184:in `block in simple' /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:185:in `call' /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:185:in `block in simple' /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:185:in `call' /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:185:in `block in simple' /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:185:in `call' Version-Release number of selected component (if applicable): sat62 GA snap19 How reproducible: always Steps to Reproduce: 0. Make sure openscap packages are installed on sat6.1 1. set Sat6.2 repo 2. katello-service stop 3. yum update -y 4. satellite-installer --scenario satellite --upgrade Actual results: Expected results: db: migration succeed and installer should complete successfully Additional info:
Created attachment 1177157 [details] complete exception
Created attachment 1177184 [details] foreman-debug logs
Created redmine issue http://projects.theforeman.org/issues/15655 from this bug
Upstream bug component is Provisioning
please note that this bz also requires https://github.com/theforeman/foreman_openscap/pull/178 to be pulled in as well.
Upstream bug component is SCAP Plugin
Moving to POST since upstream bug http://projects.theforeman.org/issues/15676 has been closed
This issue is not seen while running "Satellite-installer --scenario satellite --upgrade" VERIFIED with sat62-snap20.2
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501