Project

General

Profile

ERF12-5287 » History » Revision 2

Revision 1 (Stephen Benjamin, 11/03/2014 01:03 PM) → Revision 2/9 (Stephen Benjamin, 05/04/2015 05:02 PM)

h1. ERF12-5287 

 Possible solutions to this issue: 

 h2. Expired Keytab 

 Do you see an error like this in /var/log/foreman-proxy/proxy.log? 

 <pre> 
 ERROR -- : Failed to initailize credentials cache from keytab: krb5_get_init_creds_keytab: Decrypt integrity check failed 
 </pre> 

 Your Keytab may be expired. 

 You can get a new one by: 

 <pre> 
 # kinit admin@EXAMPLE.COM (or other suitable IPA admin) 
 # ipa-getkeytab -s ipa01.example.com -p realm-proxy@EXAMPLE.COM -k /etc/foreman-proxy/freeipa.keytab 
 # chmod foreman-proxy:foreman-proxy /etc/foreman-proxy/freeipa.keytab 
 </pre> 


 h2. Wrong Size Error 

 Do you see an error like this in /var/log/foreman-proxy/proxy.log? 

 <pre> 
 E, [2014-11-03T15:23:02.715791 #21273] ERROR -- : Wrong size. Was 307, should be 191 
 </pre> 

 This is due to a bug in Ruby:  
   https://bugs.ruby-lang.org/issues/8182 

 On RHEL 7 and rebuilds, this hasn't been backported yet.    The relevant bugzilla 
 is: https://bugzilla.redhat.com/show_bug.cgi?id=1071187 

 You can temporarily work around the problem by commenting these out on lines 505-506 in 
 /usr/share/ruby/xmlrpc/client.rb: 

 <pre> 
       #elsif expected != "<unknown>" and expected.to_i != data.bytesize and resp["Transfer-Encoding"].nil? 
             #    raise "Wrong size. Was #{data.bytesize}, should be 
             #    #{expected}" 
 </pre>