carried out:
ceph-deploy mon create-initial
Error:
[ceph_deploy][ERROR] KeyNotFoundError: Could not find keyring file: /etc/ceph/ceph.client.admin.keyring on host node1
[ceph_deploy][ERROR] KeyNotFoundError: Could not find keyring file: /etc/ceph/ceph.client.admin.keyring on host node2
[ceph_deploy][ERROR] KeyNotFoundError: Could not find keyring file: /etc/ceph/ceph.client.admin.keyring on host node3
solve:
ceph auth get-or-create client.admin mon’allow *’mds’allow *’osd’allow *’–o /etc/ceph/ceph.client.admin.keyring
or
ceph-create-keys –id node1
ceph-create-keys –id node2
ceph-create-keys –id node3
Error 2:
[ceph_deploy.mon][ERROR]Some monitors have still not reached quorum:
[ceph_deploy.mon][ERROR]node1
solve:
It can’t be solved for the time being, I have solved the error 3 after starting from the beginning:
————————————————– ———————————–
Implementation: rbd list
Error 3:
2018-08-19 10:31:08.047481 7f1f6c1d7700 0 – 192.168.4.1:0/3336722177 >> 192.168.4.2:6804/9634 pipe(0x55db04d46b20 sd=4 :0 s=1 pgs=0 cs=0 l=1 c=0x55db04d45db0).fault
Troubleshooting:
[root@node1 ceph-cluster]# ll /dev/vdb{1,2}
brw-rw—-. 1 root disk 252, 17 Aug 19 10:24 /dev/vdb1
brw-rw—-. 1 root disk 252, 18 Aug 19 10:24 /dev/vdb2
The problem is: the owner of /dev/vdb1 /dev/vdb2 is not ceph
solve:
[root@node1 ceph-cluster]# ll /dev/vdb{1,2}
brw-rw—-. 1 ceph ceph 252, 17 Aug 19 10:24 /dev/vdb1
brw-rw—-. 1 ceph ceph 252, 18 Aug 19 10:24 /dev/vdb2
chown ceph.ceph /dev/vdb{1,2}
[root@node1 ceph-cluster]# ll /dev/vdb{1,2}
brw-rw—-. 1 ceph ceph 252, 17 Aug 19 10:24 /dev/vdb1
brw-rw—-. 1 ceph ceph 252, 18 Aug 19 10:24 /dev/vdb2
[root@node1 ceph-cluster]# ceph-deploy osd activate node1:/dev/vdc1 node1:/dev/vdd1
[root@node1 ceph-cluster]# ceph-deploy osd activate node2:/dev/vdc1 node2:/dev/vdd1
[root@node1 ceph-cluster]# ceph-deploy osd activate node3:/dev/vdc1 node3:/dev/vdd1
Read More:
- How to Solve elasticsearch-7.15.1 operation errors
- How to Solve J-link Error (Two Command Errors & Solution)
- How to Solve jmeter Install Error (Three Common Errors)
- How to Configure OpenFPGA Environment (Probable Errors & Their Solutions)
- How to Fix the common Warning Errors after Vue Project Startup
- [Solved] System.InvalidOperationException: Failed to deploy distro docker-desktop……
- Cordova – CordovaError: Promise rejected with non-error: ‘ios-deploy was not found
- [Solved] Kettle Error: ../deploy does not exist, please create it.
- Error: env [NODE_ENV] is not set (How to Solve)
- How to Solve Error: cannot open .Git/fetch_HEAD: Permission denied
- How to Solve spark Writes Files to odps Error
- How to Solve VMware Workstation Error: This virtual machine appears to be in use.
- How to Solve elasticsearch root user start Error
- [Solved] laravel Project Deploy Error: No input file specified.
- How to Solve Huawei ensp40 Error
- Kotlin: How to Solve kapt import error
- How to Solve Kotlin unresolved reference error
- How to Solve Starrocks Various Error
- How to Solve Client-go Mod Error
- How to Solve Hmaster hangs up issue due to namenode switching in Ha mode