Skip to content

Instantly share code, notes, and snippets.

@kylejohnson
Created January 3, 2020 14:54
Show Gist options
  • Save kylejohnson/1a157062f1bccc7106e9de2ed5cd639e to your computer and use it in GitHub Desktop.
Save kylejohnson/1a157062f1bccc7106e9de2ed5cd639e to your computer and use it in GitHub Desktop.
cloud init chef output
2020-01-03 14:53:39,401 - stages.py[DEBUG]: Running module chef (<module 'cloudinit.config.cc_chef' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_chef.py'>) with frequency once-per-instance
2020-01-03 14:53:39,401 - handlers.py[DEBUG]: start: modules-final/config-chef: running config-chef with frequency once-per-instance
2020-01-03 14:53:39,401 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/cec68b6b-21fd-49dd-ad5b-8f944139a78c/sem/config_chef - wb: [644] 24 bytes
2020-01-03 14:53:39,402 - helpers.py[DEBUG]: Running config-chef using lock (<FileLock using file '/var/lib/cloud/instances/cec68b6b-21fd-49dd-ad5b-8f944139a78c/sem/config_chef'>)
2020-01-03 14:53:39,403 - cc_chef.py[DEBUG]: Skipping unknown chef template key 'exec'
2020-01-03 14:53:39,404 - cc_chef.py[DEBUG]: Skipping unknown chef template key 'install_type'
2020-01-03 14:53:39,404 - cc_chef.py[DEBUG]: Skipping unknown chef template key 'omnibus_url'
2020-01-03 14:53:39,404 - cc_chef.py[DEBUG]: Skipping unknown chef template key 'omnibus_version'
2020-01-03 14:53:39,404 - cc_chef.py[DEBUG]: Skipping unknown chef template key 'run_list'
2020-01-03 14:53:39,404 - handlers.py[DEBUG]: finish: modules-final/config-chef: FAIL: running config-chef with frequency once-per-instance
2020-01-03 14:53:39,404 - util.py[WARNING]: Running module chef (<module 'cloudinit.config.cc_chef' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_chef.py'>) failed
2020-01-03 14:53:39,404 - 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 851, in _run_modules
freq=freq)
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 187, in run
results = functor(*args)
File "/usr/lib/python3/dist-packages/cloudinit/config/cc_chef.py", line 226, in handle
params = get_template_params(iid, chef_cfg, log)
File "/usr/lib/python3/dist-packages/cloudinit/config/cc_chef.py", line 188, in get_template_params
'validation_name': chef_cfg['validation_name'],
KeyError: 'validation_name'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment