Support #59086
opencephadm: monitor creation failure when bootstrap without cephx
0%
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
No data to display