[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.
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
