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