Project

General

Profile

Actions

Bug #14537

closed

unable to register host with sub-man after puppet registration (bats failure)

Added by Chris Duryee over 8 years ago. Updated over 6 years ago.

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

Description

If a host is registered via puppet, it is unable to then register with subscription manager

stack:

2016-04-07 14:22:50 [katello/cp_proxy] [E] ActiveRecord::AssociationTypeMismatch: Taxonomy(#66886280) expected, got NilClass(#19624500)
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/associations/association.rb:216:in `raise_on_type_mismatch!'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/associations/has_many_through_association.rb:32:in `block in concat'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/associations/has_many_through_association.rb:31:in `each'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/associations/has_many_through_association.rb:31:in `concat'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/associations/collection_proxy.rb:972:in `<<'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0/app/lib/actions/katello/host/register.rb:69:in `connect_to_smart_proxy'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0/app/lib/actions/katello/host/register.rb:32:in `block in plan'
Actions

Also available in: Atom PDF