Auto sync2gitlab import of fence-virt-1.0.0-3.el8.src.rpm
This commit is contained in:
parent
a1ddcb55b9
commit
d58f6f72d2
36
bz2132010-fence_virt-add-note-reboot-action.patch
Normal file
36
bz2132010-fence_virt-add-note-reboot-action.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
diff --color -uNr a/client/options.c b/client/options.c
|
||||||
|
--- a/client/options.c 2022-10-05 15:57:12.661717853 +0200
|
||||||
|
+++ b/client/options.c 2022-10-05 15:56:44.854549898 +0200
|
||||||
|
@@ -729,9 +729,9 @@
|
||||||
|
|
||||||
|
if (!print_stdin) {
|
||||||
|
if (progname) {
|
||||||
|
- printf("usage: %s [args]\n", progname);
|
||||||
|
+ printf("usage: %s [args]\n\nNOTE: reboot-action does not power on nodes that are powered off.\n\n", progname);
|
||||||
|
} else {
|
||||||
|
- printf("usage: fence_virt [args]\n");
|
||||||
|
+ printf("usage: fence_virt [args]\n\nNOTE: reboot-action does not power on nodes that are powered off.\n\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -761,7 +761,8 @@
|
||||||
|
printf("<?xml version=\"1.0\" ?>\n");
|
||||||
|
printf("<resource-agent name=\"%s\" shortdesc=\"Fence agent for virtual machines\">\n", basename(progname));
|
||||||
|
printf("<longdesc>%s is an I/O Fencing agent which can be used with "
|
||||||
|
- "virtual machines.</longdesc>\n", basename(progname));
|
||||||
|
+ "virtual machines.\n\nNOTE: reboot-action does not power on nodes that are powered off."
|
||||||
|
+ "</longdesc>\n", basename(progname));
|
||||||
|
printf("<parameters>\n");
|
||||||
|
|
||||||
|
for (x = 0; x < strlen(optstr); x++) {
|
||||||
|
diff --color -uNr a/man/fence_virt.8 b/man/fence_virt.8
|
||||||
|
--- a/man/fence_virt.8 2019-11-14 16:29:26.000000000 +0100
|
||||||
|
+++ b/man/fence_virt.8 2022-10-05 16:01:44.001358622 +0200
|
||||||
|
@@ -15,6 +15,7 @@
|
||||||
|
For compatibility, fence_xvm may talk to fence_xvmd from linux-cluster
|
||||||
|
release 2 or later.
|
||||||
|
|
||||||
|
+NOTE: reboot-action does not power on nodes that are powered off.
|
||||||
|
.P
|
||||||
|
fence_virt and fence_xvm accept options on the command line as well
|
||||||
|
as from stdin. The fencing daemon sends parameters through stdin
|
@ -13,12 +13,13 @@
|
|||||||
Name: fence-virt
|
Name: fence-virt
|
||||||
Summary: A pluggable fencing framework for virtual machines
|
Summary: A pluggable fencing framework for virtual machines
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 2%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
Release: 3%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: https://github.com/ClusterLabs/fence-virt
|
URL: https://github.com/ClusterLabs/fence-virt
|
||||||
Source0: %{name}-%{version}%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}.tar.bz2
|
Source0: %{name}-%{version}%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}.tar.bz2
|
||||||
Patch0: bz1927171-fence_xvm-fix-typo.patch
|
Patch0: bz1927171-fence_xvm-fix-typo.patch
|
||||||
|
Patch1: bz2132010-fence_virt-add-note-reboot-action.patch
|
||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
ExclusiveArch: i686 x86_64
|
ExclusiveArch: i686 x86_64
|
||||||
@ -47,7 +48,9 @@ Requires(postun): systemd-units
|
|||||||
Conflicts: fence-agents < 3.0.5-2
|
Conflicts: fence-agents < 3.0.5-2
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%setup -q -n %{name}-%{version}%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -176,6 +179,11 @@ are located on corosync cluster nodes.
|
|||||||
%{_libdir}/%{name}/cpg.so
|
%{_libdir}/%{name}/cpg.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 5 2022 Oyvind Albrigtsen <oalbrigt@redhat.com> - 1.0.0-3
|
||||||
|
- fence_virt: add note that reboot-action doesnt power on nodes that
|
||||||
|
are powered off
|
||||||
|
Resolves: rhbz#2132010
|
||||||
|
|
||||||
* Fri Oct 15 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 1.0.0-2
|
* Fri Oct 15 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 1.0.0-2
|
||||||
- fence_xvm: fix typo
|
- fence_xvm: fix typo
|
||||||
Resolves: rhbz#1927171
|
Resolves: rhbz#1927171
|
||||||
|
Loading…
Reference in New Issue
Block a user