# crmsh

Cluster manager shell news
tag:crmsh.github.io,2014:/atom
2021-06-17T11:00:00UTC

# Releasing crmsh version 4.3.1

tag:crmsh.github.io,2014:/atom::69ce001d34e914ff71012262d2a7fbec817326f2
2021-06-17T11:00:00UTC
http://crmsh.github.io/news/2021-06-17-release-4_3_1 <pre> Hello everyone! I'm happy to announce the release of crmsh version 4.3.1 Major changes since 4.3.0 Features: * Add "crm cluster crash_test" for cluster failure simulation (#825) * Add ocfs2.OCFS2Manager to manage ocfs2 stage process with cluster lvm2 (#798) * Support setup SBD via bootstrap "sbd" stage on an existing cluster (#744) * Enable configuring qdevice on interactive mode (#765) Fixes: * Adjust sbd watchdog timeout when using diskless SBD with qdevice (#818) * Not allow property setting with an empty value (#817) * Keep consistent for "help <sub-command>" and "<sub-command> -h" for those using argparse (#644) * Sync corosync.conf before finished joining (#775) * Adjust qdevice configure/remove process to avoid race condition due to quorum lost (#741) * Walk through hb_report process under hacluster (#742) There are some other changes in this release as well, see the ChangeLog for the complete list of changes: * https://github.com/ClusterLabs/crmsh/blob/master/ChangeLog The source code can be downloaded from Github: * https://github.com/ClusterLabs/crmsh/releases/tag/4.3.1 Development packages for openSUSE Tumbleweed are available from the Open Build System, here: * https://build.opensuse.org/package/show/network:ha-clustering:Factory/crmsh As usual, a huge thank you to all contributors and users of crmsh! Regards, xin </pre> Xin Liang XLiang@suse.com

# Releasing crmsh version 3.0.0

tag:crmsh.github.io,2014:/atom::f560e20c029af1548af2b3c31d9590d2af43383b
2017-01-31T10:00:00UTC
http://crmsh.github.io/news/2017-01-31-release-3_0_0 <pre> Hello everyone! I'm happy to announce the release of crmsh version 3.0.0 today. The main reason for the major version bump is because I have merged the sleha-bootstrap project with crmsh, replacing the cluster init/add/remove commands with the corresponding commands from sleha-bootstrap. At the moment, these commands are highly specific to SLE and openSUSE, unfortunately. I am working on making them as distribution agnostic as possible, but would appreciate help from users of other distributions in making them work as well on those platforms as they do on SLE/openSUSE. Briefly, the "cluster init" command configures a complete cluster from scratch, including optional configuration of fencing via SBD, shared storage using OCFS2, setting up the Hawk web interface etc. There are some other changes in this release as well, see the ChangeLog for the complete list of changes: * https://github.com/ClusterLabs/crmsh/blob/3.0.0/ChangeLog The source code can be downloaded from Github: * https://github.com/ClusterLabs/crmsh/releases/tag/3.0.0 This version of crmsh will be available in openSUSE Tumbleweed as soon as possible, and packages for several popular Linux distributions are available from the Stable repository at the OBS: * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/ClusterLabs/crmsh/archive/3.0.0.tar.gz * https://github.com/ClusterLabs/crmsh/archive/3.0.0.zip As usual, a huge thank you to all contributors and users of crmsh! Cheers, Kristoffer </pre> Kristoffer Gronlund kgronlund@suse.com

# Releasing crmsh version 2.2.2

tag:crmsh.github.io,2014:/atom::e9779f9908a4f049dd7c060dffeb173ec7f442b9
2016-09-05T19:00:00UTC
http://crmsh.github.io/news/2016-09-05-release-2_2_2 <pre> Hello everyone! Today I am releasing crmsh version 2.2.2. The biggest change in this release is the backport of the support for event-based alerts from the 2.3 branch. The full list of changes follows below: - high: parse: Backport of event-driven alerts parser (#150) - high: hb_report: Don't collect logs from journalctl if -M is set (bsc#990025) - high: hb_report: Skip lines without timestamps in log correctly (bsc#989810) - high: constants: Add maintenance to set of known attributes (bsc#981659) - high: utils: Avoid deadlock if DC changes during idle wait (bsc#978480) - medium: scripts: no-quorum-policy=ignore is deprecated (bsc#981056) - medium: tmpfiles: Create temporary directory if non-existing (bsc#981583) - medium: xmlutil: reduce unknown attribute to warning (bsc#981659) - medium: ui_resource: Add force argument to resource cleanup (bsc#979420) - parse: Use original _TARGET_RE The source code can be downloaded from Github: * https://github.com/ClusterLabs/crmsh/releases/tag/2.2.2 Archives of the tagged release: * https://github.com/ClusterLabs/crmsh/archive/2.2.2.tar.gz * https://github.com/ClusterLabs/crmsh/archive/2.2.2.zip As usual, a huge thank you to all contributors and users of crmsh! Cheers, Kristoffer </pre> Kristoffer Gronlund kgronlund@suse.com

# Releasing crmsh version 2.3.1

tag:crmsh.github.io,2014:/atom::606dc2590e85bbedea5c840659d7cfde40be4947
2016-09-02T10:00:00UTC
http://crmsh.github.io/news/2016-09-02-release-2_3_1 <pre> Hello everyone! Today I am releasing crmsh version 2.3.1. The only change this time is to lower the Python version requirement from 2.7 to 2.6. This is so that crmsh remains compatible with centOS 6, where there is no standardized Python 2.7 version available. For users of other distributions where Python 2.7 is available, there are no other changes in this release and no need to upgrade. The source code can be downloaded from Github: * https://github.com/ClusterLabs/crmsh/releases/tag/2.3.1 Packages for several popular Linux distributions can be downloaded from the Stable repository at the OBS: * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/ClusterLabs/crmsh/archive/2.3.1.tar.gz * https://github.com/ClusterLabs/crmsh/archive/2.3.1.zip As usual, a huge thank you to all contributors and users of crmsh! Cheers, Kristoffer </pre> Kristoffer Gronlund kgronlund@suse.com

# Announcing crmsh stable release 2.1.7

tag:crmsh.github.io,2014:/atom::5a0d62a7641f441baa3f1b7c33a17eeb0b19eb7f
2016-09-01T09:00:00UTC
http://crmsh.github.io/news/2016-09-01-release-2_1_7 <pre> Today I are proud to announce the release of `crmsh` version 2.1.7! The major new thing in this release is a backports of the events-based alerts support from the 2.3 branch. Big thanks to Hideo Yamauchi for his patience and testing of the alerts backport. This time, the list of changes is small enough that I can add it right here: - high: parse: Backport of event-driven alerts parser (#150) - high: hb_report: Don't collect logs from journalctl if -M is set (bsc#990025) - high: hb_report: Skip lines without timestamps in log correctly (bsc#989810) - high: constants: Add maintenance to set of known attributes (bsc#981659) - high: utils: Avoid deadlock if DC changes during idle wait (bsc#978480) - medium: scripts: no-quorum-policy=ignore is deprecated (bsc#981056) - low: cibconfig: Don't mix up CLI name with XML tag You can also get the list of changes from the changelog: * https://github.com/ClusterLabs/crmsh/blob/2.1.7/ChangeLog Right now, I don't have a set of pre-built rpm packages for Linux distributions ready, but I am going to make this available soon. This is in particular for centOS 6.x which still relies on Python 2.6 support which makes running the later releases there more difficult. These packages will most likely appear as a subrepository here (more details coming soon): * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/ClusterLabs/crmsh/archive/2.1.7.tar.gz * https://github.com/ClusterLabs/crmsh/archive/2.1.7.zip Thank you, Kristoffer </pre> Kristoffer Gronlund kgronlund@suse.com

# Releasing crmsh version 2.3.0

tag:crmsh.github.io,2014:/atom::4bfc1c4a817ea15e418a5f64a46844de1f022a43
2016-08-12T10:30:00UTC
http://crmsh.github.io/news/2016-08-12-release-2_3_0 <pre> Hello everyone! I am proud to present crmsh version 2.3.0, the latest stable release. I would recommend all users to upgrade to 2.3.0 if they can. For this release, I would like to begin by highlighting the new contributors to crmsh since 2.2.0 was released in January: * Marc A. Smith added the new subcommand "configure load push", which removes any configuration lines that aren't included in the cib provided when pushing. * Andrei Maruha added an optional name parameter to the "corosync add-node" command, and made the add-node command recycle old node IDs if possible. * Kai Kang fixed a build system bug when removing generated docs, causing issues with parallel make. * Daniel Hoffend contributed various fixes improving support for building crmsh for Debian and Ubuntu. * Pedro Salgado fixed a bug in the graph rendering code in crmsh, added a tox configuration file to make testing with multiple versions of Python easy, and updated the Travis CI configuration to use tox. * Nate Clark fixed a bug in the parser for fencing hierarchies. I would also like to thank all the other contributors, testers and users who have helped in making this release as stable and reliable as possible. Some of the other major features in 2.3.0 include: * Support for the new event-based alerts feature in Pacemaker 1.1.15 * Greatly improved timezone handling in crm report and the history explorer * Improvements to the cluster scripts / wizards, as well as new wizards for LVM on DRBD, and NFS on LVM and DRBD and VMware/vCenter * Better support for fencing remote nodes The source code can be downloaded from Github: * https://github.com/ClusterLabs/crmsh/releases/tag/2.3.0 Packages for several popular Linux distributions can be downloaded from the Stable repository at the OBS: * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/ClusterLabs/crmsh/archive/2.3.0.tar.gz * https://github.com/ClusterLabs/crmsh/archive/2.3.0.zip For the full list of changes since version 2.3.0, see the ChangeLog, available at: * https://github.com/ClusterLabs/crmsh/blob/2.3.0/ChangeLog As usual, a huge thank you to all contributors and users of crmsh! Cheers, Kristoffer </pre> Kristoffer Gronlund kgronlund@suse.com

# crmsh 2.2.1 and 2.1.6 are released

tag:crmsh.github.io,2014:/atom::e6d767cdd2ed7183f8dcdb2551b993869daf9881
2016-04-28T01:00:00UTC
http://crmsh.github.io/news/2016-04-28-release-2_2_1 <pre> Today I'm announcing two new releases of crmsh: 2.2.1 and 2.1.6. Both are stable releases, and I would recommend all users to upgrade to crmsh 2.2.1 if they can. == crmsh 2.2.1 Here is a brief list of the most significant changes in this release: * Rewritten history explorer internally to improve performance significantly * Allow configuring reload operation * Fix fencing for remote nodes * Recycle corosync node IDs when possible * Several bug fixes in crm report * Warn if generated report is empty * Improved SBD cluster script * Add push method for configure load * Fixed cluster init The source code can be downloaded from Github: * https://github.com/ClusterLabs/crmsh/releases/tag/2.2.1 Packages for several popular Linux distributions can be downloaded from the Stable repository at the OBS: * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/ClusterLabs/crmsh/archive/2.2.1.tar.gz * https://github.com/ClusterLabs/crmsh/archive/2.2.1.zip For the full list of changes since version 2.2.0, see the ChangeLog, available at: * https://github.com/ClusterLabs/crmsh/blob/2.2.1/ChangeLog == crmsh 2.1.6 This is a bug fix release. Most fixes are minor or related to time handling in reports. For a complete list of changes since the previous version, please refer to the changelog: * https://github.com/ClusterLabs/crmsh/blob/2.1.6/ChangeLog Currently I'm not building binary releases for 2.1.6 as the stable series (at OBS) is at 2.2. This release is intended for users of the 2.1 series who have yet to migrate to 2.2. Archives of the tagged release: https://github.com/ClusterLabs/crmsh/archive/2.1.6.tar.gz https://github.com/ClusterLabs/crmsh/archive/2.1.6.zip For the full list of changes since version 2.1.5, see the ChangeLog, available at: * https://github.com/ClusterLabs/crmsh/blob/2.1.5/ChangeLog As usual, a huge thank you to all contributors and users of crmsh! Cheers, Kristoffer </pre> Kristoffer Gronlund kgronlund@suse.com

# crmsh 2.2.0 is released

tag:crmsh.github.io,2014:/atom::825d8489a7a363d9418a53b0b30d3d59606b2266
2016-01-15T15:00:00UTC
http://crmsh.github.io/news/2016-01-15-release-2_2_0 <pre> In June of last year, I released Release Candidate 3 of crmsh 2.2.0, and I honestly expected to have the final version ready no more than a few weeks later. Well, it took around 6 months, but now it is finally here! The source code can be downloaded from Github: * https://github.com/ClusterLabs/crmsh/releases/tag/2.2.0 Packages for several popular Linux distributions can be downloaded from the Stable repository at the OBS: * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/ClusterLabs/crmsh/archive/2.2.0.tar.gz * https://github.com/ClusterLabs/crmsh/archive/2.2.0.zip There are many new features and quite a few bug fixes, but I'll try to describe some of the major changes below. For the full list of changes since version 2.1, see the ChangeLog. I am also including the list of changes since RC3 in the release notes below. * https://github.com/ClusterLabs/crmsh/blob/2.2.0/ChangeLog New features introduced in this version: * Support for many of the new features introduced in Pacemaker 1.1.14, including improved support for Pacemaker Remote and pattern-based fencing topology configurations. * The cluster scripts have been greatly improved and are now used as the wizards backend for hawk. Together with the improvements in the cluster scripts, the crmsh template sublevel has been deprecated, and all of the templates are now available as cluster scripts. The template sublevel will be removed in a future version. * The history explorer now replaces the combined log and event files from hb_report using the commands crm history log and crm history events. Additionally, the info summary now highlights transitions that contain error logs or other potentially interesting events. * Improved verification before committing new changes, for example crmsh now warns if colocation constraints are applied to group children. * resource start / stop / restart now take multiple resource arguments. * Added a maintenance sublevel with commands intended to simplify the use of maintenance mode. * Switched to using the python parallax library instead of pssh for remote node communication. Parallax is a fork of pssh with additional features added specifically for using it as a python library rather than a command line tool. Packages for python-parallax can be downloaded from the OBS, or it can be installed from PyPI. Full list of changes since 2.2.0-rc3: - medium: history: Fix live report refresh (bsc#950422) (bsc#927414) - medium: history: Ignore central log - medium: cibconfig: Detect false container children - low: clidisplay: Avoid crash when colorizing None - medium: scripts: Load single file yml scripts - medium: scripts: Reformat scripts to simplified form - medium: ui_history: Add events command (bsc#952449) - low: hb_report: Drop function from event patterns - high: cibconfig: Preserve failure through edit (bsc#959965) - high: cibconfig: fail if new object already exists (bsc#959965) - medium: ui_cib: Call crm_shadow in batch mode to avoid spawning subshell (bsc#961392) - high: cibconfig: Fix XML import bug for cloned groups (bsc#959895) - high: ui_configure: Move validate-all validation to a separate command (bsc#956442) - high: scripts: Don't require scripts to be an array of one element - medium: scripts: Enable setting category in legacy wizards (bnc#957926) - high: scripts: Don't delete steps from upgraded wizards (bnc#957925) - high: ra: Only run validate-all if current user is root - high: cibconfig: Call validate-all action on agent in verify (bsc#956442) - high: script: Fix issues found in cluster scripts - high: ui_ra: Add ra validate command (bsc#956442) - low: resource: Fix unban alias for unmigrate - high: ui_resource: Add constraints and operations commands - high: ui_resource: Enable start/stop/status for multiple resources at once (bsc#952775) - high: scripts: Conservatively verify scripts that modify the CIB (bsc#951954) - high: xmlutil: Order is significant in resource_set (bsc#955434) - medium: scripts: Lower copy target to string - doc: configure load can read from stdin - medium: script: (filesystem) create stopped (bsc#952670) - medium: scripts: Check required parameters for optional sub-steps - high: scripts: Eval CIB text in correct scope (bsc#952600) - medium: utils: Fix python 2.6 compatibility - medium: ui_script: Tag legacy wizards as legacy in show (bsc#952226) - medium: scripts: No optional steps in legacy wizards (bsc#952226) - high: utils: Revised time zone handling (bsc#951759) - high: report: Fix syslog parser regexps (bsc#951759) - low: constants: Tweaked graph colours - high: scripts: Fix DRBD script resource reference (bsc#951028) - low: constants: Tweaked graph colors - medium: report: Make transitions without end stretch to 2525 - high: utils: Handle time zones in parse_time (bsc#949511) - medium: hb_report: Remove reference to function name in event patterns (bsc#942906) - medium: ui_script: Optionally print common params - medium: cibconfig: Fix sanity check for attribute-based fencing topology (#110) - high: cibconfig: Fix bug with node/resource collision - high: scripts: Determine output format of script correctly (bsc#949980) - doc: add explanatory comments to fencing_topology - doc: add missing backslash in fencing_topology example - doc: add missing <> to fencing_topology syntax - low: don't use deprecated crm_attribute -U option - doc: resource-discovery for location constraints - high: utils: Fix cluster_copy_file error when nodes provided - low: xmlutil: More informative message when updating resource references after rename - doc: fix some command syntax grammar in the man page - high: cibconfig: Delete constraints before resources - high: cibconfig: Fix bug in is_edit_valid (bsc#948547) - medium: hb_report: Don't cat binary logs - high: cibconfig: Allow node/rsc id collision in _set_update (bsc#948547) - low: report: Silence tar warning on early stream close - high: cibconfig: Allow nodes and resources with the same ID (bsc#948547) - high: log_patterns_118: Update the correct set of log patterns (bsc#942906) - low: ui_resource: Silence spurious migration non-warning from pacemaker - medium: config: Always fall back to /usr/bin:/usr/sbin:/bin:/sbin for programs (bsc#947818) - medium: report: Enable opening .xz-compressed report tarballs - medium: cibconfig: Only warn for grouped children in colocations (bsc#927423) - medium: cibconfig: Allow order constraints on group children (bsc#927423) - medium: cibconfig: Warn if configuring constraint on child resource (bsc#927423) (#101) - high: ui_node: Show remote nodes in crm node list (bsc#877962) - high: config: Remove config.core.supported_schemas (bsc#946893) - medium: report: Mark transitions with errors with a star in info output (bsc#943470) - low: report: Remove first transition tag regex - medium: report: Add transition tags command (bsc#943470) - low: ui_history: Better error handling and documentation for the detail command - low: ui_history: Swap from and to times if to < from - medium: cibconfig: XML parser support for node-attr fencing topology - medium: parse: Updated syntax for fencing-topology target attribute - medium: parse: Add support for node attribute as fencing topology target - high: scripts: Add enum type to script values - low: scripts: [MailTo] install mailx package - low: scripts: Fix typo in email type verifier - high: script: Fix subscript agent reference bug - low: constants: Add meta attributes for remote nodes - medium: scripts: Fix typo in lvm script - high: scripts: Generate actions for includes if none are defined - low: scripts: [virtual-ip] make lvs_support an advanced parameter - medium: crm_pssh: Timeout is an int (bsc#943820) - medium: scripts: Add MailTo script - low: scripts: Improved script parameter validation - high: parse: Fix crash when referencing score types by name (bsc#940194) - doc: Clarify documentation for colocations using node-attribute - high: ui_script: Print cached errors in json run - medium: scripts: Use --no option over --force unless force: true is set in the script - medium: options: Add --no option - high: scripts: Default to passing --force to crm after all - high: scripts: Add force parameter to cib and crm actions, and don't pass --force by default - low: scripts: Make virtual IP optional [nfsserver] - medium: scripts: Ensure that the Filesystem resource exists [nfsserver] (bsc#898658) - medium: report: Reintroduce empty transition pruning (bsc#943291) - low: hb_report: Collect libqb version (bsc#943327) - medium: log_patterns: Remove reference to function name in log patterns (bsc#942906) - low: hb_report: Increase time to wait for the logmark - high: hb_report: Always prefer syslog if available (bsc#942906) - high: report: Update transition edge regexes (bsc#942906) - medium: scripts: Switch install default to false - low: scripts: Catch attempt to pass dict as parameter value - high: report: Output format from pacemaker has changed (bsc#941681) - high: hb_report: Prefer pacemaker.log if it exists (bsc#941681) - medium: report: Add pacemaker.log to find_node_log list (bsc#941734) - high: hb_report: Correct path to hb_report after move to subdirectory (bsc#936026) - low: main: Bash completion didn't handle sudo correctly - medium: config: Add report_tool_options (bsc#917638) - high: parse: Add attributes to terminator set (bsc#940920) - Medium: cibconfig: skip sanity check for properties other than cib-bootstrap-options - medium: ui_script: Fix bug in verify json encoding - low: ui_script: Check JSON command syntax - medium: ui_script: Add name to action output (fate#318211) - low: scripts: Preserve formatting of longdescs - low: scripts: Clearer shortdesc for filesystem - low: scripts: Fix formatting for SAP scripts - low: scripts: add missing type annotations to libvirt script - low: scripts: make overridden parameters non-advanced by default - low: scripts: Tweak description for libvirt - low: scripts: Strip shortdesc for scripts and params - low: scripts: Title and category for exportfs - high: ui_script: drop end sentinel from API output (fate#318211) - low: scripts: Fix possible reference error in agent include - low: scripts: Clearer error message - low: Remove build revision from version - low: Add HAProxy script to data manifest - medium: constants: Add 'provides' meta attribute (bsc#936587) - medium: scripts: Add HAProxy script - high: hb_report: find utility scripts after move (bsc#936026) - high: ui_report: Move hb_report to subdirectory (bsc#936026) - high: Makefile: Don't unstall hb_report using data-manifest (bsc#936026) - medium: report: Fall back to cluster-glue hb_report if necessary (bsc#936026) - medium: scripts: stop inserting comments as values - high: scripts: subscript values not required if subscript has no parameters / all defaults (fate#318211) - medium: scripts: Fix name override for subscripts (fate#318211) - low: scripts: Clean up generated CIB (fate#318211) As usual, a huge thank you to all contributors and users of crmsh! Cheers, Kristoffer </pre> Kristoffer Gronlund kgronlund@suse.com

# Announcing crmsh stable release 2.1.5

tag:crmsh.github.io,2014:/atom::ff6f46c101c87f313e17e85bd7fc314a97fb8af3
2016-01-12T10:00:00UTC
http://crmsh.github.io/news/2016-01-12-release-2_1_5 <pre> Today we are proud to announce the release of `crmsh` version 2.1.5! This release mainly consists of bug fixes, as well as compatibility with Pacemaker 1.1.14. For a complete list of changes since the previous version, please refer to the changelog: * https://github.com/ClusterLabs/crmsh/blob/2.1.5/ChangeLog Packages for several popular Linux distributions can be downloaded from the Stable repository at the OBS: * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/ClusterLabs/crmsh/archive/2.1.5.tar.gz * https://github.com/ClusterLabs/crmsh/archive/2.1.5.zip Changes since the previous release: - medium: report: Try to load source as session if possible (bsc#927407) - medium: crm_gv: Wrap non-identifier names in quotes (bsc#931837) - medium: crm_gv: Improved quoting of non-identifier node names (bsc#931837) - medium: crm_pkg: Fix cluster init bug on RH-based systems - medium: hb_report: Collect logs from pacemaker.log - medium: constants: Add 'provides' meta attribute (bsc#936587) - high: parse: Add attributes to terminator set (bsc#940920) - Medium: cibconfig: skip sanity check for properties other than cib-bootstrap-options - medium: config: Add report_tool_options (bsc#917638) - low: main: Bash completion didn't handle sudo correctly - high: report: New detection to fix missing transitions (bnc#917131) - medium: report: Add pacemaker.log to find_node_log list (bsc#941734) - high: hb_report: Prefer pacemaker.log if it exists (bsc#941681) - high: report: Output format from pacemaker has changed (bsc#941681) - high: report: Update transition edge regexes (bsc#942906) - medium: report: Reintroduce empty transition pruning (bsc#943291) - medium: log_patterns: Remove reference to function name in log patterns (bsc#942906) - low: hb_report: Collect libqb version (bsc#943327) - high: parse: Fix crash when referencing score types by name (bsc#940194) - low: constants: Add meta attributes for remote nodes - low: ui_history: Swap from and to times if to < from - high: cibconfig: Do not fail on unknown pacemaker schemas (bsc#946893) - high: log_patterns_118: Update the correct set of log patterns (bsc#942906) - high: xmlutil: Order is significant in resource_set (bsc#955434) - high: cibconfig: Fix XML import bug for cloned groups (bsc#959895) Thank you, Kristoffer and Dejan </pre> Kristoffer Gronlund kgronlund@suse.com

# Getting Started translated to Japanese

tag:crmsh.github.io,2014:/atom::0dc9284eb5642057136d7f2c754e699c0579fdfe
2015-05-25T13:30:00UTC
http://crmsh.github.io/news/2015-05-25-getting-started-jp <pre> Many thanks to Motoharu Kubo at 3ware for offering to translate the `crmsh` documentation to Japanese! The first document to be translated is the link:/start-guide/[Getting Started] guide, now available in Japanese at the following location: * https://blog.3ware.co.jp/2015/05/crmsh-getting-started/ Thank you, Kristoffer and Dejan </pre> Kristoffer Gronlund kgronlund@suse.com

# Announcing crmsh stable release 2.1.4

tag:crmsh.github.io,2014:/atom::42ff35c4489d046ef8eeff7b0c1d7a75d51b5f25
2015-05-13T15:30:00UTC
http://crmsh.github.io/news/2015-05-13-release-2_1_4 <pre> Today we are proud to announce the release of `crmsh` version 2.1.4! 2.1.4 is a minor bug fix release with no major issues, so users already running 2.1.3 are mostly fine. Instead, the main reason for releasing 2.1.4 is as an excuse to talk about some other things that are happening with crmsh! The details for this release are available below. History Guide ~~~~~~~~~~~~~ Dejan has written a guide to using the crmsh history command. For those who are unfamiliar with the history explorer or want to know more about how to use it, this guide is a great introduction to what it does and how to use it. History is not a new crmsh feature, but, as we failed to advertise it and nothing works without proper marketing, it probably hasn't seen a very wide use. That's surely a pity and we hope that this gentle history guide is going to help. So, if you use crmsh and if you need help troubleshooting clusters (I surely do!), take a look here: http://crmsh.github.io/history-guide/ FYI, the comprehensive crmsh help also has a short description of the feature: ........ crm history help ........ Goes without saying: all commands are described too. If you don't use crmsh, you'll still find a lot of useful information in the guide, so don't skip it. Hawk Presentation ~~~~~~~~~~~~~~~~~ I presented Hawk [1] and the History Explorer interface which builds upon the crmsh history feature at openSUSE conf in The Hague earlier this month. The video of that presentation is online here: ++++++++++++ <iframe width="420" height="315" src="/" frameborder="0" allowfullscreen></iframe> ++++++++++++ https://www.youtube.com/watch?v=mngfxzXkFLw [1]: https://github.com/ClusterLabs/hawk 2.2.0 Development News ~~~~~~~~~~~~~~~~~~~~~~~ While 2.1.4 is the latest stable release, I am also working on releasing 2.2.0 which will come with a bunch of new features. I'm still working on some of these and not everything is in the repository yet, so 2.2.0 is probably at least a month or so away still. I was perhaps a bit optimistic when I tagged RC1 back in October last year. ;) However, right now I'd like to focus on one thing that is already in 2.2.0 and which is available if you use the development packages from OBS: command shorthands. This makes crmsh a lot more convenient to use from the command line. Basically, you can use any unambiguous subset of a command name to refer to that command, and crmsh will figure out what you mean. This may sound confusing, so an example will help with explaining what I mean: This is one way of showing the current cluster configuration: ........ crm configure show ........ However, now you can shorten this to the following: ........ crm cfg show ........ Other examples of shorthand are `crm rsc stop r1` or `crm st` for status. And of course, tab completion in bash still works for the shorthand variants. The examples used here are not comprehensive. crmsh is pretty clever at figuring out which command was intended. Download the development release and try it out! 2.1.4 Details ~~~~~~~~~~~~~ For a complete list of changes since the previous version, please refer to the changelog: * https://github.com/ClusterLabs/crmsh/blob/2.1.4/ChangeLog Packages for several popular Linux distributions can be downloaded from the Stable repository at the OBS: * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/ClusterLabs/crmsh/archive/2.1.4.tar.gz * https://github.com/ClusterLabs/crmsh/archive/2.1.4.zip Changes since the previous release: - Medium: hb_report: use faster zypper interface if available - medium: ui_configure: Wait for DC when removing running resource - low: schema: Don't leak PacemakerError exceptions (#93) - parse: Don't require trailing colon in tag definitions - medium: utils: Allow 1/0 as boolean values for parameters Thank you, Kristoffer and Dejan </pre> Kristoffer Gronlund kgronlund@suse.com

# Announcing crmsh stable release 2.1.3

tag:crmsh.github.io,2014:/atom::a90f081a0da49e7f2f0823205d52fd2c3a09bead
2015-04-10T12:30:00UTC
http://crmsh.github.io/news/2015-04-10-release-2_1_3 <pre> Today we are proud to announce the release of `crmsh` version 2.1.3! This version fixes all known issues found since the release of `crmsh` 2.1.2 in January. We recommend that all users of crmsh upgrade to this version, especially if using Pacemaker 1.1.12 or newer. A massive thank you to everyone who has helped out with bug fixes, comments and contributions for this release! For a complete list of changes since the previous version, please refer to the changelog: * https://github.com/ClusterLabs/crmsh/blob/2.1.3/ChangeLog Packages for several popular Linux distributions can be downloaded from the Stable repository at the OBS: * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/ClusterLabs/crmsh/archive/2.1.3.tar.gz * https://github.com/ClusterLabs/crmsh/archive/2.1.3.zip Changes since the previous release: - medium: parse: nvpair attributes with no value = <nvpair name=".."/> (#71) - doc: Add link to clusterlabs.org - medium: report: Convert RE exception to simpler UI output - medium: report: Include transitions with configuration changes (bnc#917131) - medium: config: Fix case-sensitivity for booleans - medium: ra: Handle non-OCF agent meta-data better - Medium: cibconf: preserve cib user attributes - low: cibconfig: Improved debug output when schema change fails - medium: parse: Treat pacemaker-next schema as 2.0+ - medium: schema: Test if node type is optional via schema - medium: schema: Remove extra debug output - low: pacemaker: Remove debug output - medium: cibconfig: If a change results in no diff, exit silently - medium: cibconfig: Allow delete of objects that don't exist without returning error code - medium: cibconfig: Allow removal of non-existing elements if --force is set - low: allow (0,1) as option booleans - low: allow pacemaker 1.0 version detection - Low: hb_report: add -Q to usage - Low: hb_report: add -X option for extra ssh options - doc: Move the main crmsh repository to the ClusterLabs organization on github - high: ui_configure: Remove acl_group command (bnc#921056) - high: cibconfig: Don't delete valid tickets when removing referenced objects (bnc#922039) - high: ui_context: Wait for DC after commit, not before (#85) - medium: templates: Clearer descriptions for editing templates (boo#921028) - high: cibconfig: Derive id for ops from referenced resource name (boo#921028) - medium: ui_template: Always generate id unless explicitly defined (boo#921028) - low: template: Add 'new <template>' shortcut - medium: ui_template: Make new command more robust (bnc#924641) - medium: parse: Disallow location rules without resources - high: parse: Don't allow constraints without applicants - medium: cliformat: Escape double-quotes in nvpair values - low: hb_report: Use crmsh config to find pengine/cib dirs (bsc#926377) - low: main: Catch any ValueErrors that may leak through Thank you, Kristoffer and Dejan </pre> Kristoffer Gronlund kgronlund@suse.com

# Announcing crmsh release 2.1.2

tag:crmsh.github.io,2014:/atom::16524eb8dfa5a3f6d2bce8a79f630b306c02b994
2015-01-26T11:05:00UTC
http://crmsh.github.io/news/2015-01-26-release-2_1_2 <pre> Today we are proud to announce the release of `crmsh` version 2.1.2! This version primarily fixes all known issues found since the release of `crmsh` 2.1.1 in October. We recommend that all users of crmsh upgrade to this version, especially if using Pacemaker 1.1.12 or newer. A massive thank you to everyone who has helped out with bug fixes, comments and contributions for this release! For a complete list of changes since the previous version, please refer to the changelog: * https://github.com/crmsh/crmsh/blob/2.1.2/ChangeLog Packages for several popular Linux distributions can be downloaded from the Stable repository at the OBS: * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/crmsh/crmsh/archive/2.1.2.tar.gz * https://github.com/crmsh/crmsh/archive/2.1.2.zip Changes since the previous release: - medium: ui_resource: Set probe interval 0 if not set (bnc#905050) - doc: Document probe op in resource trace (bnc#905050) - high: config: Fix path to system-wide crm.conf (#67) - medium: config: Fall back to /etc/crm/crmsh.conf (#67) - low: cliformat: Colorize id: as identifier (boo#905338) - medium: cibconfig: Don't bump epoch if stripping version - medium: ui_context: Lazily import readline - medium: config: Add core.ignore_missing_metadata (#68) (boo#905910) - medium: cibconfig: Strip digest from v1 diffs (bnc#914098) - medium: cibconfig: Detect v1 format and don't patch container changes (bnc#914098) - high: xmlutil: Treat node type=member as normal (boo#904698) - medium: xmlutil: Use idmgmt when creating new elements (bnc#901543) - low: ui_resource: --reprobe and --refresh are deprecated (bnc#905092) - doc: Document deprecation of refresh and reprobe (bnc#905092) - medium: parse: Support resource-discovery in location constraints - medium: Allow removing groups even if is_running (boo#905271) - medium: cibconfig: Delete containers first in edits (boo#905268) - medium: ui_history: Fix crash using empty object set - Low: term: get rid of annying ^O in piped-to-less-R output - medium: parse: Allow nvpair with no value using name= syntax (#71) - medium: parse: Enable name[=value] for nvpair (#71) - medium: utils: Check if path basename is less (#74) - medium: utils: crm_daemon_dir is added to PATH in envsetup (#67) - medium: cmd_status: Show pending if available, enable extra options - high: utils: Locate binaries across sudo boundary (bnc#912483) - Medium: history: match error/crit messages of pcmk 1.1.12 - low: ui_options: Add underscore aliases for legacy options - medium: constants: Fix transition start detection - medium: constants: Update transition regex (#77) - medium: orderedset: Add OrderedSet type - medium: cibconfig: Use orderedset to avoid reordering bugs (#79) - low: xmlutil: logic bug in sanity_check_nvpairs - medium: util: Don't fall back to current time - medium: report: Fall back to end_ts = start_ts Thank you, Kristoffer and Dejan </pre> Kristoffer Gronlund kgronlund@suse.com

# Announcing crmsh release 2.1.1

tag:crmsh.github.io,2014:/atom::b620fb25c3009d60d75775b5d33d9766848b5782
2014-10-29T00:20:00UTC
http://crmsh.github.io/news/2014-10-28-release-2_1_1 <pre> Today we are proud to announce the release of `crmsh` version 2.1.1! This version primarily fixes all known issues found since the release of `crmsh` 2.1 in June. We recommend that all users of crmsh upgrade to this version, especially if using Pacemaker 1.1.12 or newer. A massive thank you to everyone who has helped out with bug fixes, comments and contributions for this release! For a complete list of changes since the previous version, please refer to the changelog: * https://github.com/crmsh/crmsh/blob/2.1.1/ChangeLog Packages for several popular Linux distributions can be downloaded from the Stable repository at the OBS: * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/crmsh/crmsh/archive/2.1.1.tar.gz * https://github.com/crmsh/crmsh/archive/2.1.1.zip Changes since the previous release: - cibconfig: Clean up output from crm_verify (bnc#893138) - high: constants: Add acl_target and acl_group to cib_cli_map (bnc#894041) - high: parse: split shortcuts into valid rules - medium: Handle broken CIB in find_objects - high: scripts: Handle corosync.conf without nodelist in add-node (bnc#862577) - medium: config: Assign default path in all cases - high: cibconfig: Generate valid CLI syntax for attribute lists (bnc#897462) - high: cibconfig: Add tag:<tag> to get all resources in tag - doc: Documentation for show tag:<tag> - low: report: Sort list of nodes - high: parse: Allow empty attribute values in nvpairs (bnc#898625) - high: cibconfig: Delay reinitialization after commit - low: cibconfig: Improve wording of commit prompt - low: cibconfig: Fix vim modeline - high: report: Find nodes for any log type (boo#900654) - high: hb_report: Collect logs from journald (boo#900654) - high: cibconfig: Don't crash if given an invalid pattern (bnc#901714) - high: xmlutil: Filter list of referenced resources (bnc#901714) - medium: ui_resource: Only act on resources (#64) - medium: ui_resource: Flatten, then filter (#64) - high: ui_resource: Use correct name for error function (bnc#901453) - high: ui_resource: resource trace failed if operation existed (bnc#901453) - Improved test suite Thank you, Kristoffer and Dejan </pre> Kristoffer Gronlund kgronlund@suse.com

# Announcing crmsh release 2.1

tag:crmsh.github.io,2014:/atom::247371a56f6ba7520505bdf67eb7d6a8d9d01a3d
2014-06-30T09:00:00UTC
http://crmsh.github.io/news/2014-06-30-release-2_1 <pre> Today we are proud to announce the release of `crmsh` version 2.1! This version primarily fixes all known issues found since the release of `crmsh` 2.0 in April, but also has some major new features. A massive thank you to everyone who has helped out with bug fixes, comments and contributions for this release! For a complete list of changes since the previous version, please refer to the changelog: * https://github.com/crmsh/crmsh/blob/2.1.0/ChangeLog Packages for several popular Linux distributions can be downloaded from the Stable repository at the OBS: * http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/ Archives of the tagged release: * https://github.com/crmsh/crmsh/archive/2.1.0.tar.gz * https://github.com/crmsh/crmsh/archive/2.1.0.zip Here are some of the highlights of this release: == Rule expressions in attribute lists One of the biggest features in this release is full support for rule expressions wherever the XML syntax allows them. Here is an example of using rule expressions in an attribute list in order to set the virtual IP of an IPAddr2 resource to a different value on a specific node. ---- primitive vip-on-node1 IPAddr2 \ rule 10: #uname eq node1 ip=10.0.0.5 \ rule 1: ip=10.0.0.6 ---- == Tags in the CIB A new feature added to Pacemaker recently is tags. This is a way to refer to multiple resources at once without creating any colocation or ordering relationship between them. For example, you could add all resources related to the database to a db tag, and then stop or start them all with a single command. ---- tag db drbd:Master fs sql-db ---- It is also possible to refer to tags in constraints. == Wildcards in show/edit The configure show and edit commands can now use glob-style wildcards to refer to multiple resources: ---- configure edit db-* ---- == Nvpair references Sometimes, different resources name the same parameters with different names. For example, an IPAddr2 may have an ip parameter that should be the same as a web servers server_ip parameter. By using nvpair references, it is possible to configure the ip in a single location. Note that this is a new feature in Pacemaker 1.1.12 and up. ---- primitive vip IPAddr2 params $my-ip:ip=192.168.0.1 primitive www apache params @my-ip:server_ip ---- == New ACL syntax The support for Access Control Lists has been revised in Pacemaker 1.1.12, and this release of crmsh supports the new syntax. Two new commands have been added: `acl_target` and `acl_group`. For more details, see the documentation. Thank you, Kristoffer and Dejan </pre> Kristoffer Gronlund kgronlund@suse.com