Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the "chef_license" entry in CHEF_RB_TPL_PATH_KEYS causes failure #16

Open
mromero-convoso opened this issue Feb 23, 2021 · 2 comments
Open

Comments

@mromero-convoso
Copy link

mromero-convoso commented Feb 23, 2021

'chef_license',

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.

@alberts-s
Copy link

alberts-s commented Mar 6, 2021

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".

@powersj
Copy link
Contributor

powersj commented Mar 18, 2021

fwiw, while bugs are still tracked on Launchpad, development of cloud-init has moved to GitHub here: https://github.com/canonical/cloud-init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants