failed run of stage init-local .. nameservers .. KeyError: 'eth0'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
New
|
Undecided
|
Unassigned |
Bug Description
We are using the nocloud datasource to bootstrap VMs into ganeti via https:/
In /var/lib/
version: 2
ethernets:
eth0:
match: {macaddress: 'aa:00:
addresses:
- '10.20.12.9/16'
gateway4: '10.20.0.1'
nameservers:
addresses:
- '10.22.1.1'
When the instance bootstraps, I see this error in /var/log/
Cloud-init v. 22.2-0ubuntu1~
2022-06-23 17:29:25,617 - util.py[WARNING]: failed stage init-local
failed run of stage init-local
-------
Traceback (most recent call last):
File "/usr/lib/
ret = functor(name, args)
File "/usr/lib/
init.
File "/usr/lib/
return self.distro.
File "/usr/lib/
network_state = parse_net_
File "/usr/lib/
nsi.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return func(self, command, *args, **kwargs)
File "/usr/lib/
_iface[
KeyError: 'eth0'
-------
Some searching brought me to a similar circumstance at https:/
description: | updated |
This behavior is reproduced if I use the image from June 8.
This behavior is not reproduced if I use an image I found from August, 2021.