[Bug 216405] hastd in 11 cannot be queried directly after a 'role' command - regression from 10

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 23 13:13:48 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216405

            Bug ID: 216405
           Summary: hastd in 11 cannot be queried directly after a 'role'
                    command - regression from 10
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: pete at twisted.org.uk

On 11-STABLE if I do this:

hastctl role primary cbert0 ; hastctl status

I get

[ERROR] Error 57 received from hastd.

from the status command. If I insert a sleep like this:

hastctl role primary cbert0 ; sleep 1 ; hastctl status

then the error does not appear. This behaviour does not happen under FreeBSD
10.

The bug makes scripts which set the role and chen check it fail - inseryiing
sleeps is a workaround, but an ugly one, as surely the expected behaviour is
that the role command does not finish leaving the daemon in an unqueryable
state.

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


More information about the freebsd-bugs mailing list