[Bug 292322] Hastd failing to attach device on FreeBSD 15.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 10 Jan 2026 08:00:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292322

            Bug ID: 292322
           Summary: Hastd failing to attach device on FreeBSD 15.0
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: ale_sagra@hotmail.com

Created attachment 266984
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266984&action=edit
hast.conf

Hi all, 
I am trying to set up hastd on FreeBSD 15.0-RELEASE, but I keep getting errors
like

[58519] g_dev_taste: g_dev_taste(hast/shared) failed to g_attach, error=6

/var/log/messages:{"time":"20260104190514","host":"nattaneo","facility":"[kern.notice]","msg":"kernel:
: [1104] g_dev_taste: g_dev_taste(hast/shared) failed to g_attach, error=6"
/var/log/messages:{"time":"20260105063137","host":"nattaneo","facility":"[syslog.err]","msg":"syslog-ng[26434]:
Error processing log message: <30>1 2026-01-05T06:31:37.242261+00:00 >@<hastd:
shared (primary) hastd 61114 - - [shared] (primary) Privileges successfully
dropped."

on the primary node and

{"time":"20260110074150","host":"nodeb","facility":"[daemon.err]","msg":"hastd[45686]:
Unable to receive header from tcp://10.255.255.1:18765: Operation timed out."

on the secondary one. I create the device as explained in the handbook:

hastctl create shared
service hastd start
hastctl role primary shared

on the primary node and 

hastctl create shared
service hastd start
hastctl role secondary shared

on the secondary. There are no firewall rules that might cause connection
issues:
[ale@hosta ~]$ nc -vz 10.255.255.2 8457
Connection to 10.255.255.2 8457 port [tcp/*] succeeded!

[ale@hostb ~]$ nc -vz 10.255.255.1 8457
Connection to 10.255.255.1 8457 port [tcp/*] succeeded!

For what it's worth, the root filesystem is ZFS, but the configuration is
identical on both hosts (hast.conf file is attached) an d I am also attaching
the output of gpart show and hastctl dump all.

Anything that might be causing this since the same configuration used to work
as expected on 14.3-RELEASE?

Let me know if you need anything else, thank you

-- 
You are receiving this mail because:
You are the assignee for the bug.