canonical / canonical/cloud-init
No longer ignores unmatched ethernet devices
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 1.1k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 18
Description
# Bug report
Using the same cloud init configuration on four different servers, I have match records for all their nework cards in a single autoinstall|network block.
With version 23.3.3-0ubuntu1\~22.04.1 this worked as expected with no errors and network adapters correctly configured.
With version 24.1.3-0ubuntu0\~22.04.1 installation raises an error with an "Not all expected physical devices present" RuntimeError.
Also boot process continues and does not halt at this error, leaving the system in an intermediate state.
Is there way to optionally disable this new check? all/any/disable
Or do I need to update the config file during the early-commands portion of autoinstall?
## Steps to reproduce the problem
Create a network block with an Ethernet device that is present, and one that is not present.
## Environment details
- Cloud-init version: 24.1.3-0ubuntu~22.04.1
- Operating System Distribution: Ubuntu Server 22.04 Daily Build
- Cloud provider, platform or installer type: ISO
## cloud-init logs
Could not access machine because network setup was incomplete.
Contributor guide
Assessment
This issue has not been assessed yet.