cc_timezone fails on Ubuntu Bionic and Xenial minimal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Invalid
|
Undecided
|
Unassigned | ||
cloud-init |
Expired
|
Undecided
|
Unassigned |
Bug Description
Summary
===
On Ubuntu Bionic and Xenial minimal images, there is no tzdata package. As a result, when cloud-init tries to set the timezone it will fail and produce a stack trace.
Expected Result
===
No trace and no failure of the cloud-config.
Actual result
===
2020-07-20 18:13:22,515 - util.py[DEBUG]: Running module timezone (<module 'cloudinit.
File "/usr/lib/
cloud.
File "/usr/lib/
distros.
OSError: Invalid timezone America/Vancouver, no file found at /usr/share/
Steps to reproduce
===
$ wget https:/
$ multipass launch file://
$ multipass exec bionic-minimal -- sudo systemctl list-units --failed --no-legend
# note that cloud-config.
$ multipass exec bionic-minimal -- sudo cat /var/log/
description: | updated |
Changed in cloud-init: | |
status: | Incomplete → New |
Changed in cloud-images: | |
status: | New → Invalid |
What happens on Focal?