Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crmsh for openSUSE:Factory checked in at 2022-07-08 14:02:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crmsh (Old) and /work/SRC/openSUSE:Factory/.crmsh.new.1523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crmsh" Fri Jul 8 14:02:57 2022 rev:247 rq:987771 version:4.4.0+20220705.bb8708eb Changes: -------- --- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes 2022-06-23 10:24:59.591787114 +0200 +++ /work/SRC/openSUSE:Factory/.crmsh.new.1523/crmsh.changes 2022-07-08 14:02:58.738520674 +0200 @@ -1,0 +2,19 @@ +Tue Jul 05 01:54:44 UTC 2022 - xli...@suse.com + +- Update to version 4.4.0+20220705.bb8708eb: + * Dev: CI: trigger CI on push and pull request for all branches + +------------------------------------------------------------------- +Fri Jun 24 03:12:49 UTC 2022 - xli...@suse.com + +- Update to version 4.4.0+20220624.7b89db34: + * Dev: log: Add replacement fields in str format + +------------------------------------------------------------------- +Thu Jun 23 08:39:09 UTC 2022 - xli...@suse.com + +- Update to version 4.4.0+20220623.6b256b4b: + * Dev: behave: adjust functional test based on previous changes + * Dev: ui_cluster: Add examples for 'cluster init' and 'cluster join' + +------------------------------------------------------------------- Old: ---- crmsh-4.4.0+20220619.cc0a81a5.tar.bz2 New: ---- crmsh-4.4.0+20220705.bb8708eb.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crmsh.spec ++++++ --- /var/tmp/diff_new_pack.Z4Hcbd/_old 2022-07-08 14:02:59.222521250 +0200 +++ /var/tmp/diff_new_pack.Z4Hcbd/_new 2022-07-08 14:02:59.226521255 +0200 @@ -36,7 +36,7 @@ Summary: High Availability cluster command-line interface License: GPL-2.0-or-later Group: %{pkg_group} -Version: 4.4.0+20220619.cc0a81a5 +Version: 4.4.0+20220705.bb8708eb Release: 0 URL: http://crmsh.github.io Source0: %{name}-%{version}.tar.bz2 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.Z4Hcbd/_old 2022-07-08 14:02:59.262521298 +0200 +++ /var/tmp/diff_new_pack.Z4Hcbd/_new 2022-07-08 14:02:59.262521298 +0200 @@ -9,7 +9,7 @@ </service> <service name="tar_scm"> <param name="url">https://github.com/ClusterLabs/crmsh.git</param> - <param name="changesrevision">89c52154626a931106a7967865f7d5d9793ea1bf</param> + <param name="changesrevision">bb8708ebfe5eb3710295e26594f81642107779b6</param> </service> </servicedata> (No newline at EOF) ++++++ crmsh-4.4.0+20220619.cc0a81a5.tar.bz2 -> crmsh-4.4.0+20220705.bb8708eb.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.4.0+20220619.cc0a81a5/.github/workflows/crmsh-ci.yml new/crmsh-4.4.0+20220705.bb8708eb/.github/workflows/crmsh-ci.yml --- old/crmsh-4.4.0+20220619.cc0a81a5/.github/workflows/crmsh-ci.yml 2022-06-19 05:16:07.000000000 +0200 +++ new/crmsh-4.4.0+20220705.bb8708eb/.github/workflows/crmsh-ci.yml 2022-07-05 03:37:20.000000000 +0200 @@ -4,11 +4,7 @@ name: crmsh CI -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] +on: [push, pull_request] env: DOCKER_SCRIPT: ./test/run-functional-tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.4.0+20220619.cc0a81a5/crmsh/log.py new/crmsh-4.4.0+20220705.bb8708eb/crmsh/log.py --- old/crmsh-4.4.0+20220619.cc0a81a5/crmsh/log.py 2022-06-19 05:16:07.000000000 +0200 +++ new/crmsh-4.4.0+20220705.bb8708eb/crmsh/log.py 2022-07-05 03:37:20.000000000 +0200 @@ -202,7 +202,7 @@ if getattr(h, '_name') == _type: return h else: - raise ValueError("Failed to find \"\" handler in logger \"\"".format(_type, self.logger.name)) + raise ValueError("Failed to find \"{}\" handler in logger \"{}\"".format(_type, self.logger.name)) def disable_info_in_console(self): """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.4.0+20220619.cc0a81a5/crmsh/ui_cluster.py new/crmsh-4.4.0+20220705.bb8708eb/crmsh/ui_cluster.py --- old/crmsh-4.4.0+20220619.cc0a81a5/crmsh/ui_cluster.py 2022-06-19 05:16:07.000000000 +0200 +++ new/crmsh-4.4.0+20220705.bb8708eb/crmsh/ui_cluster.py 2022-07-05 03:37:20.000000000 +0200 @@ -292,6 +292,41 @@ Note: - If stage is not specified, the script will run through each stage in sequence, with prompts for required information. + +Examples: + # Setup the cluster on the current node + crm cluster init -y + + # Setup the cluster with multiple nodes + (NOTE: the current node will be part of the cluster even not listed in the -N option as below) + crm cluster init -N node1 -N node2 -N node3 -y + + # Setup the cluster on the current node, with two network interfaces + crm cluster init -i eth1 -i eth2 -y + + # Setup the cluster on the current node, with disk-based SBD + crm cluster init -s <share disk> -y + + # Setup the cluster on the current node, with diskless SBD + crm cluster init -S -y + + # Setup the cluster on the current node, with QDevice + crm cluster init --qnetd-hostname <qnetd addr> -y + + # Setup the cluster on the current node, with SBD+OCFS2 + crm cluster init -s <share disk1> -o <share disk2> -y + + # Setup the cluster on the current node, with SBD+OCFS2+Cluster LVM + crm cluster init -s <share disk1> -o <share disk2> -o <share disk3> -C -y + + # Add SBD on a running cluster + crm cluster init sbd -s <share disk> -y + + # Add QDevice on a running cluster + crm cluster init qdevice --qnetd-hostname <qnetd addr> -y + + # Add OCFS2+Cluster LVM on a running cluster + crm cluster init ocfs2 -o <share disk1> -o <share disk2> -C -y """, add_help=False, formatter_class=RawDescriptionHelpFormatter) parser.add_argument("-h", "--help", action="store_true", dest="help", help="Show this help message") @@ -415,6 +450,13 @@ cluster Start the cluster on this node If stage is not specified, each stage will be invoked in sequence. + +Examples: + # Join with a cluster node + crm cluster join -c <node> -y + + # Join with a cluster node, with the same network interface used by that node + crm cluster join -c <node> -i eth1 -i eth2 -y """, add_help=False, formatter_class=RawDescriptionHelpFormatter) parser.add_argument("-h", "--help", action="store_true", dest="help", help="Show this help message") parser.add_argument("-q", "--quiet", help="Be quiet (don't describe what's happening, just do it)", action="store_true", dest="quiet") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.4.0+20220619.cc0a81a5/test/features/steps/const.py new/crmsh-4.4.0+20220705.bb8708eb/test/features/steps/const.py --- old/crmsh-4.4.0+20220619.cc0a81a5/test/features/steps/const.py 2022-06-19 05:16:07.000000000 +0200 +++ new/crmsh-4.4.0+20220705.bb8708eb/test/features/steps/const.py 2022-07-05 03:37:20.000000000 +0200 @@ -156,7 +156,42 @@ Note: - If stage is not specified, the script will run through each stage - in sequence, with prompts for required information.''' + in sequence, with prompts for required information. + +Examples: + # Setup the cluster on the current node + crm cluster init -y + + # Setup the cluster with multiple nodes + (NOTE: the current node will be part of the cluster even not listed in the -N option as below) + crm cluster init -N node1 -N node2 -N node3 -y + + # Setup the cluster on the current node, with two network interfaces + crm cluster init -i eth1 -i eth2 -y + + # Setup the cluster on the current node, with disk-based SBD + crm cluster init -s <share disk> -y + + # Setup the cluster on the current node, with diskless SBD + crm cluster init -S -y + + # Setup the cluster on the current node, with QDevice + crm cluster init --qnetd-hostname <qnetd addr> -y + + # Setup the cluster on the current node, with SBD+OCFS2 + crm cluster init -s <share disk1> -o <share disk2> -y + + # Setup the cluster on the current node, with SBD+OCFS2+Cluster LVM + crm cluster init -s <share disk1> -o <share disk2> -o <share disk3> -C -y + + # Add SBD on a running cluster + crm cluster init sbd -s <share disk> -y + + # Add QDevice on a running cluster + crm cluster init qdevice --qnetd-hostname <qnetd addr> -y + + # Add OCFS2+Cluster LVM on a running cluster + crm cluster init ocfs2 -o <share disk1> -o <share disk2> -C -y''' CRM_CLUSTER_JOIN_H_OUTPUT = '''usage: join [options] [STAGE] @@ -189,7 +224,14 @@ already be configured). cluster Start the cluster on this node -If stage is not specified, each stage will be invoked in sequence.''' +If stage is not specified, each stage will be invoked in sequence. + +Examples: + # Join with a cluster node + crm cluster join -c <node> -y + + # Join with a cluster node, with the same network interface used by that node + crm cluster join -c <node> -i eth1 -i eth2 -y''' CRM_CLUSTER_ADD_H_OUTPUT = '''usage: add [options] [node ...]