Bug #53047
closedcmake command not found in the standalone cluster to execute cmake -DWITH_SEASTAR=ON .. command
0%
Description
I am trying to configure crimson on the standalone cluster. The cluster is configured by using cephadm.
I executed the following steps-
1.curl -L https://github.com/ceph/ceph/raw/85635f3066b9955ba1246a02228c2998325058e7/install-deps.sh -o install-deps.sh
2.WITH_SEASTAR=true ./install-deps.sh
3.mkdir build && cd build
4.cmake -DWITH_SEASTAR=ON ..
The execution failed with the bellow error:
[ceph: root@depressa008 build]# cmake -DWITH_SEASTAR=ON -DSeastar_CXX_FLAGS=-DSEASTAR_DEFAULT_ALLOCATOR ..
bash: cmake: command not found
[ceph: root@depressa008 build]#
[ceph: root@depressa008 /]# ceph -v
ceph version 17.0.0-8512-g46afe6b1 (46afe6b1df1fab34f56bbda4f6125aa978c10eed) quincy (dev)
[ceph: root@depressa008 /]
Files
Updated by Srinivasa Bharath Kanta over 2 years ago
Please find the cluster configuration process.
Updated by Srinivasa Bharath Kanta over 2 years ago
Installed cmake by executing the following command.
yum -y install cmake
Still getting the following error while configuring the seastar.
[ceph: root@depressa008 build]# cmake -DWITH_SEASTAR=ON -DSeastar_CXX_FLAGS=-DSEASTAR_DEFAULT_ALLOCATOR ..
CMake Error: The source directory "/root" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
[ceph: root@depressa008 build]#
[ceph: root@depressa008 build]# cmake -DWITH_SEASTAR=ON ..
CMake Error: The source directory "/root" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
[ceph: root@depressa008 build]#
The above I am executing on the cephadm shell.
Updated by Srinivasa Bharath Kanta over 2 years ago
Srinivasa Bharath Kanta wrote:
Please find attached cluster configuration process.
Updated by Srinivasa Bharath Kanta over 2 years ago
I followed the steps mentioned in the below document.
https://docs.ceph.com/en/latest/dev/crimson/crimson/
Updated by Samuel Just over 2 years ago
That looks like instructions for building ceph from source. Did you actually git checkout the ceph source on that machine? I think since this bug was filed rook support was completed, so that might be the right thing to try?
Updated by Srinivasa Bharath Kanta over 2 years ago
I tried from the git source and got the following issue-
[root@depressa008 ceph]# WITH_SEASTAR=true ./install-deps.sh
Using dnf to install dependencies
Updating Subscription Management repositories.
Extra Packages for Enterprise Linux Modular 8.4 - x86_64 61 kB/s | 80 kB 00:01
Errors during downloading metadata for repository 'epel-modular':
- Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-modular-8.4&arch=x86_64&infra=$infra&content=$contentdir&countme=1 (IP: 38.145.60.20)
- Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-modular-8.4&arch=x86_64&infra=$infra&content=$contentdir (IP: 152.19.134.198)
- Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-modular-8.4&arch=x86_64&infra=$infra&content=$contentdir (IP: 38.145.60.20)
Error: Failed to download metadata for repo 'epel-modular': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-modular-8.4&arch=x86_64&infra=$infra&content=$contentdir (IP: 152.19.134.198)
[root@depressa008 ceph]#
I tried the workaround provided in the following document but failed.
https://access.redhat.com/solutions/6106221
Updated by Srinivasa Bharath Kanta over 2 years ago
CEPH version-
[ceph: root@depressa008 /]# ceph -v
ceph version 17.0.0-9299-g174ad996 (174ad996c15ee7d50b3c74107946ffc0204b2139) quincy (dev)
[ceph: root@depressa008 /]#
Updated by Matan Breizman 4 days ago
- Status changed from New to Closed
Please re-open if still relevant.