Cloud-init folks, may I get your opinion on this one?
2022-08-16 10:16:29,345 - util.py[WARNING]: failed stage init-local failed run of stage init-local ------------------------------------------------------------ Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 745, in status_wrapper ret = functor(name, args) File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 411, in main_init init.apply_network_config(bring_up=bring_up_interfaces) File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 937, in apply_network_config return self.distro.apply_network_config( File "/usr/lib/python3/dist-packages/cloudinit/distros/__init__.py", line 244, in apply_network_config network_state = parse_net_config_data(netconfig) File "/usr/lib/python3/dist-packages/cloudinit/net/network_state.py", line 1062, in parse_net_config_data nsi.parse_config(skip_broken=skip_broken) File "/usr/lib/python3/dist-packages/cloudinit/net/network_state.py", line 280, in parse_config self.parse_config_v2(skip_broken=skip_broken) File "/usr/lib/python3/dist-packages/cloudinit/net/network_state.py", line 330, in parse_config_v2 self._v2_common(command) File "/usr/lib/python3/dist-packages/cloudinit/net/network_state.py", line 785, in _v2_common real_if_name = find_interface_name_from_mac(mac_address) File "/usr/lib/python3/dist-packages/cloudinit/net/__init__.py", line 933, in find_interface_name_from_mac if mac.lower() == interface_mac.lower(): AttributeError: 'NoneType' object has no attribute 'lower' ------------------------------------------------------------ Cloud-init v. 22.2-115-g6e498773-0ubuntu1~22.10.1 running 'init' at Tue, 16 Aug 2022 10:16:29 +0000. Up 226.22 seconds. ci-info: ++++++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++++++ ci-info: +--------------+-------+------------------------------+---------------+--------+-------------------+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | ci-info: +--------------+-------+------------------------------+---------------+--------+-------------------+ ci-info: | encc000 | True | fe80::4433:4bff:fea2:146b/64 | . | link | f6:4c:f0:f1:ea:27 | ci-info: | encc000.2653 | True | 10.245.236.14 | 255.255.255.0 | global | f6:4c:f0:f1:ea:27 | ci-info: | encc000.2653 | True | fe80::4433:4bff:fea2:146b/64 | . | link | f6:4c:f0:f1:ea:27 | ci-info: | ens298 | False | . | . | . | 82:0d:2d:0c:b8:70 | ci-info: | ens298d1 | False | . | . | . | 82:0d:2d:0c:b8:71 | ci-info: | ens314 | False | . | . | . | 82:0d:2d:0c:b7:00 | ci-info: | ens314d1 | False | . | . | . | 82:0d:2d:0c:b7:01 | ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . | ci-info: | lo | True | ::1/128 | . | host | . |
Cloud-init folks, may I get your opinion on this one?
2022-08-16 10:16:29,345 - util.py[WARNING]: failed stage init-local ------- ------- ------- ------- ------- ------- ------- ---- python3/ dist-packages/ cloudinit/ cmd/main. py", line 745, in status_wrapper python3/ dist-packages/ cloudinit/ cmd/main. py", line 411, in main_init apply_network_ config( bring_up= bring_up_ interfaces) python3/ dist-packages/ cloudinit/ stages. py", line 937, in apply_network_ config apply_network_ config( python3/ dist-packages/ cloudinit/ distros/ __init_ _.py", line 244, in apply_network_ config config_ data(netconfig) python3/ dist-packages/ cloudinit/ net/network_ state.py" , line 1062, in parse_net_ config_ data parse_config( skip_broken= skip_broken) python3/ dist-packages/ cloudinit/ net/network_ state.py" , line 280, in parse_config parse_config_ v2(skip_ broken= skip_broken) python3/ dist-packages/ cloudinit/ net/network_ state.py" , line 330, in parse_config_v2 _v2_common( command) python3/ dist-packages/ cloudinit/ net/network_ state.py" , line 785, in _v2_common name_from_ mac(mac_ address) python3/ dist-packages/ cloudinit/ net/__init_ _.py", line 933, in find_interface_ name_from_ mac mac.lower( ): ------- ------- ------- ------- ------- ------- ------- ---- g6e498773- 0ubuntu1~ 22.10.1 running 'init' at Tue, 16 Aug 2022 10:16:29 +0000. Up 226.22 seconds. +++++++ +++++++ +++++++ +++++++ +++++++ Net device info+++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++ ------- -+----- --+---- ------- ------- ------- -----+- ------- ------- +------ --+---- ------- ------- -+ ------- -+----- --+---- ------- ------- ------- -----+- ------- ------- +------ --+---- ------- ------- -+ 4bff:fea2: 146b/64 | . | link | f6:4c:f0:f1:ea:27 | 4bff:fea2: 146b/64 | . | link | f6:4c:f0:f1:ea:27 |
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/
real_if_name = find_interface_
File "/usr/lib/
if mac.lower() == interface_
AttributeError: 'NoneType' object has no attribute 'lower'
-------
Cloud-init v. 22.2-115-
ci-info: +++++++
ci-info: +------
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +------
ci-info: | encc000 | True | fe80::4433:
ci-info: | encc000.2653 | True | 10.245.236.14 | 255.255.255.0 | global | f6:4c:f0:f1:ea:27 |
ci-info: | encc000.2653 | True | fe80::4433:
ci-info: | ens298 | False | . | . | . | 82:0d:2d:0c:b8:70 |
ci-info: | ens298d1 | False | . | . | . | 82:0d:2d:0c:b8:71 |
ci-info: | ens314 | False | . | . | . | 82:0d:2d:0c:b7:00 |
ci-info: | ens314d1 | False | . | . | . | 82:0d:2d:0c:b7:01 |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: | lo | True | ::1/128 | . | host | . |