Re: cephfs-mirror as cephadm orchestrator service

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

 



Hello Robert,

A couple questions. What name shows up for the cephfs-mirror daemon in
"ceph orch ps" and is there a keyring present in
/var/lib/ceph/<fsid>/<cephfs-mirror-daemon-name> on the host where the
cephfs-mirror is deployed? Also, if you're willing to go look inside the
cephfs-mirror container, could you check the contents of etc/ceph? I'm
wondering if there is a bug with how cephadm is setting up the
cephfs-mirror daemon where it's not providing the correct name for the
keyring within the container.

Thanks,

  - Adam King

On Tue, Mar 29, 2022 at 8:41 AM Robert Sander <r.sander@xxxxxxxxxxxxxxxxxxx>
wrote:

> Hi,
>
> we started a cephfs-mirror with
>
> ceph orch apply cephfs-mirror
>
> and added a peer cluster with bootstrapping:
>
> ceph fs snapshot mirror peer_bootstrap import cephfs token…
>
> The mirroring works, a newly create dsnapshot is mirrored to the other
> cluster.
>
> But in the log of the cephfs-mirror container we still see error
> messages shortly after the bootstrapping:
>
> unable to find a keyring on
> /etc/ceph/ceph.client.mirror_remote.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,:
>
> (2) No such file or directory
>
> Are these relevant at all? Why are they written to the log?
>
> BTW: The documentation only shows how to start cephfs-mirror as systemd
> service with "systemctl enable" which is obviously not the way in a
> cephadm managed cluster:
>
> https://docs.ceph.com/en/pacific/cephfs/cephfs-mirroring/#starting-mirror-daemon
>
> Regards
> --
> Robert Sander
> Heinlein Consulting GmbH
> Schwedter Str. 8/9b, 10119 Berlin
>
> http://www.heinlein-support.de
>
> Tel: 030 / 405051-43
> Fax: 030 / 405051-19
>
> Zwangsangaben lt. §35a GmbHG:
> HRB 220009 B / Amtsgericht Berlin-Charlottenburg,
> 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