Re: How to setup NVMeoF?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Robert,

You could try:

ceph config set mgr mgr/cephadm/container_image_nvmeof "quay.io/ceph/nvmeof:1.2.13" or whatever image tag you need (1.2.13 is current latest).

Another way to run the image is by editing the unit.run file of the service or by directly running the container with podman run (you'll need to adjust names, cluster sid, etc.):

/usr/bin/podman run --rm --ipc=host --stop-signal=SIGTERM --authfile=/etc/ceph/podman-auth.json --net=host --init --name ceph-aa558815-042c-4fce-ac37-80c0255bf3c0-nvmeof-nvmeof_pool01-test-lis04h02-baakhx --pids-limit=-1 --ulimit memlock=-1:-1 --ulimit nofile=10240 --cap-add=SYS_ADMIN --cap-add=CAP_SYS_NICE --log-driver journald --conmon-pidfile /run/ceph-aa558815-042c-4fce-ac37-80c0255bf3c0@nvmeof.nvmeof_pool01.test-lis04h02.baakhx.service-pid --cidfile /run/ceph-aa558815-042c-4fce-ac37-80c0255bf3c0@nvmeof.nvmeof_pool01.test-lis04h02.baakhx.service-cid --cgroups=split -e CONTAINER_IMAGE=quay.io/ceph/nvmeof:1.2.13 -e NODE_NAME=test-lis04h02.peta.libe.dc.univ-lorraine.fr -e CEPH_USE_RANDOM_NONCE=1 -v /var/lib/ceph/aa558815-042c-4fce-ac37-80c0255bf3c0/nvmeof.nvmeof_pool01.test-lis04h02.baakhx/config:/etc/ceph/ceph.conf:z -v /var/lib/ceph/aa558815-042c-4fce-ac37-80c0255bf3c0/nvmeof.nvmeof_pool01.test-lis04h02.baakhx/keyring:/etc/ceph/keyring:z -v /var/lib/ceph/aa558815-042c-4fce-ac37-80c0255bf3c0/nvmeof.nvmeof_pool01.test-lis04h02.baakhx/ceph-nvmeof.conf:/src/ceph-nvmeof.conf:z -v /var/lib/ceph/aa558815-042c-4fce-ac37-80c0255bf3c0/nvmeof.nvmeof_pool01.test-lis04h02.baakhx/configfs:/sys/kernel/config -v /dev/hugepages:/dev/hugepages -v /dev/vfio/vfio:/dev/vfio/vfio -v /etc/hosts:/etc/hosts:ro --mount type=bind,source=/lib/modules,destination=/lib/modules,ro=true quay.io/ceph/nvmeof:1.2.13

The commands I wrote here [1] in February should still work I believe.

Regards,
Frédéric.

[1] https://github.com/ceph/ceph-nvmeof/issues/459

----- Le 30 Mai 24, à 13:03, Robert Sander r.sander@xxxxxxxxxxxxxxxxxxx a écrit :

> Hi,
> 
> On 5/30/24 11:58, Robert Sander wrote:
> 
>> I am trying to follow the documentation at
>> https://docs.ceph.com/en/reef/rbd/nvmeof-target-configure/ to deploy an
>> NVMe over Fabric service.
> 
> It looks like the cephadm orchestrator in this 18.2.2 cluster uses the image
> quay.io/ceph/nvmeof:0.0.2 which is 9 months old.
> 
> When I try to redeploy the daemon with the latest image
> ceph orch daemon redeploy nvmeof.nvme01.cephtest29.gookea --image
> quay.io/ceph/nvmeof:latest
> it tells me:
> 
> Error EINVAL: Cannot redeploy nvmeof.nvme01.cephtest29.gookea with a new image:
> Supported types are: mgr, mon, crash, osd, mds, rgw, rbd-mirror, cephfs-mirror,
> ceph-exporter, iscsi, nfs
> 
> How do I set the container image for this service?
> 
> ceph config set nvmeof container_image quay.io/ceph/nvmeof:latest
> 
> does not work with Error EINVAL: unrecognized config target 'nvmeof'
> 
> Regards
> --
> Robert Sander
> Heinlein Consulting GmbH
> Schwedter Str. 8/9b, 10119 Berlin
> 
> https://www.heinlein-support.de
> 
> Tel: 030 / 405051-43
> Fax: 030 / 405051-19
> 
> Amtsgericht Berlin-Charlottenburg - HRB 220009 B
> Geschäftsführer: Peer Heinlein - Sitz: Berlin
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux