Merge ~lucaskanashiro/ubuntu/+source/fence-agents:merge-experimental-mantic into ubuntu/+source/fence-agents:debian/experimental

Proposed by Lucas Kanashiro
Status: Merged
Merge reported by: Lucas Kanashiro
Merged at revision: 58af63146b894f7db447a106ab58c00c5d9e3152
Proposed branch: ~lucaskanashiro/ubuntu/+source/fence-agents:merge-experimental-mantic
Merge into: ubuntu/+source/fence-agents:debian/experimental
Diff against target: 471 lines (+321/-80)
3 files modified
debian/changelog (+202/-0)
debian/control (+112/-79)
debian/tests/delay (+7/-1)
Reviewer Review Type Date Requested Status
Athos Ribeiro (community) Approve
Canonical Server Reporter Pending
Review via email: mp+446229@code.launchpad.net

Description of the change

Merge version 4.12.1-2~exp1 from Debian experimental. This version contains the split of the agents, now each one can be separately installed by its own binary package. The delta was considerably reduced.

PPA with the proposed package:

https://launchpad.net/~lucaskanashiro/+archive/ubuntu/ha-stack/+packages

autopkgtest summary:

* Results:
  - fence-agents/4.12.1-2~exp1ubuntu1~ppa2
    + ✅ fence-agents on mantic for amd64 @ 06.07.23 22:22:13 Log️ 🗒️
    + ✅ fence-agents on mantic for arm64 @ 06.07.23 22:35:36 Log️ 🗒️
    + ✅ fence-agents on mantic for armhf @ 06.07.23 22:15:40 Log️ 🗒️
    + ✅ fence-agents on mantic for ppc64el @ 06.07.23 22:09:24 Log️ 🗒️
    + ✅ fence-agents on mantic for s390x @ 06.07.23 22:38:35 Log️ 🗒️

To post a comment you must log in.
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Thanks Lucas, I am reviewing this one :)

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Nice work, Lucas!

The extra package description was updated to say that

+ This package is a metapackage depending on all available fence agents which
+ are not curated by the Ubuntu Server team.

I suppose the base package should also contain a similar description?

Also, are there any plans to drop these transitional packages now that we have one package per agent?

Finally, where does the definition of a "curated" agent lies?

As a user, it would be nice to understand what is special about the curated agents. Maybe the package descriptions should also include such definitions (or point to it).

review: Needs Information
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Thanks for the review Athos!

The -base package also contains a similar statement:

"This package contains the Fence Agents that are curated by the Ubuntu
 Server team."

I did not think about the removal of the transitional package yet, but I think we should do it at some point before the next LTS release, since we already released Jammy with this transitional package.

The difference of the curated agents is described in the server guide:

https://ubuntu.com/server/docs/ubuntu-ha-pacemaker-fence-agents

But in short, a curated agent has automated tests in place and is supported in main because of that. Should we mention that in the package description?

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Thanks, Lucas!

> The -base package also contains a similar statement:

> "This package contains the Fence Agents that are curated by the Ubuntu
 Server team."

This is different from mentioning that the package is actually a metapackage which depends on all fence agents which are curated, as the -extra counterpart does. Should the -base package mention it as well?

> I did not think about the removal of the transitional package yet, but I think we should do it at some point before the next LTS release, since we already released Jammy with this transitional package.

ack, I think we can defer this discussion for after this merge then :)

> But in short, a curated agent has automated tests in place and is supported in main because of that. Should we mention that in the package description?

I believe it should, but I believe this can also be deferred to a discussion outside of the scope of this merge, WDYT?

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

I tried to improve the packages' description to cover your comments. WDYT?

Yeah, the other topics I think we can discuss later, after this merge.

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

LGTM

review: Approve
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Thanks Athos! Package uploaded:

Uploading fence-agents_4.12.1-2~exp1ubuntu1.dsc
Uploading fence-agents_4.12.1.orig.tar.gz
Uploading fence-agents_4.12.1-2~exp1ubuntu1.debian.tar.xz
Uploading fence-agents_4.12.1-2~exp1ubuntu1_source.buildinfo
Uploading fence-agents_4.12.1-2~exp1ubuntu1_source.changes

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index da902da..c3fb229 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,30 @@
6+fence-agents (4.12.1-2~exp1ubuntu1) mantic; urgency=medium
7+
8+ * Merge with Debian experimental (LP: #2018071). Remaining changes:
9+ - d/t/delay: Reduce minimum delay when running on ppc64el.
10+ - Create the fence-agents-base binary package.
11+ This is a metapackage to install all the agents curated by the
12+ Ubuntu Server team.
13+ - Rename fence-agents with non-curated agents to fence-agents-extra.
14+ This is a metapackage to install all the agents non-curated by the
15+ Ubuntu Server team.
16+ - Create a transitional binary package called fence-agents.
17+ It depends on both fence-agents-{base,extra}.
18+ * Dropped:
19+ - d/rules: install files in debian/fence-agents instead of debian/tmp.
20+ - Create the fence-agents-common binary package with files to be
21+ shared by agents.
22+ - Update the way agents description are added to the package
23+ description to support the split.
24+ - d/curated-agents: add set of curated agents to the -base package.
25+ They are: fence_scsi, fence_mpath, fence_sbd, fence_ipmilan and
26+ friends (fence_idrac, fence_ilo3, fence_ilo4, fence_ilo5, fence_imm,
27+ and fence_ipmilanplus).
28+ - d/control: suggest dependecies of agents in the -base package
29+ (LP #1863677).
30+
31+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Thu, 06 Jul 2023 17:56:39 -0300
32+
33 fence-agents (4.12.1-2~exp1) experimental; urgency=medium
34
35 [ Lucas Kanashiro ]
36@@ -48,6 +75,36 @@ fence-agents (4.12.1-2~exp1) experimental; urgency=medium
37
38 -- Valentin Vidic <vvidic@debian.org> Sun, 02 Jul 2023 16:46:59 +0200
39
40+fence-agents (4.12.1-1ubuntu1) lunar; urgency=medium
41+
42+ * Merge with Debian unstable (LP: #1993400). Remaining changes:
43+ - d/t/delay: Reduce minimum delay when running on ppc64el.
44+ - d/rules: install files in debian/fence-agents instead of debian/tmp.
45+ - Create the fence-agents-common binary package with files to be
46+ shared by agents.
47+ - Create the fence-agents-base binary package.
48+ To add a new curated agent it should be added to debian/curated-agents
49+ file in a new line.
50+ - Update the way agents description are added to the package
51+ description to support the split.
52+ - Rename fence-agents with non-curated agents to fence-agents-extra.
53+ Also fix installation of fence-virt{,d} binary packages.
54+ - Create a transitional binary package called fence-agents.
55+ It depends on both fence-agents-{base,extra}.
56+ - d/curated-agents: add set of curated agents to the -base package.
57+ They are: fence_scsi, fence_mpath, fence_sbd, fence_ipmilan and
58+ friends (fence_idrac, fence_ilo3, fence_ilo4, fence_ilo5, fence_imm,
59+ and fence_ipmilanplus).
60+ - d/control: suggest dependecies of agents in the -base package
61+ (LP #1863677).
62+ * Dropped:
63+ - d/rules: disable -Wstringop-truncation in s390x to fix a FTBFS.
64+ [applied by Debian version 4.12.0-1]
65+ - d/rules: do not install /var/run directory anymore.
66+ [Not needed anymore]
67+
68+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Mon, 30 Jan 2023 17:31:30 -0300
69+
70 fence-agents (4.12.1-1) unstable; urgency=medium
71
72 * New upstream version 4.12.1 (Closes: #1029768)
73@@ -72,6 +129,46 @@ fence-agents (4.12.0-1) unstable; urgency=medium
74
75 -- Valentin Vidic <vvidic@debian.org> Sat, 14 Jan 2023 15:44:02 +0100
76
77+fence-agents (4.11.0-1ubuntu2) kinetic; urgency=medium
78+
79+ * d/rules: disable -Wstringop-truncation in s390x to fix a FTBFS.
80+
81+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Mon, 15 Aug 2022 17:31:50 -0300
82+
83+fence-agents (4.11.0-1ubuntu1) kinetic; urgency=medium
84+
85+ * Merge with Debian unstable (LP: #1971275). Remaining changes:
86+ - d/t/delay: Reduce minimum delay when running on ppc64el.
87+ - d/rules: install files in debian/fence-agents instead of debian/tmp.
88+ - Create the fence-agents-common binary package with files to be
89+ shared by agents.
90+ - Create the fence-agents-base binary package.
91+ To add a new curated agent it should be added to debian/curated-agents
92+ file in a new line.
93+ - Update the way agents description are added to the package
94+ description to support the split.
95+ - Rename fence-agents with non-curated agents to fence-agents-extra.
96+ - Create a transitional binary package called fence-agents.
97+ It depends on both fence-agents-{base,extra}.
98+ - d/control: Add missing Breaks/Replaces to the fence-agents-base.
99+ - d/curated-agents: add fence_scsi to the -base package.
100+ - d/curated-agents: add fence_mpath to the -base package.
101+ - d/rules: do not install /var/run directory anymore.
102+ This was causing a lintian error because of the /var/run/cluster
103+ directory created by the upstream build system. The needed files in
104+ /var/run should be created by the agents during runtime.
105+ - d/curated-agents: add fence_ipmilan and fence_sbd to the -base
106+ package (LP #1965312).
107+ Also add the following agents which are symlinks to fence_ipmilan:
108+ fence_idrac, fence_ilo3, fence_ilo4, fence_ilo5, fence_imm, and
109+ fence_ipmilanplus.
110+ - d/control: suggest dependecies of agents in the -base package
111+ (LP #1863677).
112+ * Added:
113+ - Fix installation of fence-virt{,d} binary packages.
114+
115+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Fri, 05 Aug 2022 14:48:47 -0300
116+
117 fence-agents (4.11.0-1) unstable; urgency=medium
118
119 * New upstream version 4.11.0
120@@ -87,6 +184,111 @@ fence-agents (4.11.0-1) unstable; urgency=medium
121
122 -- Valentin Vidic <vvidic@debian.org> Sun, 01 May 2022 17:51:59 +0200
123
124+fence-agents (4.7.1-1ubuntu8) jammy; urgency=medium
125+
126+ * d/curated-agents: add fence_ipmilan and fence_sbd to the -base package.
127+ Also add the following agents which are symlinks to fence_ipmilan:
128+ fence_idrac, fence_ilo3, fence_ilo4, fence_ilo5, fence_imm, and
129+ fence_ipmilanplus (LP: #1965312).
130+ * d/control: suggest dependecies of agents in the -base package (LP: #1863677)
131+
132+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Thu, 17 Mar 2022 11:43:13 -0300
133+
134+fence-agents (4.7.1-1ubuntu7) impish; urgency=medium
135+
136+ * d/rules: do not install /var/run directory anymore.
137+ This was causing a lintian error because of the /var/run/cluster
138+ directory created by the upstream build system. The needed files in
139+ /var/run should be created by the agents during runtime.
140+
141+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Tue, 28 Sep 2021 09:16:11 -0300
142+
143+fence-agents (4.7.1-1ubuntu6) impish; urgency=medium
144+
145+ * d/curated-agents: add fence_mpath to the -base package (LP: #1942368).
146+
147+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Tue, 20 Jul 2021 10:53:33 -0300
148+
149+fence-agents (4.7.1-1ubuntu5) impish; urgency=medium
150+
151+ * d/curated-agents: add fence_scsi to the -base package.
152+
153+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Wed, 30 Jun 2021 16:54:03 -0300
154+
155+fence-agents (4.7.1-1ubuntu4) impish; urgency=medium
156+
157+ * Rename fence-agents with non-curated agents to fence-agents-extra.
158+ - d/control: rename the fence-agents binary package to fence-agents-extra.
159+ - d/extract-agents-description:
160+ + Rename the package name used in the substvars filename.
161+ + Rename all the occurrences of the 'unsupported' term to 'non-curated'.
162+ - d/move-supported-agents: update the binary package name in the path used
163+ to move files.
164+ - d/rules:
165+ + Rename FENCE_AGENTS_DIR to FENCE_AGENTS_EXTRA_DIR with the appropriate
166+ path.
167+ + Edit comments to avoid the term 'supported'.
168+ * Rename fence-agent-supported with curated agents to fence-agents-base.
169+ - d/control:
170+ + Rename fence-agents-supported binary package to fence-agents-base.
171+ + Update the short and long description to not use the 'supported' term.
172+ + Rename the supportedAgents substvar to curatedAgents.
173+ - d/curated-agents: new file, this is the renamed d/supported-agents file.
174+ - d/extract-agents-description:
175+ + Rename the package name used in the substvars filename.
176+ + Rename all the occurrences of the 'supported' term to 'curated'.
177+ - d/move-curated-agents: new file, this is the renamed
178+ d/move-supported-agents script.
179+ - d/rules:
180+ + Call d/move-curated-agents instead of d/move-supported-agents.
181+ + Edit comments to avoid the term 'supported'.
182+ * Create a transitional binary package called fence-agents.
183+ - d/control: add a new section for the transitional package, adding
184+ fence-agents-{base,extra} as dependencies.
185+ * d/control: add a missing Breaks/Replaces relation to the fence-agents-base.
186+ * d/move-curated-agents: use readonly variables to store the binary
187+ packages' path.
188+
189+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Wed, 12 May 2021 15:44:43 -0300
190+
191+fence-agents (4.7.1-1ubuntu3) impish; urgency=medium
192+
193+ * d/control: make fence-agents recommend fence-agents-supported.
194+
195+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Mon, 03 May 2021 09:14:56 -0300
196+
197+fence-agents (4.7.1-1ubuntu2) impish; urgency=medium
198+
199+ * d/rules: install files in debian/fence-agents instead of debian/tmp.
200+ * d/install: removed, it is not needed.
201+ * Create the fence-agents-common binary package with files to be shared by
202+ the supported and unsupported agents.
203+ - d/control: add a new paragraph for the new binary package and move some
204+ runtime dependencies from fence-agents to fence-agents-common.
205+ - d/rules: move the common code to the new binary package.
206+ * Create the fence-agents-supported package
207+ - d/control: add a new paragraph for the new binary package.
208+ - d/move-supported-agents: added a shell script to manage the move of all
209+ supported agents to the right binary package.
210+ - d/rules: call the d/move-supported-agents shell script and also run the
211+ checks for the agents in the new binary package.
212+ - d/supported-agents: added a file with a list of the supported agents.
213+ * Update the way agent descriptions are added to the package description to
214+ support the split.
215+ - d/control: added a new variable to generate the list of supported agents
216+ during build time and fix the indentation.
217+ - d/extract-agents-description: added a shell script to generate a list of
218+ supported and unsupported agents with their description.
219+ - d/rules: call the d/extract-agents-description script in dh_gencontrol.
220+
221+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Mon, 12 Apr 2021 18:27:29 -0300
222+
223+fence-agents (4.7.1-1ubuntu1) hirsute; urgency=medium
224+
225+ * d/t/delay: Reduce minimum delay when running on ppc64el.
226+
227+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Fri, 26 Feb 2021 16:46:48 -0500
228+
229 fence-agents (4.7.1-1) unstable; urgency=medium
230
231 * New upstream version 4.7.1
232diff --git a/debian/control b/debian/control
233index 82bee8e..8efba80 100644
234--- a/debian/control
235+++ b/debian/control
236@@ -1,7 +1,8 @@
237 Source: fence-agents
238 Section: admin
239 Priority: optional
240-Maintainer: Debian HA Maintainers <debian-ha-maintainers@alioth-lists.debian.net>
241+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
242+XSBC-Original-Maintainer: Debian HA Maintainers <debian-ha-maintainers@alioth-lists.debian.net>
243 Uploaders: Adrian Vondendriesch <adrian.vondendriesch@credativ.de>,
244 Valentin Vidic <vvidic@debian.org>
245 Build-Depends: autoconf,
246@@ -42,85 +43,97 @@ Vcs-Git: https://salsa.debian.org/ha-team/fence-agents.git
247
248 Package: fence-agents
249 Architecture: all
250+Section: oldlibs
251 Depends: ${misc:Depends},
252-Recommends: fence-agents-ack-manual,
253- fence-agents-aliyun,
254- fence-agents-alom,
255- fence-agents-amt,
256- fence-agents-apc,
257- fence-agents-apc-snmp,
258- fence-agents-aws,
259- fence-agents-azure-arm,
260- fence-agents-bladecenter,
261- fence-agents-brocade,
262- fence-agents-cdu,
263- fence-agents-cisco-mds,
264- fence-agents-cisco-ucs,
265- fence-agents-compute,
266- fence-agents-crosslink,
267- fence-agents-cyberpower-ssh,
268- fence-agents-docker,
269- fence-agents-drac,
270- fence-agents-drac5,
271- fence-agents-dummy,
272- fence-agents-eaton-snmp,
273- fence-agents-ecloud,
274- fence-agents-emerson,
275- fence-agents-eps,
276- fence-agents-gce,
277- fence-agents-hds-cb,
278- fence-agents-heuristics-ping,
279- fence-agents-hpblade,
280- fence-agents-ibmblade,
281- fence-agents-ibm-powervs,
282- fence-agents-ibm-vpc,
283- fence-agents-ibmz,
284- fence-agents-ifmib,
285- fence-agents-ilo2,
286- fence-agents-ilo-moonshot,
287- fence-agents-ilo-mp,
288- fence-agents-ilo-ssh,
289- fence-agents-intelmodular,
290- fence-agents-ipdu,
291- fence-agents-ipmilan,
292- fence-agents-ironic,
293- fence-agents-kdump,
294- fence-agents-kubevirt,
295- fence-agents-ldom,
296- fence-agents-lindy-pdu,
297- fence-agents-lpar,
298- fence-agents-mpath,
299- fence-agents-netio,
300- fence-agents-openstack,
301- fence-agents-ovh,
302- fence-agents-powerman,
303- fence-agents-pve,
304- fence-agents-raritan,
305- fence-agents-raritan-px3,
306- fence-agents-rcd-serial,
307- fence-agents-redfish,
308- fence-agents-rhevm,
309- fence-agents-rsa,
310- fence-agents-rsb,
311- fence-agents-sanbox2,
312- fence-agents-scsi,
313- fence-agents-skalar,
314- fence-agents-vbox,
315- fence-agents-virsh,
316- fence-agents-vmware,
317- fence-agents-vmware-rest,
318- fence-agents-vmware-soap,
319- fence-agents-vmware-vcloud,
320- fence-agents-wti,
321- fence-agents-xenapi,
322- fence-virt,
323-Suggests: fence-agents-sbd
324-Description: Fence Agents for Red Hat Cluster - all agents
325- Red Hat Fence Agents is a collection of scripts to handle remote power
326- management for several devices. They allow failed or unreachable nodes to be
327- forcibly restarted and removed from the cluster.
328- .
329- This package is a metapackage depending on all available fence agents.
330+ fence-agents-base (>= ${source:Version}),
331+ fence-agents-extra (>= ${source:Version})
332+Description: Transitional package for the fence-agents
333+ Red Hat Fence Agents is a collection of scripts to handle remote
334+ power management for several devices. They allow failed or
335+ unreachable nodes to be forcibly restarted and removed from the
336+ cluster.
337+ .
338+ This is a transitional package which provides a set of curated
339+ (fence-agents-base) and non-curated (fence-agents-extra) agents.
340+
341+Package: fence-agents-extra
342+Architecture: all
343+Depends: ${misc:Depends},
344+ fence-agents-ack-manual,
345+ fence-agents-aliyun,
346+ fence-agents-alom,
347+ fence-agents-amt,
348+ fence-agents-apc,
349+ fence-agents-apc-snmp,
350+ fence-agents-aws,
351+ fence-agents-azure-arm,
352+ fence-agents-bladecenter,
353+ fence-agents-brocade,
354+ fence-agents-cdu,
355+ fence-agents-cisco-mds,
356+ fence-agents-cisco-ucs,
357+ fence-agents-compute,
358+ fence-agents-crosslink,
359+ fence-agents-cyberpower-ssh,
360+ fence-agents-docker,
361+ fence-agents-drac,
362+ fence-agents-drac5,
363+ fence-agents-dummy,
364+ fence-agents-eaton-snmp,
365+ fence-agents-ecloud,
366+ fence-agents-emerson,
367+ fence-agents-eps,
368+ fence-agents-gce,
369+ fence-agents-hds-cb,
370+ fence-agents-heuristics-ping,
371+ fence-agents-hpblade,
372+ fence-agents-ibmblade,
373+ fence-agents-ibm-powervs,
374+ fence-agents-ibm-vpc,
375+ fence-agents-ibmz,
376+ fence-agents-ifmib,
377+ fence-agents-ilo2,
378+ fence-agents-ilo-moonshot,
379+ fence-agents-ilo-mp,
380+ fence-agents-ilo-ssh,
381+ fence-agents-intelmodular,
382+ fence-agents-ipdu,
383+ fence-agents-ironic,
384+ fence-agents-kdump,
385+ fence-agents-kubevirt,
386+ fence-agents-ldom,
387+ fence-agents-lindy-pdu,
388+ fence-agents-lpar,
389+ fence-agents-netio,
390+ fence-agents-openstack,
391+ fence-agents-ovh,
392+ fence-agents-powerman,
393+ fence-agents-pve,
394+ fence-agents-raritan,
395+ fence-agents-raritan-px3,
396+ fence-agents-rcd-serial,
397+ fence-agents-redfish,
398+ fence-agents-rhevm,
399+ fence-agents-rsa,
400+ fence-agents-rsb,
401+ fence-agents-sanbox2,
402+ fence-agents-skalar,
403+ fence-agents-vbox,
404+ fence-agents-vmware,
405+ fence-agents-vmware-rest,
406+ fence-agents-vmware-soap,
407+ fence-agents-vmware-vcloud,
408+ fence-agents-wti,
409+ fence-agents-xenapi,
410+ fence-virt,
411+Description: Fence Agents for Red Hat Cluster non-curated by Ubuntu
412+ Red Hat Fence Agents is a collection of scripts to handle remote power
413+ management for several devices. They allow failed or unreachable nodes to be
414+ forcibly restarted and removed from the cluster.
415+ .
416+ This package is a metapackage depending on all available fence agents which
417+ are not curated by the Ubuntu Server team. The agents which are not curated by
418+ Ubuntu are not officially supported.
419
420 Package: fence-agents-common
421 Architecture: all
422@@ -1481,3 +1494,23 @@ Description: Fence Agents for Red Hat Cluster - virt daemon
423 .
424 This package contains the fence_virtd daemon to be used on the
425 physical host.
426+
427+Package: fence-agents-base
428+Architecture: all
429+Depends: ${misc:Depends}, ${python3:Depends},
430+ fence-agents-ipmilan (>= ${source:Version}),
431+ fence-agents-mpath (>= ${source:Version}),
432+ fence-agents-sbd (>= ${source:Version}),
433+ fence-agents-scsi (>= ${source:Version}),
434+ fence-agents-virsh (>= ${source:Version})
435+Breaks: fence-agents (<< 4.7.1-1ubuntu2)
436+Replaces: fence-agents (<< 4.7.1-1ubuntu2)
437+Description: Fence Agents for Red Hat Cluster curated by Ubuntu
438+ Red Hat Fence Agents is a collection of scripts to handle remote
439+ power management for several devices. They allow failed or
440+ unreachable nodes to be forcibly restarted and removed from the
441+ cluster.
442+ .
443+ This package is a metapackage depending on all available fence agents which
444+ are curated by the Ubuntu Server team. Curated agents are tested and supported
445+ by Ubuntu.
446diff --git a/debian/tests/delay b/debian/tests/delay
447index ad0af03..1ad534f 100755
448--- a/debian/tests/delay
449+++ b/debian/tests/delay
450@@ -6,6 +6,12 @@ DEFAULT_ARGS='delay=10\n login=test\n passwd=test\n ipaddr=127.0.0.1\n port=1\n
451 OUTPUT=$AUTOPKGTEST_TMP/delay
452 mkdir -p $OUTPUT
453
454+if [ "$(dpkg --print-architecture)" = "ppc64el" ]; then
455+ MIN_DELAY=500
456+else
457+ MIN_DELAY=1000
458+fi
459+
460 for agent in /usr/sbin/fence_*; do
461 [ "$agent" = "/usr/sbin/fence_ack_manual" ] && continue
462 [ "$agent" = "/usr/sbin/fence_kdump" ] && continue
463@@ -18,7 +24,7 @@ for agent in /usr/sbin/fence_*; do
464
465 (
466 TIME=$(/usr/bin/time -p sh -c "printf '$ARGS' | $agent " 2>&1 | awk -F"[. ]" -vOFS= '/real/ {print $2,$3}')
467- if [ "$TIME" -lt 1000 ]; then
468+ if [ "$TIME" -lt "$MIN_DELAY" ]; then
469 echo "$agent delay too low: $TIME" | tee $LOG
470 else
471 echo "$agent delay ok: $TIME" | tee $LOG

Subscribers

People subscribed via source and target branches