After upgrade to Satellite 6.1 Beta, publishing a new content view version fails at 99%
Issue
- After updating from satellite 6.0 to 6.1 beta we encountered problems with publishing new content view versions.
- Publishing fails on +/- 99%. This happens for existing content views, new content views and composite content views.
- After skipping the step in dynflow console and resuming the task the content view gets published with status warning.
- New content seems to available through the channel but if everything is correct we do not know yet.
- Information from the task:
Action:
Actions::Katello::Foreman::ContentUpdate
Input:
{"environment_id"=>2,
"content_view_id"=>7,
"remote_user"=>"user-2514082a",
"remote_cp_user"=>"user",
"locale"=>"en"}
Output:
{}
Exception:
NoMethodError: undefined method `values' for []:Array
Backtrace:
/usr/share/foreman/app/services/puppet_class_importer.rb:78:in `new_classes_for'
/usr/share/foreman/app/services/puppet_class_importer.rb:39:in `changes'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.51/app/services/katello/puppet_class_importer_extensions.rb:22:in `update_environment'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.51/app/lib/katello/foreman.rb:36:in `update_puppet_environment'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.51/app/lib/actions/katello/foreman/content_update.rb:32:in `finalize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.7/lib/dynflow/action.rb:503:in `block (2 levels) in execute_finalize'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.7/lib/dynflow/middleware/stack.rb:26:in `call'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.7/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.7/lib/dynflow/middleware.rb:16:in `pass'
Environment
- Red Hat Satellite 6.1 Beta
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.