Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crmsh for openSUSE:Factory checked in at 2021-12-17 23:54:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crmsh (Old) and /work/SRC/openSUSE:Factory/.crmsh.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crmsh" Fri Dec 17 23:54:29 2021 rev:232 rq:941022 version:4.3.1+20211217.5d8f3f90 Changes: -------- --- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes 2021-12-16 02:01:28.083652347 +0100 +++ /work/SRC/openSUSE:Factory/.crmsh.new.2520/crmsh.changes 2021-12-17 23:54:51.531546904 +0100 @@ -1,0 +2,8 @@ +Fri Dec 17 08:27:05 UTC 2021 - xli...@suse.com + +- Update to version 4.3.1+20211217.5d8f3f90: + * Dev: ui_node: Delete node directly using cibadmin if crm_node -R failed + * Dev: testcases: adjust origin testcases for OCF 1.1 update + * Dev: behave: Change CI image as Tumbleweed + +------------------------------------------------------------------- Old: ---- crmsh-4.3.1+20211215.85834218.tar.bz2 New: ---- crmsh-4.3.1+20211217.5d8f3f90.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crmsh.spec ++++++ --- /var/tmp/diff_new_pack.KTUB8X/_old 2021-12-17 23:54:52.135547404 +0100 +++ /var/tmp/diff_new_pack.KTUB8X/_new 2021-12-17 23:54:52.139547407 +0100 @@ -36,7 +36,7 @@ Summary: High Availability cluster command-line interface License: GPL-2.0-or-later Group: %{pkg_group} -Version: 4.3.1+20211215.85834218 +Version: 4.3.1+20211217.5d8f3f90 Release: 0 URL: http://crmsh.github.io Source0: %{name}-%{version}.tar.bz2 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.KTUB8X/_old 2021-12-17 23:54:52.215547470 +0100 +++ /var/tmp/diff_new_pack.KTUB8X/_new 2021-12-17 23:54:52.215547470 +0100 @@ -9,7 +9,7 @@ </service> <service name="tar_scm"> <param name="url">https://github.com/ClusterLabs/crmsh.git</param> - <param name="changesrevision">99c28d735cde5888794c4ef218a527c3e65ff118</param> + <param name="changesrevision">80baa8fbcbf2712d2de7b7f5cfb6f0312b29c1fd</param> </service> </servicedata> (No newline at EOF) ++++++ crmsh-4.3.1+20211215.85834218.tar.bz2 -> crmsh-4.3.1+20211217.5d8f3f90.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.3.1+20211215.85834218/crmsh/ui_node.py new/crmsh-4.3.1+20211217.5d8f3f90/crmsh/ui_node.py --- old/crmsh-4.3.1+20211215.85834218/crmsh/ui_node.py 2021-12-15 15:55:49.000000000 +0100 +++ new/crmsh-4.3.1+20211217.5d8f3f90/crmsh/ui_node.py 2021-12-17 09:10:32.000000000 +0100 @@ -448,8 +448,12 @@ return False ec = utils.ext_cmd(cmd) if ec != 0: - logger.warning('"%s" failed, rc=%d', cmd, ec) - return False + node_xpath = "//nodes/node[@uname='{}']".format(node) + cmd = 'cibadmin --delete-all --force --xpath "{}"'.format(node_xpath) + rc, _, err = utils.get_stdout_stderr(cmd) + if rc != 0: + logger.error('"%s" failed, rc=%d, %s', cmd, rc, err) + return False return True @command.completers(compl.nodes) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.3.1+20211215.85834218/test/docker_scripts.sh new/crmsh-4.3.1+20211217.5d8f3f90/test/docker_scripts.sh --- old/crmsh-4.3.1+20211215.85834218/test/docker_scripts.sh 2021-12-15 15:55:49.000000000 +0100 +++ new/crmsh-4.3.1+20211217.5d8f3f90/test/docker_scripts.sh 2021-12-17 09:10:32.000000000 +0100 @@ -1,5 +1,5 @@ #!/bin/bash -Docker_image='liangxin1300/haleap:15.2' +Docker_image='liangxin1300/hatbw' HA_packages='pacemaker corosync corosync-qdevice' TEST_TYPE='bootstrap qdevice hb_report geo' @@ -32,6 +32,7 @@ else docker exec -t $node_name /bin/sh -c "cd /app; ./test/run-in-travis.sh build" fi + docker exec -t $node_name /bin/sh -c "rm -rf /run/nologin" echo "##### Deploy $node_name finished" echo } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.3.1+20211215.85834218/test/features/bootstrap_bugs.feature new/crmsh-4.3.1+20211217.5d8f3f90/test/features/bootstrap_bugs.feature --- old/crmsh-4.3.1+20211215.85834218/test/features/bootstrap_bugs.feature 2021-12-15 15:55:49.000000000 +0100 +++ new/crmsh-4.3.1+20211217.5d8f3f90/test/features/bootstrap_bugs.feature 2021-12-17 09:10:32.000000000 +0100 @@ -56,12 +56,12 @@ Then Cluster service is "started" on "hanode2" When Run "crm corosync get nodelist.node.ring0_addr" on "hanode1" Then Expected "10.10.10.3" in stdout - And Service "hawk.service" is "started" on "hanode2" + #And Service "hawk.service" is "started" on "hanode2" When Run "crm cluster remove hanode2 -y" on "hanode1" Then Online nodes are "hanode1" And Cluster service is "stopped" on "hanode2" # verify bsc#1175708 - And Service "hawk.service" is "stopped" on "hanode2" + #And Service "hawk.service" is "stopped" on "hanode2" When Run "crm corosync get nodelist.node.ring0_addr" on "hanode1" Then Expected "10.10.10.3" not in stdout diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.3.1+20211215.85834218/test/features/environment.py new/crmsh-4.3.1+20211217.5d8f3f90/test/features/environment.py --- old/crmsh-4.3.1+20211215.85834218/test/features/environment.py 2021-12-15 15:55:49.000000000 +0100 +++ new/crmsh-4.3.1+20211217.5d8f3f90/test/features/environment.py 2021-12-17 09:10:32.000000000 +0100 @@ -23,6 +23,7 @@ def before_tag(context, tag): # tag @clean means need to stop cluster service if tag == "clean": + time.sleep(3) online_nodes = get_online_nodes() if online_nodes: resource_cleanup() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.3.1+20211215.85834218/test/testcases/common.excl new/crmsh-4.3.1+20211217.5d8f3f90/test/testcases/common.excl --- old/crmsh-4.3.1+20211215.85834218/test/testcases/common.excl 2021-12-15 15:55:49.000000000 +0100 +++ new/crmsh-4.3.1+20211217.5d8f3f90/test/testcases/common.excl 2021-12-17 09:10:32.000000000 +0100 @@ -8,6 +8,7 @@ Error signing on to the CRMd service Error connecting to the controller Error performing operation: Transport endpoint is not connected +Error performing operation: Not connected .EXT crm_resource --list-ocf-providers .EXT crm_resource --list-ocf-alternatives Delay .EXT crm_resource --list-ocf-alternatives Dummy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.3.1+20211215.85834218/test/testcases/file.exp new/crmsh-4.3.1+20211217.5d8f3f90/test/testcases/file.exp --- old/crmsh-4.3.1+20211215.85834218/test/testcases/file.exp 2021-12-15 15:55:49.000000000 +0100 +++ new/crmsh-4.3.1+20211217.5d8f3f90/test/testcases/file.exp 2021-12-17 09:10:32.000000000 +0100 @@ -10,6 +10,8 @@ params hostlist=node1 ms m1 p2 clone c1 p1 +rsc_defaults build-resource-defaults: \ + resource-stickiness=1 op_defaults op-options: \ timeout=60s .TRY configure erase nodes @@ -46,6 +48,8 @@ clone c1 p1 property cib-bootstrap-options: \ cluster-recheck-interval=10m +rsc_defaults build-resource-defaults: \ + resource-stickiness=1 op_defaults op-options: \ timeout=2m .EXT rm sample.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.3.1+20211215.85834218/test/testcases/ra.exp new/crmsh-4.3.1+20211217.5d8f3f90/test/testcases/ra.exp --- old/crmsh-4.3.1+20211215.85834218/test/testcases/ra.exp 2021-12-15 15:55:49.000000000 +0100 +++ new/crmsh-4.3.1+20211217.5d8f3f90/test/testcases/ra.exp 2021-12-17 09:10:32.000000000 +0100 @@ -23,16 +23,16 @@ Fake password field fake (string, [dummy]): - Fake attribute that can be changed to cause a reload + Fake attribute that can be changed to cause an agent reload op_sleep (string, [0]): Operation sleep duration in seconds. Number of seconds to sleep during operations. This can be used to test how the cluster reacts to operation timeouts. fail_start_on (string): Report bogus start failure on specified host - Start actions will return failure if running on the host specified here, but - the resource will start successfully anyway (future monitor calls will find it - running). This can be used to test on-fail=ignore. + Start, migrate_from, and reload-agent actions will return failure if running on + the host specified here, but the resource will run successfully anyway (future + monitor calls will find it running). This can be used to test on-fail=ignore. envfile (string): Environment dump file If this is set, the environment will be dumped to this file for every call. @@ -43,6 +43,7 @@ stop timeout=20s monitor timeout=20s interval=10s reload timeout=20s + reload-agent timeout=20s migrate_to timeout=20s migrate_from timeout=20s .INP: info stonith:external/ssh @@ -78,14 +79,14 @@ pcmk_host_check (string, [dynamic-list]): How to determine which machines are controlled by the device. Allowed values: dynamic-list (query the device via the 'list' command), static-list (check the pcmk_host_list attribute), status (query the device via the 'status' command), none (assume every device can fence every machine) -pcmk_delay_max (time, [0s]): Enable a random delay for stonith actions and specify the maximum of random delay. +pcmk_delay_max (time, [0s]): Enable a delay of no more than the time specified before executing fencing actions. Pacemaker derives the overall delay by taking the value of pcmk_delay_base and adding a random delay value such that the sum is kept below this maximum. This prevents double fencing when using slow devices such as sbd. - Use this to enable a random delay for stonith actions. + Use this to enable a random delay for fencing actions. The overall delay is derived from this random delay value adding a static delay so that the sum is kept below the maximum delay. -pcmk_delay_base (time, [0s]): Enable a base delay for stonith actions and specify base delay value. +pcmk_delay_base (time, [0s]): Enable a base delay for fencing actions and specify base delay value. This prevents double fencing when different delays are configured on the nodes. - Use this to enable a static delay for stonith actions. + Use this to enable a static delay for fencing actions. The overall delay is derived from a random delay value adding this static delay so that the sum is kept below the maximum delay. pcmk_action_limit (integer, [1]): The maximum number of actions can be performed in parallel on this device diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.3.1+20211215.85834218/test/testcases/resource.exp new/crmsh-4.3.1+20211217.5d8f3f90/test/testcases/resource.exp --- old/crmsh-4.3.1+20211215.85834218/test/testcases/resource.exp 2021-12-15 15:55:49.000000000 +0100 +++ new/crmsh-4.3.1+20211217.5d8f3f90/test/testcases/resource.exp 2021-12-17 09:10:32.000000000 +0100 @@ -931,19 +931,14 @@ .EXT crm_simulate -sUL 2 of 6 resource instances DISABLED and 0 BLOCKED from further action due to failure -Current cluster status: Node node1: UNCLEAN (offline) st (stonith:null): Stopped - Clone Set: c1 [p1] (unmanaged) Stopped: [ node1 ] - Clone Set: m1 [p2] (promotable) Stopped: [ node1 ] p3 (ocf::heartbeat:Dummy): Stopped ( disabled ) - Clone Set: msg [g] (promotable) Stopped: [ node1 ] -Allocation scores and utilization information: Original: node1 capacity: pcmk__native_allocate: st allocation score on node1: 0 pcmk__clone_allocate: c1 allocation score on node1: 0 @@ -966,7 +961,6 @@ g:0 promotion score on none: 0 Remaining: node1 capacity: -Transition Summary: .SETENV showobj= .TRY configure primitive p5 Dummy .EXT crm_resource --show-metadata ocf:heartbeat:Dummy