-
Bug
-
Resolution: Unresolved
-
Blocker
-
CentOS Stream 10, rhel-10.0
-
dhcpcd-10.0.6-7.el10
-
Yes
-
Low
-
e9e40400003db2e4f12dba85acabbaf2212a520f
-
rhel-sst-cs-stacks
-
ssg_core_services
-
25
-
None
-
False
-
-
None
-
None
-
None
What were you trying to do that didn't work?
When upgrade glibc to glibc-2.39-31.el10.x86_64(compose RHEL-10.0-20241220.0) in a RHEL-10 VM on Azure, the cloud-init fails at dhcpcd command and retry for 20 minutes.
2024-11-27 09:12:58,103 - dhcp.py[DEBUG]: Performing a dhcp discovery on eth0 2024-11-27 09:12:58,103 - subp.py[DEBUG]: Running command ['ip', 'link', 'set', 'dev', 'eth0', 'up'] with allowed return codes [0] (shell=False, capture=True) 2024-11-27 09:12:58,106 - util.py[DEBUG]: Reading from /sys/class/net/eth0/type (quiet=False) 2024-11-27 09:12:58,106 - util.py[DEBUG]: Read 2 bytes from /sys/class/net/eth0/type 2024-11-27 09:12:58,107 - subp.py[DEBUG]: Running command ['/usr/sbin/dhcpcd', '--ipv4only', '--waitip', '--persistent', '--noarp', '--script=/bin/true', 'eth0'] with allowed return codes [0] (shell=False, capture=True) 2024-11-27 09:12:59,117 - subp.py[DEBUG]: ['/usr/sbin/dhcpcd', '--ipv4only', '--waitip', '--persistent', '--noarp', '--script=/bin/true', 'eth0'] took 1.0s to run 2024-11-27 09:12:59,118 - dhcp.py[DEBUG]: dhcpcd exited with code: 1 stderr: 'dhcpcd-10.0.8 starting\n DUID 00:01:00:01:2e:d9:9f:1a:7c:1e:52:68:50:eb\n eth0: IAID 52:68:50:eb\n dhcpcd_fork_cb: dhcpcd manager hungup' stdout: '' 2024-11-27 09:12:59,118 - azure.py[ERROR]: Failed to obtain DHCP lease (iface=None) 2024-11-27 09:12:59,118 - dmi.py[DEBUG]: querying dmi data /sys/class/dmi/id/product_uuid 2024-11-27 09:12:59,118 - identity.py[DEBUG]: Read product uuid: 8969ad4c-54fd-4cfa-a7c3-85a93f5050c7 2024-11-27 09:12:59,118 - handlers.py[DEBUG]: start: azure-ds/_report_failure: _report_failure 2024-11-27 09:12:59,118 - azure.py[ERROR]: Azure datasource failure occurred: result=error|reason=failure to obtain DHCP lease|agent=Cloud-Init/24.2|duration=1.043481516|interface=None|vm_id=8969ad4c-54fd-4cfa-a7c3-85a93f5050c7|timestamp=2024-11-27T09:12:59.118388|documentation_url=https://aka.ms/linuxprovisioningerror
What is the impact of this issue to you?
VM provisioning is failed.
Please provide the package NVR for which the bug is seen:
glibc-2.39-31.el10.x86_64
dhcpcd-10.0.6-6.el10.x86_64
cloud-init-24.1.4-21.el10.noarch
How reproducible is this bug?:
100%
Steps to reproduce
- Start a RHEL-10 VM on Azure
- Check /var/log/cloud-init.log
Expected results
VM can start successfully. Cloud-init works well during provisioning.
Actual results
During provisioning the dhcpcd command failed causes cloud-init wait 20 minutes to retry the dhcpcd command.
- links to
-
RHBA-2024:142030 dhcpcd bug fix and enhancement update