This bug was fixed in the package pacemaker - 1.1.12-0ubuntu3

---------------
pacemaker (1.1.12-0ubuntu3) xenial; urgency=medium

  * d/control: Bump minimum version on crmsh to 2.1.3 (LP: #1445616).

 -- James Page <[email protected]>  Mon, 04 Jan 2016 11:28:33 +0000

** Changed in: pacemaker (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to pacemaker in Ubuntu.
https://bugs.launchpad.net/bugs/1445616

Title:
  crmsh in vivid/wily/xenial is not compatible with pacemaker

Status in crmsh package in Ubuntu:
  Fix Released
Status in pacemaker package in Ubuntu:
  Fix Released

Bug description:
  pacemaker package in vivid was updated to 1.12 which provides a new
  structure in CIB. However crmsh is still old which means

  
https://github.com/ClusterLabs/pacemaker/blob/Pacemaker-1.1.12/include/crm/cib.h#L31
  contains 2.0 which result in cIb as

  <cib epoch="137" num_updates="4565" admin_epoch="0" validate-
  with="pacemaker-2.0" crm_feature_set="3.0.9"

  /usr/sbin/crm configure show xml returns
  ERROR: CIB not supported: validator 'pacemaker-2.0', release '3.0.9'

  Looking at
  https://github.com/ClusterLabs/crmsh/blob/1.2.6/modules/cibconfig.py#L2103
  I can confirm that regexp is wrong

  Version 2.1.3 has a proper regexp
  https://github.com/ClusterLabs/crmsh/blob/2.1.3/modules/cibconfig.py#L2136

  Also, I can see that debian/control in pacemaker doesn't specify the minimal 
version of crmsh which should be higher than 2.X
  crmsh (>= $version_which_understands_cib2.0)

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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to