Не удается поднять кластер CEPH?
Проблема следующая. После установки cephadm необходимо создать папку на каждой ноде (всего их 2) с помощью команды "mkdir -p /etc/ceph". Далее необходимо выполнить команду саморазвертывания "cephadm bootstrap --mon-ip 192.168.10.20" Вроде бы в процессе установки все идет складно, но потом...
root@CEPH01:~# cephadm bootstrap —mon-ip 192.168.10.20
Verifying podman|docker is present...
Verifying lvm2 is present...
Verifying time synchronization is in place...
Unit systemd-timesyncd.service is enabled and running
Repeating the final host check...
podman|docker (/usr/bin/docker) is present
systemctl is present
lvcreate is present
Unit systemd-timesyncd.service is enabled and running
Host looks OK
Cluster fsid: 4e4be1d2-a768-11eb-b459-f9a40ad50756
Verifying IP 192.168.10.20 port 3300 ...
Verifying IP 192.168.10.20 port 6789 ...
Mon IP 192.168.10.20 is in CIDR network 192.168.10.0/24
Pulling container image docker.io/ceph/ceph:v15...
Extracting ceph user uid/gid from container image...
Creating initial keys...
Creating initial monmap...
Creating mon...
Waiting for mon to start...
Waiting for mon...
mon is available
Assimilating anything we can from ceph.conf...
Generating new minimal ceph.conf...
Restarting the monitor...
Setting mon public_network...
Creating mgr...
Verifying port 9283 ...
Wrote keyring to /etc/ceph/ceph.client.admin.keyring
Wrote config to /etc/ceph/ceph.conf
Waiting for mgr to start...
Waiting for mgr...
mgr not available, waiting (1/10)...
mgr not available, waiting (2/10)...
mgr not available, waiting (3/10)...
mgr is available
Enabling cephadm module...
Waiting for the mgr to restart...
Waiting for Mgr epoch 5...
Mgr epoch 5 is available
Setting orchestrator backend to cephadm...
Generating ssh key...
Wrote public SSH key to to /etc/ceph/ceph.pub
Adding key to root@localhost's authorized_keys...
Adding host CEPH01...
Deploying mon service with default placement...
Deploying mgr service with default placement...
Deploying crash service with default placement...
Enabling mgr prometheus module...
Deploying prometheus service with default placement...
Deploying grafana service with default placement...
Deploying node-exporter service with default placement...
Deploying alertmanager service with default placement...
Enabling the dashboard module...
Waiting for the mgr to restart...
Waiting for Mgr epoch 13...
Mgr epoch 13 is available
Generating a dashboard self-signed certificate...
Creating initial admin user...
Non-zero exit code 22 from /usr/bin/docker run —rm —ipc=host —net=host —entrypoint
/usr/bin/ceph -e CONTAINER_IMAGE=docker.io/ceph/ceph:v15 -e NODE_NAME=CEPH01 -v
/var/log/ceph/4e4be1d2-a768-11eb-b459-f9a40ad50756:/var/log/ceph:z -v /tmp/ceph-
tmpd_8ptq_i:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-
tmpm8ln6ix0:/etc/ceph/ceph.conf:z docker.io/ceph/ceph:v15 dashboard ac-user-create admin
f7alwklx73 administrator —force-password —pwd-update-required
/usr/bin/ceph:stderr Error EINVAL: Please specify the file containing the password/secret
with "-i" option.
Traceback (most recent call last):
File "/usr/sbin/cephadm", line 6111, in <module>
r = args.func()
File "/usr/sbin/cephadm", line 1399, in _default_image
return func()
File "/usr/sbin/cephadm", line 3238, in command_bootstrap
cli(cmd)
File "/usr/sbin/cephadm", line 3002, in cli
return CephContainer(
File "/usr/sbin/cephadm", line 2654, in run
out, _, _ = call_throws(
File "/usr/sbin/cephadm", line 1060, in call_throws
raise RuntimeError('Failed command: %s' % ' '.join(command))
RuntimeError: Failed command: /usr/bin/docker run —rm —ipc=host —net=host —entrypoint
/usr/bin/ceph -e CONTAINER_IMAGE=docker.io/ceph/ceph:v15 -e NODE_NAME=CEPH01 -v
/var/log/ceph/4e4be1d2-a768-11eb-b459-f9a40ad50756:/var/log/ceph:z -v /tmp/ceph-
tmpd_8ptq_i:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-
tmpm8ln6ix0:/etc/ceph/ceph.conf:z docker.io/ceph/ceph:v15 dashboard ac-user-create admin
f7alwklx73 administrator —force-password —pwd-update-required
В конце, по идее, он должен был выдать информацию об успешной установки bootstrap и выдать реквизиты входа на веб-сервис, но, как видите такого нет. Может быть в курсе кто-то как разрешить эту проблему?