-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation is failed #308
Comments
nvmeof-cli create_bdev --pool rbd --image demo_image --bdev demo_bdev |
@sarwanjassi can you try building using the command:
|
Thanks @gbregman We have next issue at #3 from using demo document "Usage Demo and manual steps: Create a bdev (Block Device) from an RBD image: nvmeof-cli create_bdev --pool rbd --image demo_image --bdev demo_bdev nvmeof-cli create_bdev --pool rbd --image demo_image --bdev demo_bdevCreating ceph-nvmeof_nvmeof-cli_run ... done |
Make Demo has error now: progress is going on with your help: what is next please advise. Creating ceph-nvmeof_nvmeof-cli_run ... done |
Refer installation issue at Fedora37 : ceph#308 Signed-off-by: Sarwan Singh Jassi <[email protected]>
#make demo block has error which i duplicated from manual steps: ]# nvmeof-cli add_namespace --subnqn nqn.2016-06.io.spdk:cnode1 --bdev demo_bdev |
Docker version 24.0.5, build |
@sarwanjassi the "make demo" issue was fixed in PR #280. In the meantime you can issue the failing command manually:
Where the addresses and the container id are the ones for your environment. Then you'll need to also run the last command which comes after the create_listener:
|
@sarwanjassi about the "core_mask" error, it's probably because you don't use the latest SPDK. Could you run "git log -1 spdk" ? |
spdk ceph-nvmeof]# git log -a spdk
commit a5cab1d
commit a74318c
commit 5c6ac22
commit 0dbeac1 |
@sarwanjassi according to the "core_mask" error it seems that the code used didn't include the latest changes to SPDK to add "core_mask". To be on the safe side try running:
And then build from scratch using the command line I'd given you |
make demo failed at [root@dcmir25ds21-01 ceph-nvmeof]# make demo container detail docker ps d85a5c307d3d IP: 192.168.13.2 quay.io/ceph/vstart-cluster:18.2.0 "sh -c './vstart.sh …" About a minute ago Up About a minute (healthy) |
@sarwanjassi , as I said, the problem with "make demo" was fixed in a later version. So until you get the fixed version, just run the failing commands manually:
|
ALl done and big thanks to you @gbregman next error is ]# nvme discover -t tcp -a 192.168.13.3 -s 4420 |
58033.032159] br-df10d3ad8bb7: port 3(veth28a082f) entered disabled state |
@sarwanjassi can you send the output of:
|
@sarwanjassi please try:
|
1 ceph-nvmeof]# grep discovery_controller ceph-nvmeof.conf |
@sarwanjassi did you try using port 8009? |
[root@-01 ceph-nvmeof]# nvme discover -t tcp -a 192.168.13.3 -s 8009 Dmesg: error |
@leonidc can you have a look? |
@sarwanjassi please send us the output of:
|
[-01 ~]$ nvme gen-hostnqn |
@gbregman I was able to fix it [root@-02 ~]# nvme list /dev/nvme7n1 /dev/ng7n1 SPDK00000000000001 SPDK bdev Controller 1 10.49 MB / 10.49 MB 512 B + 0 The 10MB block created is visible. Next question is i need to make osd, pool . what is the best way to use cephadm and setup cluster and share the pool here. |
@sarwanjassi I'm afraid I don't know much about OSD. Are we done with this issue? If you got all the issues fixed can you close it? |
@sarwanjassi the source problem of this issue is seems to be resolved. If there is any other issue, please open a new issue. Closing thx. |
OS: Fedora release 37 (Thirty Seven)
Kernel: Linux dcmir25ds21-01 6.5.8-100.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct 20 16:11:27 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
SELinux status: disabled
installation is failed with following error. Please advise.
[root@ ceph-nvmeof]# make setup
Setup core dump pattern as /tmp/coredump/core.*
mkdir -p /tmp/coredump
sudo bash -c 'echo "|/usr/bin/env tee /tmp/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern'
sudo bash -c 'echo 2048 > "/sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages"'
Actual Hugepages allocation: 2048
[root@ ceph-nvmeof]# make pull
docker-compose pull spdk bdevperf nvmeof nvmeof-devel nvmeof-cli discovery ceph
Pulling spdk ... done
Pulling bdevperf ... done
Pulling ceph ... done
Pulling nvmeof ... done
Pulling discovery ... done
Pulling nvmeof-devel ... done
Pulling nvmeof-cli ... done
WARNING: Some service image(s) must be built from source by running:
docker-compose build nvmeof-devel bdevperf discovery nvmeof nvmeof-cli
[root@ ceph-nvmeof]# docker-compose build nvmeof-devel bdevperf discovery nvmeof nvmeof-cli
Building bdevperf
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 142.6MB
Step 1/41 : FROM quay.io/centos/centos:stream9 AS build
---> 3e44e66a723b
Step 2/41 : ARG SPDK_CEPH_VERSION SPDK_VERSION
---> Using cache
---> cef4960f0666
Step 3/41 : COPY <<EOF /etc/yum.repos.d/ceph.repo
COPY failed: no source files were specified
ERROR: Service 'bdevperf' failed to build : Build failed
The text was updated successfully, but these errors were encountered: