← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1847957] Re: Stage init-local fails saying NameError: global name 'name' is not defined

 

Since this piece of code is replaced in v19.2 and I don't have complete
logs or the system to provide for further debug. Moving it to invalid
state.

** Changed in: cloud-init
       Status: Incomplete => Invalid

-- 
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/1847957

Title:
  Stage init-local fails saying NameError: global name 'name' is not
  defined

Status in cloud-init:
  Invalid

Bug description:
  2019-10-11 04:38:09,499 - util.py[DEBUG]: failed stage init-local
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 653, in status_wrapper
      ret = functor(name, args)
    File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 362, in main_init
      init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))
    File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 671, in apply_network_config
      return self.distro.apply_network_config(netcfg, bring_up=bring_up)
    File "/usr/lib/python2.7/site-packages/cloudinit/distros/__init__.py", line 178, in apply_network_config
      dev_names = self._write_network_config(netconfig)
    File "/usr/lib/python2.7/site-packages/cloudinit/distros/opensuse.py", line 177, in _write_network_config
      net_apply_res = self._supported_write_network_config(netconfig)
    File "/usr/lib/python2.7/site-packages/cloudinit/distros/__init__.py", line 93, in _supported_write_network_config
      renderer.render_network_config(network_config)
    File "/usr/lib/python2.7/site-packages/cloudinit/net/renderer.py", line 56, in render_network_config
      templates=templates, target=target)
    File "/usr/lib/python2.7/site-packages/cloudinit/net/sysconfig.py", line 707, in render_network_state
      path = net.sys_dev_path(iface[name])
  NameError: global name 'name' is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1847957/+subscriptions


References