Date: Mon, 23 Jan 2017 13:13:47 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 216405] hastd in 11 cannot be queried directly after a 'role' command - regression from 10 Message-ID: <bug-216405-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216405 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@FreeBSD.org Reporter: pete@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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216405-8>