[Satellite 6.2] While upgrading satellite v 6.1 to v 6.2, the upgrade fails at db:migrate with error "undefined method `execution' for #<Nic::Managed:0x0000000a8a02a0>" while migrating unmanaged host interface for a client system.

Solution Verified - Updated -

Issue

  • While upgrading satellite v 6.1 to v 6.2, the upgrade fails at db:migrate with error "undefined method execution' for #<Nic::Managed:0x0000000a8a02a0>". Complete error message insatellite.log`:
    ~~~~
    Tasks: TOP => db:migrate
    (See full trace by running task with --trace)
    == 20150508124600 CopyUnmanagedHostsToInterfaces: migrating ===================
    -- Migrating Unmanaged Host interfaces to standalone Interfaces
    -- ... migrating client1.example.com

[ERROR 2016-10-11 10:39:20 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
[ERROR 2016-10-11 10:39:20 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
~~~

Environment

  • Red Hat Satellite v 6.2
  • Upgrade

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