|
|
256ebe |
From 70842c77735a655a053ed4a7cb77fec01028355a Mon Sep 17 00:00:00 2001
|
|
|
256ebe |
From: Sunil Kumar Acharya <sheggodu@redhat.com>
|
|
|
256ebe |
Date: Mon, 22 Apr 2019 12:48:13 +0530
|
|
|
256ebe |
Subject: [PATCH 117/124] spec: Remove thin-arbiter package
|
|
|
256ebe |
|
|
|
256ebe |
Thin-arbiter is not supported in downstream. Updated the
|
|
|
256ebe |
code to avoid RPMdiff warnings. Marked thin-arbiter
|
|
|
256ebe |
test cases as bad to avoid nightly runs from reporting
|
|
|
256ebe |
expected failures.
|
|
|
256ebe |
|
|
|
256ebe |
Label: DOWNSTREAM ONLY
|
|
|
256ebe |
|
|
|
256ebe |
BUG: 1698436
|
|
|
256ebe |
Change-Id: Ic36bccdfe1c7039fb7e5ce078a8b64cf71056970
|
|
|
256ebe |
Signed-off-by: Sunil Kumar Acharya <sheggodu@redhat.com>
|
|
|
256ebe |
Reviewed-on: https://code.engineering.redhat.com/gerrit/168406
|
|
|
256ebe |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
256ebe |
---
|
|
|
256ebe |
configure.ac | 2 --
|
|
|
256ebe |
extras/systemd/Makefile.am | 6 ++---
|
|
|
256ebe |
glusterfs.spec.in | 39 +++++----------------------------
|
|
|
256ebe |
tests/basic/afr/ta-check-locks.t | 2 ++
|
|
|
256ebe |
tests/basic/afr/ta-read.t | 2 ++
|
|
|
256ebe |
tests/basic/afr/ta-shd.t | 2 ++
|
|
|
256ebe |
tests/basic/afr/ta-write-on-bad-brick.t | 2 ++
|
|
|
256ebe |
xlators/features/Makefile.am | 2 +-
|
|
|
256ebe |
8 files changed, 18 insertions(+), 39 deletions(-)
|
|
|
256ebe |
|
|
|
256ebe |
diff --git a/configure.ac b/configure.ac
|
|
|
256ebe |
index 521671b..3065077 100644
|
|
|
256ebe |
--- a/configure.ac
|
|
|
256ebe |
+++ b/configure.ac
|
|
|
256ebe |
@@ -116,8 +116,6 @@ AC_CONFIG_FILES([Makefile
|
|
|
256ebe |
xlators/features/Makefile
|
|
|
256ebe |
xlators/features/arbiter/Makefile
|
|
|
256ebe |
xlators/features/arbiter/src/Makefile
|
|
|
256ebe |
- xlators/features/thin-arbiter/Makefile
|
|
|
256ebe |
- xlators/features/thin-arbiter/src/Makefile
|
|
|
256ebe |
xlators/features/changelog/Makefile
|
|
|
256ebe |
xlators/features/changelog/src/Makefile
|
|
|
256ebe |
xlators/features/changelog/lib/Makefile
|
|
|
256ebe |
diff --git a/extras/systemd/Makefile.am b/extras/systemd/Makefile.am
|
|
|
256ebe |
index 61446a9..b849775 100644
|
|
|
256ebe |
--- a/extras/systemd/Makefile.am
|
|
|
256ebe |
+++ b/extras/systemd/Makefile.am
|
|
|
256ebe |
@@ -1,8 +1,8 @@
|
|
|
256ebe |
-CLEANFILES = glusterd.service glustereventsd.service glusterfssharedstorage.service gluster-ta-volume.service
|
|
|
256ebe |
-EXTRA_DIST = glusterd.service.in glustereventsd.service.in glusterfssharedstorage.service.in gluster-ta-volume.service.in
|
|
|
256ebe |
+CLEANFILES = glusterd.service glustereventsd.service glusterfssharedstorage.service
|
|
|
256ebe |
+EXTRA_DIST = glusterd.service.in glustereventsd.service.in glusterfssharedstorage.service.in
|
|
|
256ebe |
|
|
|
256ebe |
if USE_SYSTEMD
|
|
|
256ebe |
-systemd_DATA = gluster-ta-volume.service
|
|
|
256ebe |
+systemd_DATA =
|
|
|
256ebe |
endif
|
|
|
256ebe |
|
|
|
256ebe |
if WITH_SERVER
|
|
|
256ebe |
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
|
|
|
256ebe |
index ba095b7..bf72a55 100644
|
|
|
256ebe |
--- a/glusterfs.spec.in
|
|
|
256ebe |
+++ b/glusterfs.spec.in
|
|
|
256ebe |
@@ -682,18 +682,6 @@ is in user space and easily manageable.
|
|
|
256ebe |
This package provides the glusterfs server daemon.
|
|
|
256ebe |
%endif
|
|
|
256ebe |
|
|
|
256ebe |
-%package thin-arbiter
|
|
|
256ebe |
-Summary: GlusterFS thin-arbiter module
|
|
|
256ebe |
-Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
256ebe |
-Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
|
|
256ebe |
-
|
|
|
256ebe |
-%description thin-arbiter
|
|
|
256ebe |
-This package provides a tie-breaker functionality to GlusterFS
|
|
|
256ebe |
-replicate volume. It includes translators required to provide the
|
|
|
256ebe |
-functionality, and also few other scripts required for getting the setup done.
|
|
|
256ebe |
-
|
|
|
256ebe |
-This package provides the glusterfs thin-arbiter translator.
|
|
|
256ebe |
-
|
|
|
256ebe |
%package client-xlators
|
|
|
256ebe |
Summary: GlusterFS client-side translators
|
|
|
256ebe |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
256ebe |
@@ -1045,14 +1033,6 @@ fi
|
|
|
256ebe |
exit 0
|
|
|
256ebe |
%endif
|
|
|
256ebe |
|
|
|
256ebe |
-%preun thin-arbiter
|
|
|
256ebe |
-if [ $1 -eq 0 ]; then
|
|
|
256ebe |
- if [ -f %glusterta_svcfile ]; then
|
|
|
256ebe |
- %service_stop gluster-ta-volume
|
|
|
256ebe |
- %systemd_preun gluster-ta-volume
|
|
|
256ebe |
- fi
|
|
|
256ebe |
-fi
|
|
|
256ebe |
-
|
|
|
256ebe |
##-----------------------------------------------------------------------------
|
|
|
256ebe |
## All %%postun should be placed here and keep them sorted
|
|
|
256ebe |
##
|
|
|
256ebe |
@@ -1188,6 +1168,12 @@ exit 0
|
|
|
256ebe |
%exclude %{_prefix}/lib/ocf/resource.d/heartbeat/*
|
|
|
256ebe |
%endif
|
|
|
256ebe |
|
|
|
256ebe |
+%exclude %{_datadir}/glusterfs/scripts/setup-thin-arbiter.sh
|
|
|
256ebe |
+
|
|
|
256ebe |
+%if ( 0%{?_without_server:1} )
|
|
|
256ebe |
+%exclude %{_sysconfdir}/glusterfs/thin-arbiter.vol
|
|
|
256ebe |
+%endif
|
|
|
256ebe |
+
|
|
|
256ebe |
%files api
|
|
|
256ebe |
%exclude %{_libdir}/*.so
|
|
|
256ebe |
# libgfapi files
|
|
|
256ebe |
@@ -1263,19 +1249,6 @@ exit 0
|
|
|
256ebe |
%{_bindir}/fusermount-glusterfs
|
|
|
256ebe |
%endif
|
|
|
256ebe |
|
|
|
256ebe |
-%files thin-arbiter
|
|
|
256ebe |
-%dir %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator
|
|
|
256ebe |
-%dir %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features
|
|
|
256ebe |
- %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/thin-arbiter.so
|
|
|
256ebe |
-%dir %{_datadir}/glusterfs/scripts
|
|
|
256ebe |
- %{_datadir}/glusterfs/scripts/setup-thin-arbiter.sh
|
|
|
256ebe |
-%config %{_sysconfdir}/glusterfs/thin-arbiter.vol
|
|
|
256ebe |
-
|
|
|
256ebe |
-%if ( 0%{?_with_systemd:1} )
|
|
|
256ebe |
-%{_unitdir}/gluster-ta-volume.service
|
|
|
256ebe |
-%endif
|
|
|
256ebe |
-
|
|
|
256ebe |
-
|
|
|
256ebe |
%if ( 0%{!?_without_georeplication:1} )
|
|
|
256ebe |
%files geo-replication
|
|
|
256ebe |
%config(noreplace) %{_sysconfdir}/logrotate.d/glusterfs-georep
|
|
|
256ebe |
diff --git a/tests/basic/afr/ta-check-locks.t b/tests/basic/afr/ta-check-locks.t
|
|
|
256ebe |
index c0102c3..c51aa39 100644
|
|
|
256ebe |
--- a/tests/basic/afr/ta-check-locks.t
|
|
|
256ebe |
+++ b/tests/basic/afr/ta-check-locks.t
|
|
|
256ebe |
@@ -66,3 +66,5 @@ TEST ta_start_brick_process brick0
|
|
|
256ebe |
EXPECT_WITHIN $HEAL_TIMEOUT "0" get_lock_count_on_ta
|
|
|
256ebe |
|
|
|
256ebe |
cleanup;
|
|
|
256ebe |
+#G_TESTDEF_TEST_STATUS_CENTOS6=BAD_TEST,BUG=0000000
|
|
|
256ebe |
+#G_TESTDEF_TEST_STATUS_NETBSD7=BAD_TEST,BUG=0000000
|
|
|
256ebe |
diff --git a/tests/basic/afr/ta-read.t b/tests/basic/afr/ta-read.t
|
|
|
256ebe |
index f2b3c38..1b36dba 100644
|
|
|
256ebe |
--- a/tests/basic/afr/ta-read.t
|
|
|
256ebe |
+++ b/tests/basic/afr/ta-read.t
|
|
|
256ebe |
@@ -58,3 +58,5 @@ TEST [ -z $TA_PID ]
|
|
|
256ebe |
# Read must now succeed.
|
|
|
256ebe |
TEST cat $M0/FILE
|
|
|
256ebe |
cleanup;
|
|
|
256ebe |
+#G_TESTDEF_TEST_STATUS_CENTOS6=BAD_TEST,BUG=0000000
|
|
|
256ebe |
+#G_TESTDEF_TEST_STATUS_NETBSD7=BAD_TEST,BUG=0000000
|
|
|
256ebe |
diff --git a/tests/basic/afr/ta-shd.t b/tests/basic/afr/ta-shd.t
|
|
|
256ebe |
index bb2e58b..4b1ea85 100644
|
|
|
256ebe |
--- a/tests/basic/afr/ta-shd.t
|
|
|
256ebe |
+++ b/tests/basic/afr/ta-shd.t
|
|
|
256ebe |
@@ -47,3 +47,5 @@ TEST ta_start_mount_process $M0
|
|
|
256ebe |
EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" ta_up_status $V0 $M0 0
|
|
|
256ebe |
EXPECT "Hello" cat $M0/a.txt
|
|
|
256ebe |
cleanup;
|
|
|
256ebe |
+#G_TESTDEF_TEST_STATUS_CENTOS6=BAD_TEST,BUG=0000000
|
|
|
256ebe |
+#G_TESTDEF_TEST_STATUS_NETBSD7=BAD_TEST,BUG=0000000
|
|
|
256ebe |
diff --git a/tests/basic/afr/ta-write-on-bad-brick.t b/tests/basic/afr/ta-write-on-bad-brick.t
|
|
|
256ebe |
index 18cb65b..77cbf5f 100644
|
|
|
256ebe |
--- a/tests/basic/afr/ta-write-on-bad-brick.t
|
|
|
256ebe |
+++ b/tests/basic/afr/ta-write-on-bad-brick.t
|
|
|
256ebe |
@@ -49,3 +49,5 @@ EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" afr_child_up_status_meta $M0 $V0-replicate
|
|
|
256ebe |
TEST dd if=/dev/zero of=$M0/a.txt bs=1M count=5
|
|
|
256ebe |
|
|
|
256ebe |
cleanup;
|
|
|
256ebe |
+#G_TESTDEF_TEST_STATUS_CENTOS6=BAD_TEST,BUG=0000000
|
|
|
256ebe |
+#G_TESTDEF_TEST_STATUS_NETBSD7=BAD_TEST,BUG=0000000
|
|
|
256ebe |
diff --git a/xlators/features/Makefile.am b/xlators/features/Makefile.am
|
|
|
256ebe |
index 545c02b..537c148 100644
|
|
|
256ebe |
--- a/xlators/features/Makefile.am
|
|
|
256ebe |
+++ b/xlators/features/Makefile.am
|
|
|
256ebe |
@@ -4,7 +4,7 @@ endif
|
|
|
256ebe |
|
|
|
256ebe |
SUBDIRS = locks quota read-only quiesce marker index barrier arbiter upcall \
|
|
|
256ebe |
compress changelog gfid-access snapview-client snapview-server trash \
|
|
|
256ebe |
- shard bit-rot leases selinux sdfs namespace $(CLOUDSYNC_DIR) thin-arbiter \
|
|
|
256ebe |
+ shard bit-rot leases selinux sdfs namespace $(CLOUDSYNC_DIR) \
|
|
|
256ebe |
utime changetimerecorder
|
|
|
256ebe |
|
|
|
256ebe |
CLEANFILES =
|
|
|
256ebe |
--
|
|
|
256ebe |
1.8.3.1
|
|
|
256ebe |
|