** Also affects: pacemaker (Ubuntu Wily)
   Importance: Undecided
       Status: New

** Also affects: crmsh (Ubuntu Wily)
   Importance: Undecided
       Status: New

** Changed in: pacemaker (Ubuntu Wily)
       Status: New => Invalid

** Changed in: crmsh (Ubuntu Wily)
       Status: New => Triaged

** Changed in: crmsh (Ubuntu Wily)
   Importance: Undecided => High

** Changed in: crmsh (Ubuntu Wily)
     Assignee: (unassigned) => James Page (james-page)

-- 
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
Status in crmsh source package in Wily:
  Triaged
Status in pacemaker source package in Wily:
  Invalid

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