CTDB status shows Unhealthy during gluster file access

Solution Verified - Updated -

Issue

  • CTDB status is unhealthy
[root@node1 ~]# ctdb status
Number of nodes:3
pnn:0 10.0.0.00        UNHEALTHY (THIS NODE)
pnn:1 10.0.0.01        OK
pnn:2 10.0.0.02        OK
Generation:192533xxxx
Size:3
hash:0 lmaster:0
hash:1 lmaster:1
hash:2 lmaster:2
Recovery mode:RECOVERY (1)
  • ctdb.log throws ERROR: Daemon able to take recovery lock on "/gluster/lock/lockfile" during recovery
2023/05/18 06:52:55.396522 ctdbd[995]: Release freeze handle for db smbXsrv_version_global.tdb
2023/05/18 06:52:55.396557 ctdbd[995]: Thaw db: locking.tdb generation 1479190863
2023/05/18 06:52:55.396568 ctdbd[995]: Release freeze handle for db locking.tdb
2023/05/18 06:52:55.396598 ctdbd[995]: Thaw db: g_lock.tdb generation 1479190863
2023/05/18 06:52:55.396608 ctdbd[995]: Release freeze handle for db g_lock.tdb
2023/05/18 06:52:55.396632 ctdbd[995]: Thaw db: smbXsrv_client_global.tdb generation 1479190863
2023/05/18 06:52:55.396642 ctdbd[995]: Release freeze handle for db smbXsrv_client_global.tdb
2023/05/18 06:52:55.396665 ctdbd[995]: Thaw db: smbXsrv_session_global.tdb generation 1479190863
2023/05/18 06:52:55.396674 ctdbd[995]: Release freeze handle for db smbXsrv_session_global.tdb
2023/05/18 06:52:55.396696 ctdbd[995]: Thaw db: leases.tdb generation 1479190863
2023/05/18 06:52:55.396705 ctdbd[995]: Release freeze handle for db leases.tdb
2023/05/18 06:52:55.396761 ctdbd[995]: Thaw db: smbXsrv_tcon_global.tdb generation 1479190863
2023/05/18 06:52:55.396779 ctdbd[995]: Release freeze handle for db smbXsrv_tcon_global.tdb
2023/05/18 06:52:55.397466 ctdbd[995]: Recovery mode set to NORMAL
2023/05/18 06:52:55.405670 ctdbd[995]: ERROR: Daemon able to take recovery lock on "/gluster/lock/lockfile" during recovery
2023/05/18 06:52:55.417896 ctdbd[995]: Recovery has started

Environment

  • Red Hat Gluster Storage 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content