You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Launchpad user Robert Schweikert(rjschwei) wrote on 2018-05-10T17:48:08.210168+00:00
While users that modify the config file should remove any stages they do not want executed failing to do so results in a traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 638, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 416, in main_init
return (init.datasource, run_module_section(mods, name, name))
File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 107, in run_module_section
(which_ran, failures) = mods.run_section(full_section_name)
File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 817, in run_section
raw_mods = self._read_modules(section_name)
File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 700, in _read_modules
for item in cfg_mods:
TypeError: 'NoneType' object is not iterable
Rather than complaining cloud-init should handle this gracefully and just skip the stage and do nothing.
The text was updated successfully, but these errors were encountered:
Launchpad user Scott Moser(smoser) wrote on 2018-06-20T18:05:35.944180+00:00
This bug is believed to be fixed in cloud-init in version 18.3. If this is still a problem for you, please make a comment and set the state back to New
This bug was originally filed in Launchpad as LP: #1770462
Launchpad details
Launchpad user Robert Schweikert(rjschwei) wrote on 2018-05-10T17:48:08.210168+00:00
While users that modify the config file should remove any stages they do not want executed failing to do so results in a traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 638, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 416, in main_init
return (init.datasource, run_module_section(mods, name, name))
File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 107, in run_module_section
(which_ran, failures) = mods.run_section(full_section_name)
File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 817, in run_section
raw_mods = self._read_modules(section_name)
File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 700, in _read_modules
for item in cfg_mods:
TypeError: 'NoneType' object is not iterable
Rather than complaining cloud-init should handle this gracefully and just skip the stage and do nothing.
The text was updated successfully, but these errors were encountered: