Project

General

Profile

Actions

Bug #3584

closed

Ranlib fails from 64-bit client on a file in 32-bit based Ceph cluster.

Added by Yasuhiro Ohara over 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I could setup 32-bit Ceph cluster just fine, so I tried to mount it from 64-bit machine and tried a compilation of a software. The compilation went just fine, but when I type 'make install', ranlib on a file failed and the installation stopped. The error was like:
ranlib: /mnt/ceph/libXXX.a: Error reading libXXX-YYY.o: File truncated
'nm' on the file seems just fine.

How to reproduce:
1. Setup a Ceph cluster on 5 32-bit machines. All runs a osd, a mds, and a mon. It is ceph-0.55 and Fedra-17 3.6.7-4.fc17.i686.

Actions #1

Updated by Yasuhiro Ohara over 11 years ago

(two 3.6.7-4.fc17.i686 and three 3.5.3-1.fc17.i686, precisely)
2. mount it from a 64-bit Linux machine (3.6.7-4.fc17.x86_64)
3. compiling a software (which is, Ceph-0.55) was just fine.
4. make install stopped in the ranlib. (just running ranlib alone fails.)

libtool: install: /bin/install -c .libs/libcls_rbd.a /mnt/ceph/googoo/from-ken/usr/lib/rados-classes/libcls_rbd.a
libtool: install: chmod 644 /mnt/ceph/googoo/from-ken/usr/lib/rados-classes/libcls_rbd.a
libtool: install: ranlib /mnt/ceph/googoo/from-ken/usr/lib/rados-classes/libcls_rbd.a
ranlib: /mnt/ceph/googoo/from-ken/usr/lib/rados-classes/libcls_rbd.a: Error reading libcls_rbd_la-cls_rbd.o: File truncated
make4: *** [install-radoslibLTLIBRARIES] Error 1
make4: Leaving directory `/mnt/ceph/googoo/from-ken/ceph-0.55/src'

Actions #2

Updated by Sage Weil over 10 years ago

  • Status changed from New to Resolved

i believe this has been fixed.

Actions

Also available in: Atom PDF