Releases: ClusterLabs/crmsh
crmsh 2.2.0 is released
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:
Packages for several popular Linux distributions can be downloaded
from the Stable repository at the OBS:
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.
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
- 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:...
Release 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:
Packages for several popular Linux distributions can be downloaded
from the Stable repository at the OBS:
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)
crmsh 2.1
- Add atom feed to development page
- Medium: hb_report: dot is not illegal in file names (bnc#884079, debian#715391)
- Low: history: remove existing report directory on refresh
- medium: ui_history: Print source if given no argument (bnc#883437)
- Medium: hb_report: update interface to zypper (bnc#883186)
- Medium: hb_report: support logs with varied timestamps (bnc#883186)
- Low: hb_report: getstampproc is global (bnc#883186)
- Low: hb_report: gdb debug symbols output change (bnc#883186)
- Low: hb_report: don't restrict debuginfo to cluster stack binaries (zypper) (bnc#883186)
- high: ui_history: Lazily fetch report data on command (bnc#882959)
- medium: report: Make setting report period more robust (bnc#882959)
- medium: ui_resource: Remove empty attrlists when overriding children (bnc#882655)
- high: cibconfig: Retain empty attribute sets (bnc#882655)
- Low: report: unpack tarball if it's newer than the existing directory
- Low: report: get node list based on collected logs, not from cib
- Low: report: test for ha-log.txt instead of cib.txt when listing nodes
- Low: report: don't warn on extra nodes in the report
- medium: ui_configure: Nicer error when pacemaker is not running (bnc#882475)
- medium: scripts: configure SSH in cluster init (bnc#882476)
- medium: ui_assist: add template command (bnc#882477)
- medium: cliformat: Fix CLI formatting for rules and id-refs
- doc: Update documentation for location constraints (bnc#873781)
- doc: Document interval suffixes (bnc#873677)
- medium: ui_node: Fix display of node attributes
- medium: parse: Allow remote as node type
- low: cliformat: Don't show extraneous id for acl rules
- high: cibconfig: Fix bug when copying nvpairs (bnc#881369)
- high: parse: Try to retain ordering if possible (bnc#880371)
- high: cibconfig: Enable use of v2 patches in Pacemaker (bnc#880371)
- medium: pacemaker: Don't hardcode list of supported schemas
- Medium: resource: modify some command wait options (bnc#880982)
- high: parse: Support for ACL schema 2.0 (bnc#880371)
- medium: schema: Fix typo in test_schema()
- medium: parse: Allow empty property sets (bnc#880632)
- medium: ui_resource: Also trace promote/demote for multistate resources
- medium: ui_resource: allow trace of resource without specific operation
- medium: ui_resource: Make op an optional argument to trace/untrace
- low: ui_resource: Allow untrace without explicit interval
- high: cibconfig: adjust attributes when adding operations (bnc#880052)
- high: parse: Support id-ref in nvpairs (fate#316118)
- low: ui_configure: Add --force flag to configure delete
- medium: xmlutil: Limit xpath search to children (bnc#879419)
- medium: ui: Fix argument check in resource commands (gh##29)
- high: xmlutil: Include remote nodes in nodelist (bnc#878112)
- medium: cibconfig: Detect broken child relationship (bnc#878112)
- high: cibconfig: Ban containers stealing children (bnc#878112)
- low: command: Add -h and --help as aliases to help
- high: parse: Allow role in rule-based location constraints (bnc#878128)
- medium: report: Return to handling timestamps internally (bnc#877495)
- medium: ui_resource: Fix race in start/stop/manage/unmanage (bnc#877640)
- medium: parse: Allow empty attribute lists
- medium: cibconfig: Fix uses of add_operation
- medium: report: Make regexp groups non-capturing to avoid limit (bnc#877484)
- medium: doc: Document rules in attribute lists (bnc#865292)
- medium: constants: Rename cluster attribute to cluster-name (fate#316118)
- medium: idmgmt: Fix id assignment and update regression tests (bnc#865292)
- medium: cibconfig: Enable score for instance_attributes (bnc#865292)
- high: cibconfig: Support rules in attribute lists (bnc#865292)
- low: cibconfig: Better error when referring to non-existant template
- medium: scripts: Handle percent characters in script output (bnc#876882)
- pacemaker: Support 2.0 schema
- vars: Rename property: s/site/cluster (fate#316118)
- Medium: hb_report: fix ssh passwords again (bnc#867365)
- vars: Add site to list of extra cluster properties (fate#316118)
- parse: Fix check for action/role in resource set parser (#14)
- report: More problems with datetime (bnc#874162)
- report: Resolve datetime/timestamp mixup (bnc#874162)
- utils: Handle datetime objects in shorttime/shortdate (bnc#874162)
- main: Fix reference before assignment (#7)
- crm: Check and complain about python version < 2.6 (#11)
- parse: Unify API for err(), fix error
- Fix garbage characters in prompt (issue#7)
- Medium: cibconf: add comments in the right order (bnc#866434)
- site: pass --force flag through to crm_ticket (bnc#873200)
- Low: report: Use subsecond precision if possible (bnc#872932)
- Low: hb_report: pcmk lib changed permissions (bnc#872958)
- Low: history: set colours for all nodes found (bnc#872936)
- ui_resource: Allow setting meta attributes on tags (fate#315101)
- ui_configure: tag command (fate#315101)
- parse: Support cib object tags (fate#315101)
- cibconfig: Support filename-style globs in show/edit (bnc#864346)
- ui_resource: Only search in top-level (bnc#865024)
- ui_resource: Don't create extra nvpairs (bnc#865024)
- utils: Don't crash on missing reply to y/n question
- Allow building crmsh without PyYAML
- Support for pacemaker-1.3 RNG schema