使用seaweedfs做为对象存储,k8s 通过seaweedfs-csi-driver 接入seaweedfs ,mysql8 on k8s采用pvc接入seaweedfs

k8s初始化异常,异常如下:

mysql-pvc.yaml

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: openmetadata-mysql-pvc
spec:
  accessModes:
    - "ReadWriteMany"
  resources:
    requests:
      storage: "60Gi"
  storageClassName: "seaweedfs-storage"

 

 

mysql volume 部分的配置如下

 

- name: data
  persistentVolumeClaim:
      claimName: openmetadata-mysql-pvc

 

 

 

E0718 12:58:03.229211 weedfs_file_sync.go:182 /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr fh 9 flush: fh flush create /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: CreateEntry : update entry /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: insert /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: read tcp 10.252.226.5:49630->10.252.226.6:9042: i/o timeout
I0718 12:58:03.374267 nodeserver.go:106 node publish volume pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b to /var/lib/kubelet/pods/de8a09d0-1b94-474c-8dc2-0be7e071666b/volumes/kubernetes.io~csi/pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b/mount
I0718 12:58:03.378117 nodeserver.go:140 volume pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b successfully published to /var/lib/kubelet/pods/de8a09d0-1b94-474c-8dc2-0be7e071666b/volumes/kubernetes.io~csi/pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b/mount
I0718 12:58:05.773076 nodeserver.go:106 node publish volume pvc-077b7882-191f-4298-927f-fba3ae498d94 to /var/lib/kubelet/pods/b71d5076-9d04-476f-aed5-a03605b6ecbb/volumes/kubernetes.io~csi/pvc-077b7882-191f-4298-927f-fba3ae498d94/mount
I0718 12:58:05.777064 nodeserver.go:140 volume pvc-077b7882-191f-4298-927f-fba3ae498d94 successfully published to /var/lib/kubelet/pods/b71d5076-9d04-476f-aed5-a03605b6ecbb/volumes/kubernetes.io~csi/pvc-077b7882-191f-4298-927f-fba3ae498d94/mount
I0718 12:58:05.972891 nodeserver.go:106 node publish volume pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b to /var/lib/kubelet/pods/b71d5076-9d04-476f-aed5-a03605b6ecbb/volumes/kubernetes.io~csi/pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b/mount
I0718 12:58:05.976241 nodeserver.go:140 volume pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b successfully published to /var/lib/kubelet/pods/b71d5076-9d04-476f-aed5-a03605b6ecbb/volumes/kubernetes.io~csi/pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b/mount
E0718 12:58:06.622543 weedfs_file_sync.go:168 fh flush create /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo8_tmp: CreateEntry : update entry /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo8_tmp: insert /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo8_tmp: EOF
I0718 12:58:06.622587 wfs_filer_client.go:31 WithFilerClient 0 10.252.226.5:19283: fh flush create /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo8_tmp: CreateEntry : update entry /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo8_tmp: insert /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo8_tmp: EOF
E0718 12:58:06.622607 weedfs_file_sync.go:182 /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo8_tmp fh 82 flush: fh flush create /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo8_tmp: CreateEntry : update entry /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo8_tmp: insert /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo8_tmp: EOF
I0718 12:58:08.373421 nodeserver.go:106 node publish volume pvc-077b7882-191f-4298-927f-fba3ae498d94 to /var/lib/kubelet/pods/a8809a8a-a924-4742-9aa2-0660207ea4e0/volumes/kubernetes.io~csi/pvc-077b7882-191f-4298-927f-fba3ae498d94/mount
I0718 12:58:08.377014 nodeserver.go:140 volume pvc-077b7882-191f-4298-927f-fba3ae498d94 successfully published to /var/lib/kubelet/pods/a8809a8a-a924-4742-9aa2-0660207ea4e0/volumes/kubernetes.io~csi/pvc-077b7882-191f-4298-927f-fba3ae498d94/mount
I0718 12:58:08.573677 nodeserver.go:106 node publish volume pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b to /var/lib/kubelet/pods/a8809a8a-a924-4742-9aa2-0660207ea4e0/volumes/kubernetes.io~csi/pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b/mount
I0718 12:58:08.577259 nodeserver.go:140 volume pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b successfully published to /var/lib/kubelet/pods/a8809a8a-a924-4742-9aa2-0660207ea4e0/volumes/kubernetes.io~csi/pvc-5a8b06f3-8cbd-4a81-bfbc-b64c73ed675b/mount
E0718 12:58:24.467842 weedfs_file_sync.go:168 fh flush create /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: CreateEntry : update entry /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: insert /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: read tcp 10.252.226.5:50150->10.252.226.6:9042: i/o timeout
I0718 12:58:24.467893 wfs_filer_client.go:31 WithFilerClient 0 10.252.226.5:19283: fh flush create /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: CreateEntry : update entry /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: insert /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: read tcp 10.252.226.5:50150->10.252.226.6:9042: i/o timeout
E0718 12:58:24.467915 weedfs_file_sync.go:182 /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr fh 93 flush: fh flush create /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: CreateEntry : update entry /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: insert /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#ib_16384_0.dblwr: read tcp 10.252.226.5:50150->10.252.226.6:9042: i/o timeout
E0718 12:59:20.831894 weedfs_file_sync.go:168 fh flush create /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo0: CreateEntry : update entry /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo0: insert /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo0: read tcp 10.252.226.5:49426->10.252.226.5:9042: i/o timeout
I0718 12:59:20.831942 wfs_filer_client.go:31 WithFilerClient 0 10.252.226.5:19283: fh flush create /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo0: CreateEntry : update entry /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo0: insert /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo0: read tcp 10.252.226.5:49426->10.252.226.5:9042: i/o timeout
E0718 12:59:20.831965 weedfs_file_sync.go:182 /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo0 fh 143 flush: fh flush create /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo0: CreateEntry : update entry /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo0: insert /buckets/pvc-6d792bed-e5eb-429f-985b-d2e5bbac543d/data/#innodb_redo/#ib_redo0: read tcp 10.252.226.5:49426->10.252.226.5:9042: i/o timeout

 

 

欢迎加入seaweedfs群讨论:

 

posted @ 2024-07-19 08:26  江南叶少  阅读(33)  评论(0编辑  收藏  举报