Project

General

Profile

ERF12-5287 » History » Version 1

Stephen Benjamin, 11/03/2014 01:03 PM

1 1 Stephen Benjamin
h1. ERF12-5287
2
3
Possible solutions to this issue:
4
5
6
h2. Wrong Size Error
7
8
Do you see an error like this in /var/log/foreman-proxy/proxy.log?
9
10
<pre>
11
E, [2014-11-03T15:23:02.715791 #21273] ERROR -- : Wrong size. Was 307, should be 191
12
</pre>
13
14
This is due to a bug in Ruby: 
15
  https://bugs.ruby-lang.org/issues/8182
16
17
On RHEL 7 and rebuilds, this hasn't been backported yet.  The relevant bugzilla
18
is: https://bugzilla.redhat.com/show_bug.cgi?id=1071187
19
20
You can temporarily work around the problem by commenting these out on lines 505-506 in
21
/usr/share/ruby/xmlrpc/client.rb:
22
23
<pre>
24
      #elsif expected != "<unknown>" and expected.to_i != data.bytesize and resp["Transfer-Encoding"].nil?
25
            #  raise "Wrong size. Was #{data.bytesize}, should be
26
            #  #{expected}"
27
</pre>