[Bug 1445616] Re: crmsh in vivid/wily/xenial is not compatible with pacemaker

James Page james.page at ubuntu.com
Fri Mar 18 15:36:12 UTC 2016


I've uploaded a backport of 2.1.4 to:

  ppa:james-page/wily

I've done some testing using our reference ha bundles for OpenStack and
it tests out OK.


** Description changed:

- pacemaker package in vivid was updated to 1.12 which provides a new
- structure in CIB. However crmsh is still old which means
+ [Impact]
+ crmsh is currently un-usable with pacemaker/corosync in wily
+ 
+ [Test Case]
+ sudo apt-get install pacemaker corosync crmsh
+ [configure corosync]
+ [configure cluster resources using crmsh]
+ ERROR: CIB not supported: validator 'pacemaker-2.0', release '3.0.9'
+ 
+ [Regression Potential]
+ Right now crmsh is non-functional; 2.1.x is know to work, so moving to 2.1.4 which I uploaded earlier in the Xenial release cycle is a sensible resolution to this problem.  I've tested via PPA and was successfully able to build clustered services using glance + the hacluster charms for Juju.
+ 
+ [Original Bug Report]
+ 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)

** Summary changed:

- crmsh in vivid/wily/xenial is not compatible with pacemaker
+ [MIR] crmsh in vivid/wily/xenial is not compatible with pacemaker

** Changed in: pacemaker (Ubuntu Wily)
       Status: Invalid => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1445616

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

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



More information about the Ubuntu-server-bugs mailing list