ceph-csi对接ceph14.2.2
(2019-08-03 14:27:26)
					
											标签:
																				
                            k8s1.15crio1.15ceph14.2.2nautinuscsi | 
					分类: 云计算/大数据/云原生 | 
- k8s 1.15.0
 - crio 1.15.0
 - flannel 0.10.0
 - ceph 14.2.1(客户端/服务端)
 
- cephcsi v1.1.0
 
rbd-csi
1. missing ID field 'userID' in secrets
现象
能成功创建pvc且状态是Bound状态,但是通过kubectl delete -f rbd/pvc.yaml 后相关联的pv没有一并删除,需要手动删除;且创建的pod一直处于ContainerCreating状态
[root@node-130-11 ~]# kubectl get pvc
NAME  
rbd-pvc  
# kubectl describe pod csi-rbd-demo-pod 报如下错
 
 
 
# 查看csi-rbdplugin日志,报错如下
14m  
2019-08-01 16:36:34.258 7f12c1fb7880 -1 auth: unable to find a keyring on /etc/ceph/ceph.client..keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-08-01 16:36:34.258 7f12c1fb7880 -1 auth: unable to find a keyring on /etc/ceph/ceph.client..keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-08-01 16:36:34.261 7f12b1943700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]
2019-08-01 16:36:34.264 7f12b2945700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]
failed to fetch mon config (--no-mon-config to skip)
解决问题相关issue
https://github.com/ceph/ceph-csi/pull/395
https://github.com/rook/rook/issues/3357
https://github.com/rook/rook/issues/3168
https://github.com/ceph/ceph-csi/issues/344
翻遍了rook,
ceph-csi的所有相关issue,只找到一个非常相似的 

加载中…