📖 ~1 min read
Table of contents
Symptom & Impact
Boot process takes several extra minutes and dependent services start late.
Environment & Reproduction
Occurs on Ubuntu 22.04 LTS VM images where cloud-init waits for unavailable metadata.
Root Cause Analysis
cloud-init datasource detection retries and network waits delay boot target completion.
Quick Triage
Measure startup critical path before changing cloud-init settings.
Step-by-Step Diagnosis
Review cloud-init logs and datasource probe behavior for repeated timeout entries.

Solution – Primary Fix
Set correct datasource list or disable cloud-init where image metadata is not needed.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Use datasource-specific configuration files rather than disabling cloud-init globally.
Verification & Acceptance Criteria
systemd-analyze reports reduced boot time and cloud-init completes without timeout loops.
Rollback Plan
Restore previous cloud-init config files and rebuild init state if provisioning regresses.
Prevention & Hardening
Standardize cloud image templates with known datasource settings for each platform.
Related Errors & Cross-Refs
Frequently appears with DHCP delays and netplan misconfigured interfaces.
Related tutorial: View the step-by-step tutorial for Ubuntu 22.04 LTS.
View all Ubuntu 22.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
See cloud-init upstream docs and Ubuntu cloud image guidance.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.