Upstream fix is the following :

https://github.com/ClusterLabs/libqb/commit/0766a3ca5473a9e126e91022075b4b3798b8d5bc

It consist of increasing the CONNECTION_DESCRIPTION

-#define CONNECTION_DESCRIPTION (18)
+#define CONNECTION_DESCRIPTION (34) /* INT_MAX length + 3 */

** Changed in: libqb (Ubuntu Trusty)
     Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: libqb (Ubuntu Wily)
     Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: libqb (Ubuntu Trusty)
   Importance: Undecided => Medium

** Changed in: libqb (Ubuntu Wily)
   Importance: Undecided => Medium

** Description changed:

+ [SRU JUSTIFICATION]
+ 
+ [Impact]
+ 
+ Pacemaker fails to start and reports a Library Error as follow :
+ "notice: mcp_read_config:     Configured corosync to accept connections from 
group 124: Library error (2)"
+ 
+ [Test Case]
+ 
+ - Have a corosync/pacemaker cluster with libqb version <=0.16.0.real-1ubuntu4
+ - You need sequentially start/stop Corosync/Pacemaker for some amount of 
times to trigger the issue (until both PIDs of corosync/pacemaker are >99999 
and fd >=10 to trigger this issue)
+ 
+ [Regression Potential]
+ 
+ The patch is already in place in Debian & Xenial and late Ubuntu release
+ version. A test package has been tested by a user experiencing the
+ problem and user confirms it solve the issue.
+ 
+ This patch make the description field larger to satisfy all possible
+ pids and file descriptor values.
+ 
+ [Other Info]
+  
+ Upstream Commit: 
+ 
+ 0766a3ca Increase the length of description field
+ 
https://github.com/ClusterLabs/libqb/commit/0766a3ca5473a9e126e91022075b4b3798b8d5bc
+ 
+ Note : The commit has been introduced first in upstream branch : v0.17.2
+ 
+ [Original Description]
+ 
  It has been brought to my attention by a user the following :
  
  Pacemaker fails to start if its PID is greater than 99999, then it
  reports a Library error as follow :
  
  notice: mcp_read_config: Configured corosync to accept connections from
  group 124: Library error (2)"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1595627

Title:
  Pacemaker fails to start and reports a Library Error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libqb/+bug/1595627/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to