Skip to content

Instantly share code, notes, and snippets.

@kinafu
Created March 26, 2020 12:26
Show Gist options
  • Save kinafu/03d46997fa8910c91f5b0dfcae9a5abe to your computer and use it in GitHub Desktop.
Save kinafu/03d46997fa8910c91f5b0dfcae9a5abe to your computer and use it in GitHub Desktop.
cloud-init 18.3 log snippet
2020-01-07 18:32:01,974 - util.py[DEBUG]: Running module locale (<module 'cloudinit.config.cc_locale' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_locale.py'>) failed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 800, 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_locale.py", line 45, in handle
cloud.distro.apply_locale(locale, locale_cfgfile)
File "/usr/lib/python3/dist-packages/cloudinit/distros/debian.py", line 104, in apply_locale
update_locale_conf(locale, out_fn, keyname=keyname)
File "/usr/lib/python3/dist-packages/cloudinit/distros/debian.py", line 279, in update_locale_conf
'%s=%s' % (keyname, locale)], capture=False)
File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2027, in subp
cmd=args)
cloudinit.util.ProcessExecutionError: Unexpected error while running command.
Command: ['update-locale', '--locale-file=/etc/default/locale', 'LANG=de_DE.UTF-8']
Exit code: 255
Reason: -
Stdout: -
Stderr: -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment