cloud-init icon indicating copy to clipboard operation
cloud-init copied to clipboard

24.04 dhcpcd retry failures

Open cjp256 opened this issue 1 year ago • 1 comments

After the dhcpcd timeout, there is an attempt to retry DHCP but it fails in an unexpected way with dictionary update sequence element #0 has length 1; 2 is required:

2024-03-06 15:41:38,615 - subp.py[DEBUG]: Running command ['/usr/sbin/dhcpcd', '--dumplease', '--ipv4only', 'eth0'] with allowed return codes [0] (shell=False, capture=True) 2024-03-06 15:41:38,618 - handlers.py[DEBUG]: finish: azure-ds/obtain-dhcp-lease: FAIL: obtain dhcp lease 2024-03-06 15:41:38,618 - handlers.py[DEBUG]: finish: azure-ds/_setup_ephemeral_networking: FAIL: _setup_ephemeral_networking 2024-03-06 15:41:38,618 - azure.py[DEBUG]: Failed to report failure using new ephemeral dhcp: dictionary update sequence element #0 has length 1; 2 is required

cjp256 avatar Mar 07 '24 18:03 cjp256

@cjp256 this was fixed in https://github.com/canonical/cloud-init/pull/5022, right?

holmanb avatar Mar 09 '24 06:03 holmanb

Yeah, I haven't seen any repro after the recent fixes, closing. Thanks @holmanb

cjp256 avatar Apr 09 '24 16:04 cjp256