首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >未能提供StorageClass“快速-rbd”的卷

未能提供StorageClass“快速-rbd”的卷
EN

Stack Overflow用户
提问于 2019-09-13 15:31:56
回答 1查看 1.7K关注 0票数 0

我正在使用RBD客户端与库伯奈特斯进行交流。我创造了PVC‘我的权利’,它一直处于待定状态。我得到了以下例外。我想,这可能是因为它可能试图从卡夫宝石映射rbd图像,或可能没有得到钥匙圈。请看下面的例外,并提供适当的建议。如果有人知道“如何通过外部提供程序”"ceph.com/rbd“或手动创建持久性卷控制器,请分享您的观点。

异常:

代码语言:javascript
复制
Normal   Provisioning        39m (x3 over 162m)  ceph.com/rbd_rbd-provisioner-98b88f5d6-q98tf_faed28f5-d621-11e9-9f60-c63a8677257e  External provisioner is provisioning volume for claim "default/myclaim"
  Warning  ProvisioningFailed  39m                 ceph.com/rbd_rbd-provisioner-98b88f5d6-q98tf_faed28f5-d621-11e9-9f60-c63a8677257e  failed to provision volume with StorageClass "fast-rbd": failed to create rbd image: exit status 110, command output: did not load config file, using default settings.
2019-09-13 13:41:50.588 7fc5c40f6900 -1 Errors while parsing config file!
2019-09-13 13:41:50.588 7fc5c40f6900 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2019-09-13 13:41:50.588 7fc5c40f6900 -1 parse_file: cannot open /root/.ceph/ceph.conf: (2) No such file or directory
2019-09-13 13:41:50.588 7fc5c40f6900 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2019-09-13 13:41:50.588 7fc5c40f6900 -1 Errors while parsing config file!
2019-09-13 13:41:50.588 7fc5c40f6900 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2019-09-13 13:41:50.588 7fc5c40f6900 -1 parse_file: cannot open /root/.ceph/ceph.conf: (2) No such file or directory
2019-09-13 13:41:50.588 7fc5c40f6900 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2019-09-13 13:41:50.620 7fc5c40f6900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-09-13 13:46:50.621 7fc5c40f6900  0 monclient(hunting): authenticate timed out after 300
2019-09-13 13:46:50.621 7fc5c40f6900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-09-13 13:51:50.620 7fc5c40f6900  0 monclient(hunting): authenticate timed out after 300
2019-09-13 13:51:50.620 7fc5c40f6900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-09-13 13:56:50.622 7fc5c40f6900  0 monclient(hunting): authenticate timed out after 300
2019-09-13 13:56:50.622 7fc5c40f6900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-09-13 14:01:50.624 7fc5c40f6900  0 monclient(hunting): authenticate timed out after 300
2019-09-13 14:01:50.624 7fc5c40f6900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-09-13 14:06:50.625 7fc5c40f6900  0 monclient(hunting): authenticate timed out after 300
2019-09-13 14:06:50.625 7fc5c40f6900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-09-13 14:11:50.627 7fc5c40f6900  0 monclient(hunting): authenticate timed out after 300
2019-09-13 14:11:50.627 7fc5c40f6900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-09-13 14:16:50.628 7fc5c40f6900  0 monclient(hunting): authenticate timed out after 300
2019-09-13 14:16:50.628 7fc5c40f6900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-09-13 14:21:50.627 7fc5c40f6900  0 monclient(hunting): authenticate timed out after 300
2019-09-13 14:21:50.627 7fc5c40f6900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-09-13 14:26:50.629 7fc5c40f6900  0 monclient(hunting): authenticate timed out after 300
2019-09-13 14:26:50.629 7fc5c40f6900 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
2019-09-13 14:31:50.631 7fc5c40f6900  0 monclient(hunting): authenticate timed out after 300
rbd: couldn't connect to the cluster!
  Normal  ExternalProvisioning  52s (x1881 over 7h50m)  persistentvolume-controller  waiting for a volume to be created, either by external provisioner "ceph.com/rbd" or manually created by system administrator.
EN

回答 1

Stack Overflow用户

发布于 2019-09-25 08:17:21

将OP的评论作为答复发布(社区wiki):

我得到了与持久性卷声明相关的问题,我只是更改了yml文件中的" name“,也就是说,在yml文件名中分配了一些xyz (要指定的荚名)的数据,所以确保所有名称都是相同的,并移除存储库。问题解决了!

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57926495

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档