f923505ad3
During a DOR (Dead Office Recovery) procedure, the worker nodes are taking longer than expected to become online, if the cluster network is IPv6. This is related to an extra reboot occurring during the bring-up process. Today only one DHCPv6 attempt is done, and, as the controllers are still booting up, no response is available. Eventually, this lack of a management IPv6 address will lead to an extra reboot. The correction is to make the DHCPv6 client continuously attempt to get a management IP address from the server. If the management network is IPv4, the DHCPv6 client is not called and will not trigger continuous DHCPv6 requests. Closes-bug: 1934676 Signed-off-by: Andre Fernando Zanella Kantek <AndreFernandoZanella.Kantek@windriver.com> Change-Id: Ife5b06c5294e0014918073e9f6ee8bd372b85a78
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
From b6b206cdba982d8152191e8e795d15ae29ed993e Mon Sep 17 00:00:00 2001
|
|
From: Andre Fernando Zanella Kantek
|
|
<AndreFernandoZanella.Kantek@windriver.com>
|
|
Date: Tue, 6 Jul 2021 10:17:40 -0400
|
|
Subject: [PATCH 1/1] dhclient6 remove one shot arg
|
|
|
|
Signed-off-by: Andre Fernando Zanella Kantek <AndreFernandoZanella.Kantek@windriver.com>
|
|
---
|
|
sysconfig/network-scripts/ifup-eth | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
|
|
index bf3f96b..cb87fd6 100755
|
|
--- a/sysconfig/network-scripts/ifup-eth
|
|
+++ b/sysconfig/network-scripts/ifup-eth
|
|
@@ -364,7 +364,7 @@ if is_true "${DHCPV6C}" && [ -x /sbin/dhclient ]; then
|
|
echo -n $"Determining IPv6 information for ${DEVICE}..."
|
|
|
|
# Initialize the dhclient args for IPv6 and obtain the hostname options if needed:
|
|
- DHCLIENTARGS="-6 -1 ${DHCPV6C_OPTIONS} ${DHCLIENTCONF} -lf ${LEASEFILE} --restrict-interfaces -pf /var/run/dhclient6-${DEVICE}.pid ${DEVICE}"
|
|
+ DHCLIENTARGS="-6 ${DHCPV6C_OPTIONS} ${DHCLIENTCONF} -lf ${LEASEFILE} --restrict-interfaces -pf /var/run/dhclient6-${DEVICE}.pid ${DEVICE}"
|
|
set_hostname_options DHCLIENTARGS
|
|
|
|
if /sbin/dhclient $DHCLIENTARGS; then
|
|
--
|
|
2.29.2
|
|
|