gluster-kubernetes icon indicating copy to clipboard operation
gluster-kubernetes copied to clipboard

Unable to access db

Open malik-lakhani opened this issue 5 years ago • 1 comments

I've installed 3 node kubernetes cluster and deployed Gluster cluster on it. But At heketi-deployment, It got failed. The kubernetes logs say unable to access heketi.db located at /var/lib/heketi/heketi.db.

Here are the logs from kubernetes pod.

Setting up heketi database
  File: /var/lib/heketi/heketi.db
  Size: 16384     	Blocks: 32         IO Block: 4096   regular file
Device: fe01h/65025d	Inode: 1185900     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2020-01-11 08:18:25.152360099 +0000
Modify: 2020-01-11 08:18:25.148359972 +0000
Change: 2020-01-11 08:18:25.148359972 +0000
 Birth: 2020-01-11 08:18:25.132359465 +0000
failed to dump db: Could not construct dump from DB: Could not construct dump from DB: Unable to access list
error: Unable to export db. DB contents may not be valid
Heketi v9.0.0-136-g587dc593
ERROR: Unable to parse configuration: EOF

malik-lakhani avatar Jan 11 '20 07:01 malik-lakhani

Hello

I have exactly the same issue as malik kubectl logs deploy-heketi-7d68949bdf-khjml Setting up heketi database File: /var/lib/heketi/heketi.db Size: 16384 Blocks: 32 IO Block: 4096 regular file Device: fe02h/65026d Inode: 406843 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2020-02-12 12:36:27.025588928 +0000 Modify: 2020-02-12 12:36:27.021589096 +0000 Change: 2020-02-12 12:36:27.021589096 +0000 Birth: 2020-02-12 12:36:26.993590263 +0000 failed to dump db: Could not construct dump from DB: Could not construct dump from DB: Unable to access list error: Unable to export db. DB contents may not be valid Heketi v9.0.0-136-g587dc593 ERROR: Unable to parse configuration: EOF

Any help wouls be really appreciate

bragonznx avatar Feb 12 '20 12:02 bragonznx