Red Hat Satellite 6.6 upgrade failing with error DockerContainerWizardStates::ExposedPort is not a subclass of Parameter

Solution Verified - Updated -

Issue

  • Red Hat satellite 6.5 to 6.6 upgrade failing on foreman-rake db:migrate step.
  • Satellite 6.6 upgrade failing with following error:
DEBUG 2020-02-07T14:02:58 main] /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/railties/databases.rake:60:in `block (2 levels) in <top (required)>'
[DEBUG 2020-02-07T14:02:58 main] /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
[DEBUG 2020-02-07T14:02:58 main] 
[DEBUG 2020-02-07T14:02:58 main] Caused by:
[DEBUG 2020-02-07T14:02:58 main] ActiveRecord::SubclassNotFound: Invalid single-table inheritance type: DockerContainerWizardStates::ExposedPort is not a subclass of Parameter

Environment

  • Red Hat Satellite 6.6
  • Red Hat Satellite 6.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content