[Bug 1759003] Re: cloud-init fails for minimal images (can't find locale-gen)
Francis Ginther
francis.ginther at canonical.com
Thu Jun 14 12:36:29 UTC 2018
** Tags added: id-5b21b1006874c4e4159dea3f
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1759003
Title:
cloud-init fails for minimal images (can't find locale-gen)
Status in cloud-images:
New
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Xenial:
Fix Released
Bug description:
[Impact]
* Locale is not set for cloud images and minimal images lack the
locale-gen executable. This causes cloud-init to fail, however there
is no need to call locale-gen if we set the locale.
* Update minimal ubuntu-cpc images to set the locale to C.UTF-8 at
build time.
[Test Case]
* Launch the minimal cloud image and observe locale failure in cloud
init log (/var/log/cloud-init.log)
* Launch the minimal cloud image built with the proposed change and
observer that user does not get a warning about locales on the
terminal and cloud init log (/var/log/cloud-init.log) does not contain
locale failures (also 'systemctl list-units --failed' will not list a
cloud-init failure)
[Regression Potential]
* There is no regression as this change is scoped to ubuntu-cpc
minimal images only, which have not been announced.
=================
Original description:
Opening initially as a cloud-images bug to ensure that the lack of
'locale-gen' is desired. If so, then this should go to cloud-init to
dtrt for minimal images.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1759003/+subscriptions
More information about the foundations-bugs
mailing list