← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1948681] Re: Exception when no activator found

 

This bug is believed to be fixed in cloud-init in version 22.1. If this
is still a problem for you, please make a comment and set the state back
to New

Thank you.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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



References