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 High Availability Team, which is subscribed to pacemaker in Ubuntu. https://bugs.launchpad.net/bugs/1445616 Title: [MIR] 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: Won't Fix Bug description: [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) 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

