Project

General

Profile

Actions

Support #59086

open

cephadm: monitor creation failure when bootstrap without cephx

Added by xianpao chen about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

Do I have to use cephx to create cluster?

error log:
[root@ceph01 cephx]# cat a.conf
[global]
auth_cluster_required = none
auth_service_required = none
auth_client_required = none

[root@ceph01 cephx]# cephadm --verbose bootstrap --mon-ip 172.31.242.65 --config a.conf --log-to-file --no-minimize-config
--------------------------------------------------------------------------------
cephadm ['--verbose', 'bootstrap', '--mon-ip', '172.31.242.65', '--config', 'a.conf', '--log-to-file', '--no-minimize-config']

Bootstrap complete.

[ceph: root@ceph01 /]# ceph orch host add ceph02 172.31.242.66
Added host 'ceph02' with addr '172.31.242.66'
[ceph: root@ceph01 /]# ceph orch ls
NAME PORTS RUNNING REFRESHED AGE PLACEMENT
alertmanager ?:9093,9094 1/1 119s ago 3m count:1
crash 1/2 119s ago 3m *
grafana ?:3000 1/1 119s ago 3m count:1
mgr 1/2 119s ago 3m count:2
mon 1/5 119s ago 3m count:5
node-exporter ?:9100 1/2 119s ago 3m *
prometheus ?:9095 1/1 119s ago 3m count:1

[ceph: root@ceph01 /]# ceph health detail
HEALTH_WARN Failed to place 1 daemon(s); 1 failed cephadm daemon(s); OSD count 0 < osd_pool_default_size 3
[WRN] CEPHADM_DAEMON_PLACE_FAIL: Failed to place 1 daemon(s)
Failed while placing mon.ceph02 on ceph02: auth get failed: failed to find mon. in keyring retval: -2
[WRN] CEPHADM_FAILED_DAEMON: 1 failed cephadm daemon(s)
daemon mgr.ceph02.weayqf on ceph02 is in error state
[WRN] TOO_FEW_OSDS: OSD count 0 < osd_pool_default_size 3


Files

log.txt (53.2 KB) log.txt xianpao chen, 03/16/2023 02:48 AM

No data to display

Actions

Also available in: Atom PDF