Actions
Bug #14784
closedCeph deploymentinto prefix breaks some operations
Status:
Can't reproduce
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When installing ceph from git sources into non-default prefix:
./install-deps.sh
./autogen.sh
./configure --enable-cephfs-java --with-cython --with-jdk-dir=/usr/lib/jvm/java-7-openjdk --prefix=/opt/ceph
make -j8
make install
ceph doesn't honor the location of the crushtool binary and breaks on creation of the pool:
root@mon# ceph osd pool create pool_f 64
Error EINVAL: crushtool check failed with -22: crushtool: exec failed: (2) No such file or directory
However copying crushtool to /usr/bin easily fixes the problem:
root@mon# cp /opt/ceph/bin/crushtool /usr/bin/
root@mon# ceph osd pool create pool_f 64
pool 'pool_f' created
root@mon#
Actions