Cannot promote to environments after upgrade to Foreman 2.0/Katello 3.15

Thanks @matemikulic

Even though you only have yum repos, I’m thinking this problem may be due to puppet-related code. Can you try the following:

  1. In that file, change :puppet: to true
  2. Restart all services: foreman-maintain service restart
  3. Enter the console: foreman-rake console
  4. In the Rails console, execute the following command:
::Katello::ContentViewVersion.all.each(&:update_content_counts!)
  1. Exit the console (exit) and try the promotion again.

Let me know how that goes. thanks!

1 Like