Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crmsh for openSUSE:Factory checked in at 2025-06-06 22:43:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crmsh (Old) and /work/SRC/openSUSE:Factory/.crmsh.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crmsh" Fri Jun 6 22:43:40 2025 rev:372 rq:1283511 version:5.0.0+20250605.889b8ca0 Changes: -------- --- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes 2025-06-05 20:36:41.087145032 +0200 +++ /work/SRC/openSUSE:Factory/.crmsh.new.19631/crmsh.changes 2025-06-06 22:44:15.783803210 +0200 @@ -1,0 +2,7 @@ +Thu Jun 05 12:14:22 UTC 2025 - xli...@suse.com + +- Update to version 5.0.0+20250605.889b8ca0: + * Dev: bootstrap: do not hide ssh-copy-id outputs in debug mode + * Fix: bootstrap: add sleeps to avoid triggering sshd PerSourcePenalties (bsc#1243141) + +------------------------------------------------------------------- Old: ---- crmsh-5.0.0+20250605.a553c49e.tar.bz2 New: ---- crmsh-5.0.0+20250605.889b8ca0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crmsh.spec ++++++ --- /var/tmp/diff_new_pack.4qMTrB/_old 2025-06-06 22:44:16.563835537 +0200 +++ /var/tmp/diff_new_pack.4qMTrB/_new 2025-06-06 22:44:16.563835537 +0200 @@ -41,7 +41,7 @@ Summary: High Availability cluster command-line interface License: GPL-2.0-or-later Group: %{pkg_group} -Version: 5.0.0+20250605.a553c49e +Version: 5.0.0+20250605.889b8ca0 Release: 0 URL: http://crmsh.github.io Source0: %{name}-%{version}.tar.bz2 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.4qMTrB/_old 2025-06-06 22:44:16.607837360 +0200 +++ /var/tmp/diff_new_pack.4qMTrB/_new 2025-06-06 22:44:16.611837526 +0200 @@ -9,7 +9,7 @@ </service> <service name="tar_scm"> <param name="url">https://github.com/ClusterLabs/crmsh.git</param> - <param name="changesrevision">0ca01acb15849017e220a2ffa6c6fe1424ac3796</param> + <param name="changesrevision">889b8ca01b96b8eaf5b45f9e05c92762ff648ed3</param> </service> </servicedata> (No newline at EOF) ++++++ crmsh-5.0.0+20250605.a553c49e.tar.bz2 -> crmsh-5.0.0+20250605.889b8ca0.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-5.0.0+20250605.a553c49e/crmsh/bootstrap.py new/crmsh-5.0.0+20250605.889b8ca0/crmsh/bootstrap.py --- old/crmsh-5.0.0+20250605.a553c49e/crmsh/bootstrap.py 2025-06-05 05:35:55.000000000 +0200 +++ new/crmsh-5.0.0+20250605.889b8ca0/crmsh/bootstrap.py 2025-06-05 13:48:50.000000000 +0200 @@ -18,6 +18,7 @@ import re import tempfile import time +from time import sleep import readline import shutil import typing @@ -557,14 +558,6 @@ return "" -def sleep(t): - """ - Sleep for t seconds. - """ - t = float(t) - time.sleep(t) - - def status_progress(progress_bar): if not _context or not _context.quiet: progress_bar.progress() @@ -974,8 +967,11 @@ if utils.check_ssh_passwd_need(local_user, remote_user, remote_node, shell): configure_ssh_key(local_user) public_keys = ssh_key.fetch_public_key_file_list(None, local_user) + sleep(5) # bsc#1243141: sshd PerSourcePenalties logger.info("Configuring SSH passwordless with {}@{}".format(remote_user, remote_node)) - cmd = f"ssh-copy-id -i {public_keys[0].public_key_file()} '{remote_user}@{remote_node}' &> /dev/null" + cmd = f"ssh-copy-id -i {public_keys[0].public_key_file()} '{remote_user}@{remote_node}'" + if not config.core.debug: + cmd += ' &> /dev/null' result = shell.su_subprocess_run(local_user, cmd, tty=True) return SshCopyIdResult(result.returncode, public_keys) else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-5.0.0+20250605.a553c49e/crmsh/user_of_host.py new/crmsh-5.0.0+20250605.889b8ca0/crmsh/user_of_host.py --- old/crmsh-5.0.0+20250605.a553c49e/crmsh/user_of_host.py 2025-06-05 05:35:55.000000000 +0200 +++ new/crmsh-5.0.0+20250605.889b8ca0/crmsh/user_of_host.py 2025-06-05 13:48:50.000000000 +0200 @@ -2,6 +2,7 @@ import os import socket import subprocess +import time import typing from . import config @@ -102,6 +103,7 @@ args.extend(['-o', 'BatchMode=yes', host, 'sudo', 'true']) else: args.extend(['-o', 'BatchMode=yes', host, 'true']) + logger.debug("subprocess.call(%s)", args) rc = subprocess.call( args, stdin=subprocess.DEVNULL, @@ -113,6 +115,7 @@ user = userdir.getuser() return user, user else: + time.sleep(5) # bsc#1243141: sshd PerSourcePenalties return None