Hi,
I cannot start MDS services on active/standby node:
root@ld3955:/var/log# systemctl status ceph-mds@ld3955
● ceph-mds@ld3955.service - Ceph metadata server daemon
Loaded: loaded (/lib/systemd/system/ceph-mds@.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/ceph-mds@.service.d
└─ceph-after-pve-cluster.conf
Active: inactive (dead) since Tue 2019-09-03 10:51:26 CEST; 21min ago
Process: 2777472 ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id ld3955 --setuser ceph --setgroup ceph (code=exited, status=0/SUCCESS)
Main PID: 2777472 (code=exited, status=0/SUCCESS)
Sep 03 10:51:26 ld3955 systemd[1]: Started Ceph metadata server daemon.
Sep 03 10:51:26 ld3955 ceph-mds[2777472]: starting mds.ld3955 at 2019-09-03 10:51:26.717 7f35e0318340 -1 auth: unable to find a keyring on /etc/pve/priv/ceph.mds.ld3955.keyring: (13) Permission denied
Sep 03 10:51:26 ld3955 ceph-mds[2777472]: 2019-09-03 10:51:26.717 7f35e0318340 -1 auth: unable to find a keyring on /etc/pve/priv/ceph.mds.ld3955.keyring: (13) Permission denied
Sep 03 10:51:26 ld3955 ceph-mds[2777472]: 2019-09-03 10:51:26.717 7f35e0318340 -1 monclient: keyring not found
Sep 03 10:51:26 ld3955 ceph-mds[2777472]: 2019-09-03 10:51:26.717 7f35e0318340 -1 mds.ld3955 ERROR: failed to init monc: (13) Permission denied
Sep 03 10:51:26 ld3955 systemd[1]: ceph-mds@ld3955.service: Succeeded.
However when I run ceph-mds in foreground to debug it I get a different error message:
root@ld3955:/var/log# ceph-mds -d --debug_mds 3
2019-09-03 11:28:56.639 7f4abb2cf340 -1 auth: unable to find a keyring on /var/lib/ceph/mds/ceph-admin/keyring: (2) No such file or directory
2019-09-03 11:28:56.639 7f4abb2cf340 -1 AuthRegistry(0x558079552140) no keyring found at /var/lib/ceph/mds/ceph-admin/keyring, disabling cephx
2019-09-03 11:28:56.643 7f4abb2cf340 -1 auth: unable to find a keyring on /var/lib/ceph/mds/ceph-admin/keyring: (2) No such file or directory
2019-09-03 11:28:56.643 7f4abb2cf340 -1 AuthRegistry(0x7fffa244c8f8) no keyring found at /var/lib/ceph/mds/ceph-admin/keyring, disabling cephx
failed to fetch mon config (--no-mon-config to skip)
Both error messages are pointing to a missing keyring.
In fact the keyring /var/lib/ceph/mds/ceph-admin/keyring does not exist.
But in /etc/pve/priv all keyings are available:
root@ld3955:/var/log# ls -l /etc/pve/priv/
insgesamt 6
-rw------- 1 root www-data 1679 Sep 2 12:30 authkey.key
-rw------- 1 root www-data 5415 Aug 21 18:00 authorized_keys
-rw------- 1 root www-data 0 Aug 21 11:03 authorized_keys.tmp.1104659
drwx------ 2 root www-data 0 Jun 6 17:17 ceph
-rw------- 1 root www-data 63 Mai 28 14:32 ceph.client.admin.keyring
-rw------- 1 root www-data 61 Jul 8 11:34 ceph.mds.ld3955.keyring
-rw------- 1 root www-data 61 Jul 8 11:34 ceph.mds.ld3976.keyring
-rw------- 1 root www-data 236 Mai 28 14:32 ceph.mon.keyring
-rw------- 1 root www-data 4692 Aug 21 18:00 known_hosts
drwx------ 2 root www-data 0 Mai 20 17:24 lock
-rw------- 1 root www-data 3243 Mai 20 17:24 pve-root-ca.key
-rw------- 1 root www-data 3 Mai 22 14:53 pve-root-ca.srl
Can you please advise how to fix this issue?
THX
I cannot start MDS services on active/standby node:
root@ld3955:/var/log# systemctl status ceph-mds@ld3955
● ceph-mds@ld3955.service - Ceph metadata server daemon
Loaded: loaded (/lib/systemd/system/ceph-mds@.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/ceph-mds@.service.d
└─ceph-after-pve-cluster.conf
Active: inactive (dead) since Tue 2019-09-03 10:51:26 CEST; 21min ago
Process: 2777472 ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id ld3955 --setuser ceph --setgroup ceph (code=exited, status=0/SUCCESS)
Main PID: 2777472 (code=exited, status=0/SUCCESS)
Sep 03 10:51:26 ld3955 systemd[1]: Started Ceph metadata server daemon.
Sep 03 10:51:26 ld3955 ceph-mds[2777472]: starting mds.ld3955 at 2019-09-03 10:51:26.717 7f35e0318340 -1 auth: unable to find a keyring on /etc/pve/priv/ceph.mds.ld3955.keyring: (13) Permission denied
Sep 03 10:51:26 ld3955 ceph-mds[2777472]: 2019-09-03 10:51:26.717 7f35e0318340 -1 auth: unable to find a keyring on /etc/pve/priv/ceph.mds.ld3955.keyring: (13) Permission denied
Sep 03 10:51:26 ld3955 ceph-mds[2777472]: 2019-09-03 10:51:26.717 7f35e0318340 -1 monclient: keyring not found
Sep 03 10:51:26 ld3955 ceph-mds[2777472]: 2019-09-03 10:51:26.717 7f35e0318340 -1 mds.ld3955 ERROR: failed to init monc: (13) Permission denied
Sep 03 10:51:26 ld3955 systemd[1]: ceph-mds@ld3955.service: Succeeded.
However when I run ceph-mds in foreground to debug it I get a different error message:
root@ld3955:/var/log# ceph-mds -d --debug_mds 3
2019-09-03 11:28:56.639 7f4abb2cf340 -1 auth: unable to find a keyring on /var/lib/ceph/mds/ceph-admin/keyring: (2) No such file or directory
2019-09-03 11:28:56.639 7f4abb2cf340 -1 AuthRegistry(0x558079552140) no keyring found at /var/lib/ceph/mds/ceph-admin/keyring, disabling cephx
2019-09-03 11:28:56.643 7f4abb2cf340 -1 auth: unable to find a keyring on /var/lib/ceph/mds/ceph-admin/keyring: (2) No such file or directory
2019-09-03 11:28:56.643 7f4abb2cf340 -1 AuthRegistry(0x7fffa244c8f8) no keyring found at /var/lib/ceph/mds/ceph-admin/keyring, disabling cephx
failed to fetch mon config (--no-mon-config to skip)
Both error messages are pointing to a missing keyring.
In fact the keyring /var/lib/ceph/mds/ceph-admin/keyring does not exist.
But in /etc/pve/priv all keyings are available:
root@ld3955:/var/log# ls -l /etc/pve/priv/
insgesamt 6
-rw------- 1 root www-data 1679 Sep 2 12:30 authkey.key
-rw------- 1 root www-data 5415 Aug 21 18:00 authorized_keys
-rw------- 1 root www-data 0 Aug 21 11:03 authorized_keys.tmp.1104659
drwx------ 2 root www-data 0 Jun 6 17:17 ceph
-rw------- 1 root www-data 63 Mai 28 14:32 ceph.client.admin.keyring
-rw------- 1 root www-data 61 Jul 8 11:34 ceph.mds.ld3955.keyring
-rw------- 1 root www-data 61 Jul 8 11:34 ceph.mds.ld3976.keyring
-rw------- 1 root www-data 236 Mai 28 14:32 ceph.mon.keyring
-rw------- 1 root www-data 4692 Aug 21 18:00 known_hosts
drwx------ 2 root www-data 0 Mai 20 17:24 lock
-rw------- 1 root www-data 3243 Mai 20 17:24 pve-root-ca.key
-rw------- 1 root www-data 3 Mai 22 14:53 pve-root-ca.srl
Can you please advise how to fix this issue?
THX
Last edited: