Accepting request 732101 from network:ha-clustering:Factory

OBS-URL: https://build.opensuse.org/request/show/732101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/drbd-utils?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2019-09-23 10:37:47 +00:00 committed by Git OBS Bridge
commit f657c66910
3 changed files with 25 additions and 5 deletions

View File

@ -0,0 +1,12 @@
diff -Naur drbd-utils-9.6.0.orig/scripts/crm-fence-peer.9.sh drbd-utils-9.6.0/scripts/crm-fence-peer.9.sh
--- drbd-utils-9.6.0.orig/scripts/crm-fence-peer.9.sh 2019-09-03 14:13:56.861585246 +0800
+++ drbd-utils-9.6.0/scripts/crm-fence-peer.9.sh 2019-09-03 14:17:42.478881632 +0800
@@ -146,7 +146,7 @@
break
;;
- 205) : "205 aka pcmk_err_old_data ==> going to retry in a bit"
+ 103) : "103 CRM_EX_OLD, aka 205 pcmk_err_old_data in cib_apply_diff ==> going to retry in a bit"
(( $SECONDS >= $timeout )) && break
sleep 1
continue

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 20 06:18:33 UTC 2019 - nick wang <nwang@suse.com>
- bsc#1145296, fix the wrong return code with cib_apply_diff
Add patch cibadmin-return-code-convert.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 6 08:57:04 UTC 2019 - nwang@suse.com Mon Sep 6 08:57:04 UTC 2019 - nwang@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package drbd-utils # spec file for package drbd-utils
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -25,7 +25,7 @@ Name: drbd-utils
Version: 9.10.0 Version: 9.10.0
Release: 0 Release: 0
Summary: Distributed Replicated Block Device Summary: Distributed Replicated Block Device
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Productivity/Clustering/HA Group: Productivity/Clustering/HA
Url: http://www.drbd.org/ Url: http://www.drbd.org/
Source: http://www.linbit.com/downloads/drbd/utils/%{name}-%{version}.tar.gz Source: http://www.linbit.com/downloads/drbd/utils/%{name}-%{version}.tar.gz
@ -40,6 +40,7 @@ Patch5: move_fencing_from_disk_to_net_in_example.patch
# Bach port patch for kernel v5.2 # Bach port patch for kernel v5.2
Patch6: netlink-prepare-for-kernel-v5.2.patch Patch6: netlink-prepare-for-kernel-v5.2.patch
Patch7: netlink-Add-NLA_F_NESTED-flag-to-nested-attribute.patch Patch7: netlink-Add-NLA_F_NESTED-flag-to-nested-attribute.patch
Patch8: cibadmin-return-code-convert.patch
Provides: drbd-bash-completion = %{version} Provides: drbd-bash-completion = %{version}
Provides: drbd-pacemaker = %{version} Provides: drbd-pacemaker = %{version}
@ -66,8 +67,8 @@ BuildRequires: glibc-devel
BuildRequires: libxslt BuildRequires: libxslt
BuildRequires: make BuildRequires: make
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(systemd)
BuildRequires: udev BuildRequires: udev
BuildRequires: pkgconfig(systemd)
%if %{with drbdmon} %if %{with drbdmon}
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%endif %endif
@ -92,6 +93,7 @@ raid 1. It is a building block for setting up clusters.
%patch5 -p1 %patch5 -p1
%patch6 -p1 %patch6 -p1
%patch7 -p1 %patch7 -p1
%patch8 -p1
%build %build
export WANT_DRBD_REPRODUCIBLE_BUILD=1 export WANT_DRBD_REPRODUCIBLE_BUILD=1