yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87515
[Bug 1948681] [NEW] Exception when no activator found
Public bug reported:
On FreeBSD system:
2021-10-24 14:00:10,707 - util.py[WARNING]: failed stage init
failed run of stage init
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/cloudinit/cmd/main.py", line 682, in status_wrapper
ret = functor(name, args)
File "/usr/local/lib/python3.8/site-packages/cloudinit/cmd/main.py", line 391, in main_init
init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))
File "/usr/local/lib/python3.8/site-packages/cloudinit/stages.py", line 824, in apply_network_config
return self.distro.apply_network_config(
File "/usr/local/lib/python3.8/site-packages/cloudinit/distros/__init__.py", line 230, in apply_network_config
network_activator = activators.select_activator()
File "/usr/local/lib/python3.8/site-packages/cloudinit/net/activators.py", line 274, in select_activator
raise RuntimeError(
RuntimeError: No available network activators found. Searched through list: [<class 'cloudinit.net.activators.IfUpDownActivator'>, <class 'cloudinit.net.activators.NetworkManagerActivator'>, <class 'cloudinit.net.activators.NetplanActivator'>, <class 'cloudinit.net.activators.NetworkdActivator'>]
------------------------------------------------------------
Given that there are additional network management tools that we haven't
yet supported with activators, we should log a warning and continue
without network activation here, especially since this was a no-op for
years.
** Affects: cloud-init
Importance: High
Status: Triaged
** Changed in: cloud-init
Status: New => Triaged
** Changed in: cloud-init
Importance: Undecided => High
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1948681
Title:
Exception when no activator found
Status in cloud-init:
Triaged
Bug description:
On FreeBSD system:
2021-10-24 14:00:10,707 - util.py[WARNING]: failed stage init
failed run of stage init
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/cloudinit/cmd/main.py", line 682, in status_wrapper
ret = functor(name, args)
File "/usr/local/lib/python3.8/site-packages/cloudinit/cmd/main.py", line 391, in main_init
init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))
File "/usr/local/lib/python3.8/site-packages/cloudinit/stages.py", line 824, in apply_network_config
return self.distro.apply_network_config(
File "/usr/local/lib/python3.8/site-packages/cloudinit/distros/__init__.py", line 230, in apply_network_config
network_activator = activators.select_activator()
File "/usr/local/lib/python3.8/site-packages/cloudinit/net/activators.py", line 274, in select_activator
raise RuntimeError(
RuntimeError: No available network activators found. Searched through list: [<class 'cloudinit.net.activators.IfUpDownActivator'>, <class 'cloudinit.net.activators.NetworkManagerActivator'>, <class 'cloudinit.net.activators.NetplanActivator'>, <class 'cloudinit.net.activators.NetworkdActivator'>]
------------------------------------------------------------
Given that there are additional network management tools that we
haven't yet supported with activators, we should log a warning and
continue without network activation here, especially since this was a
no-op for years.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1948681/+subscriptions
Follow ups