Project

General

Profile

Actions

Bug #14600

closed

manifest import continues forever after running automation

Added by Partha Aji about 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1326089
Description of problem:

Manifest import hangs indefinitely on automation box qe-sat6-rhel7, this is most likely easy to reproduce after running automation.

2016-04-08 17:17:35 [app] [E] Error during manifest import: {"displayMessage"=>"undefined method `any?' for nil:NilClass", "conflicts"=>["UNKNOWN"]}
2016-04-08 17:17:35 [foreman-tasks/action] [E] undefined method `any?' for nil:NilClass (NoMethodError) | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.15/app/models/katello/glue/candlepin/pool.rb:127:in `block in create_activation_key_associations' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.15/app/models/katello/glue/candlepin/pool.rb:126:in `collect' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.15/app/models/katello/glue/candlepin/pool.rb:126:in `create_activation_key_associations' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.15/app/models/katello/glue/candlepin/pool.rb:117:in `import_data' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.15/app/models/katello/glue/candlepin/candlepin_object.rb:44:in `block in import_all' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:46:in `each' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib

Version-Release number of selected component (if applicable):
sat6-snap7

How reproducible:
on automation box after running automation

Steps to Reproduce:
1.
2.
3.

Actual results:

Manifest import continues indefinitely with the below traceback in production.log,

2016-04-08 17:17:35 [app] [E] Error during manifest import: {"displayMessage"=>"undefined method `any?' for nil:NilClass", "conflicts"=>["UNKNOWN"]}
2016-04-08 17:17:35 [foreman-tasks/action] [E] undefined method `any?' for nil:NilClass (NoMethodError)

Expected results:

Manifest import should be successful

Additional info:

Actions

Also available in: Atom PDF