canonical / canonical/cloud-init

Failure to obtain DHCP lease

Open
#6,875 8 comments 0 reactions 0 assignees View on GitHub
bug incomplete
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
2d 23h
Merged PRs (30d)
18

Description

# Bug report
Azure VM: Oracle 8.10 (Gen1 or 2 ) after update and reboot the following error is generated

259.660061] cloud-init[1122]: 2026-05-08 14:58:42,981 - azure.py[ERROR]: Azure datasource failure occurred: result=error|reason=failure to obtain DHCP lease|agent=Cloud-Init/23.4-7.0.3.el8_10.12|duration=252.77271795272827|interface=None|vm_id=7433b839-532f-4f53-9668-f688de6fdeac|timestamp=2026-05-08T14:58:42.979016|documentation_url=[https://aka.ms/linuxprovisioningerror

## Steps to reproduce the problem
Create new azure VM, image source Oracle 8.10
run sudo yum update && sudo reboot
then this error above is generated, it keeps happening for 5 minutes

The only way to fix the error was to downgrade cloud-init or exclude from updates
sudo dnf downgrade -y cloud-init-23.4-7.0.3.el8_10.11

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.