2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-27 12:52:16 +00:00
Files
xcat-core/xCAT-test/autotest/testcase
Daniel Hilst 018987d0fb fix(xcat-test): the cases restart a DHCPv4 unit that Ubuntu does not have
Ten cmd lines in five case files restarted the DHCPv4 server with the same
inline probe of kea-dhcp4, falling back to isc-dhcp-server on Ubuntu. Kea is the
backend there and its unit is kea-dhcp4-server, so the probe was false and the
fallback named a unit that is not installed. The restart exited 5 with "Unit
isc-dhcp-server.service not found" and failed the case.

Each of those lines now calls commoncmd/restart_dhcp.sh. discovery_test also
decided whether to create /var/lib/dhcpd/dhcpd.leases from the same single-unit
probe, so on an Ubuntu management node it wrote an ISC leases file beside a Kea
backend; it now asks restart_dhcp.sh --print-unit.

Each rewritten line keeps the check that followed it. xcattest discards a cmd
line that does not start with [#/$\w] and binds its checks to the previous
command, so the calls are written as absolute paths.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-11-08 16:32:12 -03:00
..
2018-07-02 05:27:01 -04:00
2018-04-18 16:48:28 +08:00
2018-11-05 01:19:21 -05:00
2019-03-27 04:23:39 -04:00
2024-07-16 12:42:39 +02:00
2018-11-05 03:24:53 -05:00
2018-11-28 01:51:26 -05:00
2023-01-10 10:21:40 -05:00
2018-11-05 01:19:21 -05:00
2019-04-03 02:16:17 -04:00
2018-11-15 02:44:58 -05:00