Auto sync2gitlab import of fence-virt-1.0.0-3.el8.src.rpm

This commit is contained in:
CentOS Sources 2022-10-06 08:15:30 +00:00
parent a1ddcb55b9
commit d58f6f72d2
2 changed files with 46 additions and 2 deletions

View 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

View File

@ -13,12 +13,13 @@
Name: fence-virt
Summary: A pluggable fencing framework for virtual machines
Version: 1.0.0
Release: 2%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
Release: 3%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
License: GPLv2+
Group: System Environment/Base
URL: https://github.com/ClusterLabs/fence-virt
Source0: %{name}-%{version}%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}.tar.bz2
Patch0: bz1927171-fence_xvm-fix-typo.patch
Patch1: bz2132010-fence_virt-add-note-reboot-action.patch
%if 0%{?rhel}
ExclusiveArch: i686 x86_64
@ -47,7 +48,9 @@ Requires(postun): systemd-units
Conflicts: fence-agents < 3.0.5-2
%prep
%autosetup -p1
%setup -q -n %{name}-%{version}%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
%patch0 -p1
%patch1 -p1
%build
./autogen.sh
@ -176,6 +179,11 @@ are located on corosync cluster nodes.
%{_libdir}/%{name}/cpg.so
%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
- fence_xvm: fix typo
Resolves: rhbz#1927171