Project

General

Profile

ERF12-5287 » History » Version 2

Stephen Benjamin, 05/04/2015 05:02 PM

1 1 Stephen Benjamin
h1. ERF12-5287
2
3
Possible solutions to this issue:
4
5 2 Stephen Benjamin
h2. Expired Keytab
6
7
Do you see an error like this in /var/log/foreman-proxy/proxy.log?
8
9
<pre>
10
ERROR -- : Failed to initailize credentials cache from keytab: krb5_get_init_creds_keytab: Decrypt integrity check failed
11
</pre>
12
13
Your Keytab may be expired.
14
15
You can get a new one by:
16
17
<pre>
18
# kinit admin@EXAMPLE.COM (or other suitable IPA admin)
19
# ipa-getkeytab -s ipa01.example.com -p realm-proxy@EXAMPLE.COM -k /etc/foreman-proxy/freeipa.keytab
20
# chmod foreman-proxy:foreman-proxy /etc/foreman-proxy/freeipa.keytab
21
</pre>
22
23 1 Stephen Benjamin
24
h2. Wrong Size Error
25
26
Do you see an error like this in /var/log/foreman-proxy/proxy.log?
27
28
<pre>
29
E, [2014-11-03T15:23:02.715791 #21273] ERROR -- : Wrong size. Was 307, should be 191
30
</pre>
31
32
This is due to a bug in Ruby: 
33
  https://bugs.ruby-lang.org/issues/8182
34
35
On RHEL 7 and rebuilds, this hasn't been backported yet.  The relevant bugzilla
36
is: https://bugzilla.redhat.com/show_bug.cgi?id=1071187
37
38
You can temporarily work around the problem by commenting these out on lines 505-506 in
39
/usr/share/ruby/xmlrpc/client.rb:
40
41
<pre>
42
      #elsif expected != "<unknown>" and expected.to_i != data.bytesize and resp["Transfer-Encoding"].nil?
43
            #  raise "Wrong size. Was #{data.bytesize}, should be
44
            #  #{expected}"
45
</pre>