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
Hello - I noticed while getting cloud-init to bootstrap Chef that the "chef_license" entry caused Cloud-init to fail:
2021-02-23 18:36:24,030 - util.py[DEBUG]: Running module chef (<module 'cloudinit.config.cc_chef' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_chef.py'>) failed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 848, in _run_modules
ran, _r = cc.run(run_name, mod.handle, func_args,
File "/usr/lib/python3/dist-packages/cloudinit/cloud.py", line 54, in run
return self._runners.run(name, functor, args, freq, clear_on_fail)
File "/usr/lib/python3/dist-packages/cloudinit/helpers.py", line 185, in run
results = functor(*args)
File "/usr/lib/python3/dist-packages/cloudinit/config/cc_chef.py", line 445, in handle
util.ensure_dirs(param_paths)
File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1504, in ensure_dirs
ensure_dir(d, mode)
File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1557, in ensure_dir
os.makedirs(path)
File "/usr/lib/python3.8/os.py", line 223, in makedirs
mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: ''
Please let me know if you have any issues replicating.
The text was updated successfully, but these errors were encountered:
I think this is a mirror repository. AFAIK the correct place to report issues for cloud-init is on Launchpad.
There is already an ongoing issue related to chef_license - #1912424 "Chef module fails to complete when chef_license is specified".
cloud-init/cloudinit/config/cc_chef.py
Line 73 in a64b738
Hello - I noticed while getting cloud-init to bootstrap Chef that the "chef_license" entry caused Cloud-init to fail:
Please let me know if you have any issues replicating.
The text was updated successfully, but these errors were encountered: