0

我正在为连接到我的节点的磁盘创建手动 Cstor 池,但我无法使用自定义存储池声明卷 cStor 存储池在健康状态下运行。

gem-cstor-disk-9wzj-6c9c8f75c5-mq6gp                              2/2     Running   0          154m
gem-cstor-disk-iru2-68c85445cf-pqg6b                              2/2     Running   0          132m
gem-cstor-disk-m3bx-6fcddc7dcd-f9dg2                              2/2     Running   0          154m

从 maya-apiserver,

2019/01/16 12:47:17.907038 [ERR] http: Request GET /latest/volumes/pvc-b8dacfcc-198c-11e9-9141-503eaa028845, error: error converting YAML to JSON: yaml: line 4: mapping values are not allowed in this context
2019/01/16 12:47:17.907070 [DEBUG] http: Request /latest/volumes/pvc-b8dacfcc-198c-11e9-9141-503eaa028845 (596.053376ms)
2019/01/16 12:47:43.536149 [DEBUG] http: Request /latest/volumes/pvc-b9a40023-198c-11e9-9141-503eaa028845 (GET)
I0116 12:47:43.536184       8 volume_endpoint_v1alpha1.go:52] cas template based volume request was received: method 'GET'
I0116 12:47:43.536206       8 volume_endpoint_v1alpha1.go:137] cas template based volume read request was received
E0116 12:47:44.705380       8 volume_endpoint_v1alpha1.go:175] failed to read cas template based volume: error 'error converting YAML to JSON: yaml: line 4: mapping values are not allowed in this context'
2019/01/16 12:47:44.705424 [ERR] http: Request GET /latest/volumes/pvc-b9a40023-198c-11e9-9141-503eaa028845, error: error converting YAML to JSON: yaml: line 4: mapping values are not allowed in this context
2019/01/16 12:47:44.705458 [DEBUG] http: Request /latest/volumes/pvc-b9a40023-198c-11e9-9141-503eaa028845 (1.169318391s)
4

1 回答 1

0

通过 PVC、SC yamls 发现 StorageClass YAML 不正确。它包含添加的额外空间。刚刚删除并重新申请。一切都很顺利。

于 2019-01-30T06:51:41.197 回答