Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package crmsh.16990 for 
openSUSE:Leap:15.2:Update checked in at 2021-09-29 10:06:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/crmsh.16990 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.crmsh.16990.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crmsh.16990"

Wed Sep 29 10:06:02 2021 rev:1 rq:921335 version:4.3.1+20210827.4fb174c4

Changes:
--------
New Changes file:

--- /dev/null   2021-09-02 09:14:41.336741815 +0200
+++ /work/SRC/openSUSE:Leap:15.2:Update/.crmsh.16990.new.1899/crmsh.changes     
2021-09-29 10:06:02.413741154 +0200
@@ -0,0 +1,2666 @@
+-------------------------------------------------------------------
+Thu Sep 09 01:34:55 UTC 2021 - [email protected]
+
+- Update to version 4.3.1+20210827.4fb174c4:
+  * Fix: hb_report: Using python way to collect ra trace files (bsc#1189641)
+  * Fix: bootstrap: adjust host list for parallax to get and copy known_hosts 
file(bsc#1188971)
+
+-------------------------------------------------------------------
+Wed Aug 11 01:36:49 UTC 2021 - [email protected]
+
+- Update to version 4.3.1+20210811.2a30e37e:
+  * Dev: ui_resource: Enhancement trace output
+  * Fix: doc: Note that resource tracing is only supported by OCF 
RAs(bsc#1188966)
+  * Medium: ra: performance/usability improvement (avoid systemd)
+  * Dev: ui_context: Add info when spell-corrections happen
+  * Fix: parse: Should still be able to show the empty property if it already 
exists(bsc#1188290)
+
+-------------------------------------------------------------------
+Fri Jul 02 02:31:58 UTC 2021 - [email protected]
+
+- Update to version 4.3.1+20210702.4e0ee8fb:
+  * Fix: bootstrap: check for missing fields in 'crm_node -l' output 
(bsc#1182131)
+  * Fix: resource: make untrace consistent with trace (bsc#1187396)
+  * Dev: sbd: enable SBD_DELAY_START in virtualization environment
+
+-------------------------------------------------------------------
+Thu Jun 24 02:56:53 UTC 2021 - [email protected]
+
+- Update to version 4.3.1+20210624.67223df2:
+  * Fix: ocfs2: Skip verifying UUID for ocfs2 device on top of raid or lvm on 
the join node (bsc#1187553)
+
+-------------------------------------------------------------------
+Wed Jun 16 07:19:03 UTC 2021 - [email protected]
+
+- Update to version 4.3.0+20210616.cdcfe52e:
+  * Fix: history: use Path.mkdir instead of mkdir command(bsc#1179999, 
CVE-2020-35459)
+  * Dev: crash_test: Add big warnings to have users' attention to potential 
failover(jsc#SLE-17979)
+  * Dev: crash_test: rename preflight_check as crash_test(jsc#SLE-17979)
+  * Fix: bootstrap: update sbd watchdog timeout when using diskless SBD with 
qdevice(bsc#1184465)
+  * Dev: utils: allow configure link-local ipv6 address(bsc#1163460)
+  * Fix: parse: shouldn't allow property setting with an empty 
value(bsc#1185423)
+  * Fix: help: show help message from argparse(bsc#1175982)
+
+- Remove patches:
+  0001-Fix-history-use-Path.mkdir-instead-of-mkdir-command-.patch
+
+-------------------------------------------------------------------
+Fri May 07 03:02:36 UTC 2021 - [email protected]
+
+- Update to version 4.3.0+20210507.bf02d791:
+  * Fix: bootstrap: add sbd via bootstrap stage on an existing cluster 
(bsc#1181906)
+  * Fix: bootstrap: change StrictHostKeyChecking=no as a constants(bsc#1185437)
+  * Dev: bootstrap: disable unnecessary warnings (bsc#1178118)
+  * Fix: bootstrap: sync corosync.conf before finished joining(bsc#1183359)
+  * Dev: add "crm corosync status qdevice" sub-command
+  * Dev: ui_cluster: add qdevice help info
+
+-------------------------------------------------------------------
+Tue Apr 13 05:06:52 UTC 2021 - [email protected]
+
+- Update to version 4.3.0+20210330.06bf9cad:
+  * Dev: ui_cluster: enable/disable corosync-qdevice.service
+  * Fix: bootstrap: parse space in sbd device correctly(bsc#1183883)
+  * Dev: preflight_check: move preflight_check directory into crmsh
+  * Fix: bootstrap: get the peer node name correctly (bsc#1183654)
+  * Fix: update verion and author (bsc#1183689)
+  * Dev: bootstrap: enable configuring qdevice on interactive mode 
(jsc#ECO-3567)  
+
+-------------------------------------------------------------------
+Wed Mar 31 04:15:13 UTC 2021 - [email protected]
+
+- Update to version 4.3.0+20210315.5d07d43e:
+  * Fix: ui_resource: change return code and error to warning for some 
unharmful actions(bsc#1180332)
+  * Fix: bootstrap: raise warning when configuring diskless SBD with node's 
count less than 3(bsc#1181907)
+
+-------------------------------------------------------------------
+Mon Mar 08 01:22:13 UTC 2021 - [email protected]
+
+- Update to version 4.3.0+20210305.9db5c9a8:
+  * Fix: bootstrap: Adjust qdevice configure/remove process to avoid race 
condition due to quorum lost(bsc#1181415)
+  * Dev: cibconfig: remove related code about detecting crm_diff support 
--no-verion
+  * Fix: ui_configure: raise error when params not exist(bsc#1180126)
+  * Dev: doc: remove doc for crm node status
+  * Dev: ui_node: remove status subcommand
+
+-------------------------------------------------------------------
+Mon Feb 22 09:41:33 UTC 2021 - [email protected]
+
+- Update to version 4.3.0+20210219.5d1bf034:
+  * Fix: hb_report: walk through hb_report process under 
hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)
+  * Fix: bootstrap: setup authorized ssh access for hacluster(CVE-2020-35459, 
bsc#1179999; CVE-2021-3020, bsc#1180571)
+  * Dev: analyze: Add analyze sublevel and put preflight_check in 
it(jsc#ECO-1658)
+  * Dev: utils: change default file mod as 644 for str2file function
+  * Dev: hb_report: Detect if any ocfs2 partitions exist
+  * Dev: lock: give more specific error message when raise ClaimLockError
+  * Fix: Replace mktemp() to mkstemp() for security
+  * Fix: Remove the duplicate --cov-report html in tox.
+  * Fix: fix some lint issues.
+  * Fix: Replace utils.msg_info to task.info
+  * Fix: Solve a circular import error of utils.py
+  * Fix: hb_report: run lsof with specific ocfs2 device(bsc#1180688)
+  * Dev: corosync: change the permission of corosync.conf to 644
+  * Fix: preflight_check: task: raise error when report_path isn't a directory
+  * Fix: bootstrap: Use class Watchdog to simplify watchdog 
config(bsc#1154927, bsc#1178869)
+  * Dev: Polish the sbd feature.
+  * Dev: Replace -f with -c and run check when no parameter provide.
+  * Fix: Fix the yes option not working
+  * Fix: Remove useless import and show help when no input.
+  * Dev: Correct SBD device id inconsistenc during ASR
+  * Fix: completers: return complete start/stop resource id list 
correctly(bsc#1180137)
+  * Dev: Makefile.am: change makefile to integrate preflight_check
+  * Medium: integrate preflight_check into crmsh(jsc#ECO-1658)
+  * Fix: bootstrap: make sure sbd device UUID was the same between 
nodes(bsc#1178454)
+
+-------------------------------------------------------------------
+Wed Jan 13 16:00:00 UTC 2021 - [email protected]
+
+- Update to version 4.2.0+git.1609987436.0d3a9bf5:
+  * Fix: utils: skip if no netmask in the result of ip -o addr 
show(bsc#1180421)
+  * Fix: bootstrap: add /etc/modules-load.d/watchdog.conf into 
csync.cfg(bsc#1180424)
+  * Low: bootstrap: make invoke return specific error(bsc#1177023)
+  * Fix: bootstrap: Refactor join_lock.py for more generic using 
purpose(bsc#1180149)
+  * Dev: bootstrap: use ping to test host is reachable before joining
+  * Low: bootstrap: check cluster was running on init node
+
+-------------------------------------------------------------------
+Fri Dec 18 05:23:37 UTC 2020 - XinLiang <[email protected]>
+
+- Use Path.mkdir instead of mkdir command(bsc#1179999); Add patch:
+  * 0001-Fix-history-use-Path.mkdir-instead-of-mkdir-command-.patch 
+
+-------------------------------------------------------------------
+Fri Dec 04 09:50:30 UTC 2020 - [email protected]
+
+- Update to version 4.2.0+git.1607075079.a25648d8:
+  * Fix: bootstrap: use class JoinLock to manage lock in parallel 
join(bsc#1175976)
+  * Fix: utils: improve disable_service and enable_service 
function(bsc#1178701)
+  * Fix: bootstrap: disable corosync-qdevice if not configured(bsc#1178701)
+  * Dev: hb_report: change the default dest data format, more readable
+  * Low: bootstrap: should include /etc/sysconfig/nfs into 
csync2.cfg(bsc#1178373)
+  * Low: bootstrap: minor change for _get_sbd_device_interactive 
function(bsc#1178333)
+
+-------------------------------------------------------------------
+Mon Nov 02 01:01:38 UTC 2020 - [email protected]
+
+- Update to version 4.2.0+git.1604052559.2a348644:
+  * Fix: hb_report: collect corosync.log if it defined in config 
file(bsc#1148874)
+  * Fix: ui_cluster: check service status while start/stop(bsc#1177980)
+  * Dev: bootstrap: stop service which is active, not which is available
+  * Fix: bootstrap: Stop hawk service when removing node(bsc#1175708)
+  * Fix: cibverify: give warning if crm_verify return warning(bsc#1122391)
+  * Dev: doc: remove score related in doc for rsc_order configure
+  * Fix: parse: convert score to kind for rsc_order configure(bsc#1122391)
+  * Fix: bootstrap: remove specific configured address while removing 
node(bsc#1165644)
+
+-------------------------------------------------------------------
+Fri Oct 09 07:05:40 UTC 2020 - [email protected]
+
+- Update to version 4.2.0+git.1602225426.5f84efb5:
+  * Fix: hb_report: fix sanitize functionality(bsc#1163581)
+
+-------------------------------------------------------------------
+Fri Sep 25 09:07:54 UTC 2020 - [email protected]
+
+- Update to version 4.2.0+git.1600915005.e8089225:
+  * FIx start_delay with start-delay(bsc#1176569)
+  * fix on_fail should be on-fail(bsc#1176569)
+  * Low: config: Try to handle configparser.MissingSectionHeaderError while 
reading config file
+  * Medium: ui_configure: Obscure sensitive data by default(bsc#1163581)
+
+-------------------------------------------------------------------
+Fri Sep 11 08:35:49 UTC 2020 - [email protected]
+
+- Update to version 4.2.0+git.1599810948.3db12a7a:
+  * Fix: hb_report: collect archived logs(bsc#1148873, bsc#1176441)
+
+-------------------------------------------------------------------
+Thu Sep 10 02:30:31 UTC 2020 - [email protected]
+
+- Update to version 4.2.0+git.1599702667.157fc6b5:
+  * Low: bootstrap: check whether sbd package installed
+  * Low: bootstrap: Improve qdevice configure process * More reasonable naming 
for variables * More function docstrings * Move function to more reasonable 
location * Create functions to integrate similar functions inside one * Change 
big function to small one, more easier for unit test, like: * Refactor 
functions * Create utils.cluster_run_cmd function to avoid using crm cluster 
run directly in code(jsc#ECO-1745)
+  * Low: bootstrap: swap keys with other nodes when join_ssh(bsc#1176178)
+
+-------------------------------------------------------------------
+Tue Aug 25 06:20:17 UTC 2020 - [email protected]
+
+- Update to version 4.2.0+git.1598257562.570eb99d:
+  * Fix: bootstrap: revert ssh_merge function for compatibility(bsc#1175057)
+  * Fix: bootstrap: adjust sbd config process to fix bug on sbd 
stage(bsc#1175057)
+
+-------------------------------------------------------------------
+Tue Jul 28 12:54:37 UTC 2020 - [email protected]
+
+- Update to version 4.2.0+git.1595940615.c452cc00:
+  * Low: corosync: handle the return code of corosync-quorumtool 
correctly(bsc#1174588)
+
++++ 2469 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Leap:15.2:Update/.crmsh.16990.new.1899/crmsh.changes

New:
----
  _service
  _servicedata
  crmsh-4.3.1+20210827.4fb174c4.tar.bz2
  crmsh.changes
  crmsh.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ crmsh.spec ++++++
#
# spec file for package crmsh
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%bcond_with regression_tests

%global gname haclient
%global uname hacluster
%global crmsh_docdir %{_defaultdocdir}/%{name}

%global upstream_version tip
%global upstream_prefix crmsh
%global crmsh_release 1

%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 
0%{?rhel} || 0%{?fedora}
%define pkg_group System Environment/Daemons
%else
%define pkg_group Productivity/Clustering/HA
%endif

Name:           crmsh
Summary:        High Availability cluster command-line interface
License:        GPL-2.0-or-later
Group:          %{pkg_group}
Version:        4.3.1+20210827.4fb174c4
Release:        0
Url:            http://crmsh.github.io
Source0:        %{name}-%{version}.tar.bz2

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
# Requiring pacemaker makes crmsh harder to build on other distributions,
# and is mostly a convenience feature. So only do it for SUSE.
Requires(pre):  pacemaker
%endif
Requires:       %{name}-scripts >= %{version}-%{release}
Requires:       /usr/bin/which
Requires:       python3 >= 3.4
Requires:       python3-lxml
Requires:       python3-parallax
Requires:       python3-python-dateutil
BuildRequires:  python3-lxml
BuildRequires:  python3-setuptools
Obsoletes:      python3-cluster-preflight-check

%if 0%{?suse_version}
# only require csync2 on SUSE since bootstrap
# only works for SUSE at the moment anyway
Requires:       csync2
%endif

%if 0%{?suse_version}
Requires:       python3-PyYAML
# Suse splits this off into a separate package
Requires:       python3-curses
BuildRequires:  fdupes
BuildRequires:  python3-curses
%endif

%if 0%{?fedora_version}
Requires:       PyYAML
%endif

# Required for core functionality
BuildRequires:  asciidoc
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  pkgconfig
BuildRequires:  python3

%if 0%{?suse_version} > 1210
# xsltproc is necessary for manpage generation; this is split out into
# libxslt-tools as of openSUSE 12.2.  Possibly strictly should be
# required by asciidoc
BuildRequires:  libxslt-tools
%endif

%if 0%{?suse_version} > 1110 || 0%{?fedora_version} || 0%{?centos_version} || 
0%{?rhel_version} || 0%{?rhel} || 0%{?fedora}
BuildArch:      noarch
%endif

%description
The crm shell is a command-line interface for High-Availability
cluster management on GNU/Linux systems. It simplifies the
configuration, management and troubleshooting of Pacemaker-based
clusters, by providing a powerful and intuitive set of features.

%package test
Summary:        Test package for crmsh
Group:          %{pkg_group}
Requires:       crmsh
%if %{with regression_tests}
Requires(post):  mailx
Requires(post):  procps
Requires(post):  python3-python-dateutil
Requires(post):  python3-tox
Requires(post):  python3-parallax
Requires(post):  pacemaker
%if 0%{?suse_version} > 1110
BuildArch:      noarch
%endif
%if 0%{?suse_version}
Requires(post):  libglue-devel
%else
Requires(post):  cluster-glue-libs-devel
%endif
%if 0%{?fedora_version}
Requires(post):  PyYAML
%else
Requires(post):  python3-PyYAML
%endif
%endif

%description test
The crm shell is a command-line interface for High-Availability
cluster management on GNU/Linux systems. It simplifies the
configuration, management and troubleshooting of Pacemaker-based
clusters, by providing a powerful and intuitive set of features.
This package contains the regression test suite for crmsh.

%package scripts
Summary:        Crm Shell Cluster Scripts
Group:          Productivity/Clustering/HA

%description scripts
Cluster scripts for crmsh. The cluster scripts can be run
directly from the crm command line, or used by user interfaces
like hawk to implement configuration wizards.

%prep
%setup -q

# replace the shebang in all the scripts
# with ${_bindir}/python3
find . -type f -exec perl -pi -e 'BEGIN{undef 
$/};s[^#\!/usr/bin/python[3]?][#\!%{_bindir}/python3]' {} \;
find . -type f -exec perl -pi -e 'BEGIN{undef $/};s[^#\!/usr/bin/env 
python[3]?][#\!%{_bindir}/python3]' {} \;

%build
./autogen.sh

%{configure}            \
    --sysconfdir=%{_sysconfdir} \
    --localstatedir=%{_var}             \
    --with-version=%{version}    \
    --docdir=%{crmsh_docdir}

make %{_smp_mflags} VERSION="%{version}" sysconfdir=%{_sysconfdir} 
localstatedir=%{_var}

%if %{with regression_tests}
tox
if [ ! $? ]; then
    echo "Unit tests failed."
    exit 1
fi
%endif

%install
make DESTDIR=%{buildroot} docdir=%{crmsh_docdir} install
install -Dm0644 contrib/bash_completion.sh 
%{buildroot}%{_datadir}/bash-completion/completions/crm
if [ -f %{buildroot}%{_bindir}/crm ]; then
        install -Dm0755 %{buildroot}%{_bindir}/crm %{buildroot}%{_sbindir}/crm
        rm %{buildroot}%{_bindir}/crm
fi
%if 0%{?suse_version}
%fdupes %{buildroot}
%endif

%if %{with regression_tests}
# Run regression tests after installing the package
# NB: this is called twice by OBS, that's why we touch the file
%post test
testfile=`mktemp -t .crmsh_regression_tests_ran_XXXXXX`
# check if time in file is less than 2 minutes ago
if [ -e $testfile ] && [ "$(( $(date +%s) - $(cat $testfile) ))" -lt 120 ]; then
        echo "Skipping regression tests..."
        exit 0
fi
# write current time to file
rm -f "$testfile"
echo "$(date +%s)" > "$testfile"
%{_datadir}/%{name}/tests/regression.sh
result1=$?
cd %{_datadir}/%{name}/tests
./cib-tests.sh
result2=$?
[ $result1 -ne 0 ] && (echo "Regression tests failed."; cat 
${buildroot}/crmtestout/regression.out)
[ $result2 -ne 0 ] && echo "CIB tests failed."
[ $result1 -eq 0 -a $result2 -eq 0 ]
%endif

%files
###########################################################
%defattr(-,root,root)

%{_sbindir}/crm
%{python3_sitelib}/crmsh*

%{_datadir}/%{name}
%exclude %{_datadir}/%{name}/tests
%exclude %{_datadir}/%{name}/scripts

%doc %{_mandir}/man8/*
%{crmsh_docdir}/COPYING
%{crmsh_docdir}/AUTHORS
%{crmsh_docdir}/crm.8.html
%{crmsh_docdir}/crmsh_hb_report.8.html
%{crmsh_docdir}/ChangeLog
%{crmsh_docdir}/README.md
%{crmsh_docdir}/contrib/*

%config %{_sysconfdir}/crm

%dir %{crmsh_docdir}
%dir %{crmsh_docdir}/contrib
%dir %attr (770, %{uname}, %{gname}) %{_var}/cache/crm
%{_datadir}/bash-completion/completions/crm

%files scripts
%defattr(-,root,root)
%{_datadir}/%{name}/scripts

%files test
%defattr(-,root,root)
%{_datadir}/%{name}/tests

%changelog
++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="url">https://github.com/ClusterLabs/crmsh.git</param>
    <param name="scm">git</param>
    <param name="filename">crmsh</param>
    <param name="versionformat">4.3.1+%cd.%h</param>
    <param name="revision">4fb174c4</param>
    <param name="changesgenerate">enable</param>
  </service>

  <service name="recompress" mode="disabled">
    <param name="file">crmsh*.tar</param>
    <param name="compression">bz2</param>
  </service>

  <service name="set_version" mode="disabled">
    <param name="basename">crmsh</param>
  </service>
</services>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
            <param name="url">git://github.com/ClusterLabs/crmsh.git</param>
          <param 
name="changesrevision">b8bb14dbbc9d6a0b1e79d696e64246bec0a98357</param></service><service
 name="tar_scm">
                <param 
name="url">https://github.com/liangxin1300/crmsh.git</param>
              <param 
name="changesrevision">d8dc51b4cb34964aa72e918999ebc7f03b48f3c9</param></service><service
 name="tar_scm">
                <param 
name="url">https://github.com/ClusterLabs/crmsh.git</param>
              <param 
name="changesrevision">4fb174c412a95a1290d74a2ca7b8f55bcca5bb06</param></service></servicedata>

Reply via email to