GithubHelp home page GithubHelp logo

Comments (2)

jackiehjm avatar jackiehjm commented on July 18, 2024

The default locale is en_US.UTF-8 in build185

from meta-akraino.

jackiehjm avatar jackiehjm commented on July 18, 2024

More logs in /var/log/cloud-init.log

2020-02-17 03:00:54,734 - stages.py[DEBUG]: Running module locale (<module 'cloudinit.config.cc_locale' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_locale.pyc'>) with frequency once-per-instance
2020-02-17 03:00:54,734 - handlers.py[DEBUG]: start: modules-config/config-locale: running config-locale with frequency once-per-instance
2020-02-17 03:00:54,734 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_locale - wb: [644] 20 bytes
2020-02-17 03:00:54,735 - helpers.py[DEBUG]: Running config-locale using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_locale'>)
2020-02-17 03:00:54,735 - cc_locale.py[DEBUG]: Setting locale to en_US.UTF-8
2020-02-17 03:00:54,735 - util.py[DEBUG]: Reading from /etc/locale.conf (quiet=False)
2020-02-17 03:00:54,735 - handlers.py[DEBUG]: finish: modules-config/config-locale: FAIL: running config-locale with frequency once-per-instance
2020-02-17 03:00:54,735 - util.py[WARNING]: Running module locale (<module 'cloudinit.config.cc_locale' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_locale.pyc'>) failed
2020-02-17 03:00:54,735 - util.py[DEBUG]: Running module locale (<module 'cloudinit.config.cc_locale' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_locale.pyc'>) failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 793, in _run_modules
    freq=freq)
  File "/usr/lib/python2.7/site-packages/cloudinit/cloud.py", line 54, in run
    return self._runners.run(name, functor, args, freq, clear_on_fail)
  File "/usr/lib/python2.7/site-packages/cloudinit/helpers.py", line 187, in run
    results = functor(*args)
  File "/usr/lib/python2.7/site-packages/cloudinit/config/cc_locale.py", line 45, in handle
    cloud.distro.apply_locale(locale, locale_cfgfile)
  File "/usr/lib/python2.7/site-packages/cloudinit/distros/rhel.py", line 117, in apply_locale
    rhel_util.update_sysconfig_file(out_fn, locale_cfg)
  File "/usr/lib/python2.7/site-packages/cloudinit/distros/rhel_util.py", line 36, in update_sysconfig_file
    str(contents),
  File "/usr/lib/python2.7/site-packages/cloudinit/distros/parsers/sys_conf.py", line 52, in __str__
    contents = self.write()
  File "/usr/lib/python2.7/site-packages/configobj/__init__.py", line 2046, in write
    comment))
  File "/usr/lib/python2.7/site-packages/cloudinit/distros/parsers/sys_conf.py", line 99, in _write_line
    self._a_to_u('='),
AttributeError: 'SysConf' object has no attribute '_a_to_u'

from meta-akraino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.