maas builds fail when distro-info-data runs out of data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-images |
Triaged
|
Medium
|
Unassigned |
Bug Description
We hit failures building xenial images during the window of time when the zesty entry in distro-info-data expired and before the package was updated with artful. While it's expected that building a not-yet-named release would fail, this should not impact xenial builds.
Here's the relevant stack trace from the build log:
Building images for v2 streams
+ PATH=/build/
+ meph2-build --image-format root-tar -vv --enable-di amd64 xenial 20170420 livecd.
Traceback (most recent call last):
File "/build/
__import_
ImportError: No module named 'meph2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/build/
devel = udi.devel(
File "/usr/lib/
raise DistroDataOutda
distro_
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/build/
call_
File "/build/
__import_
File "/build/
from meph2.stream import (
File "/build/
from . netinst import (POCKETS, POCKETS_PROPOSED, get_di_kernelinfo,
File "/build/
from .ubuntu_info import REL2VER, SUPPORTED
File "/build/
info = get_ubuntu_info()
File "/build/
sys.
NameError: name 'sys' is not defined
The problem may just be the missing "import sys" in this code path.
Changed in maas-images: | |
status: | New → Triaged |
importance: | Undecided → Medium |
The full build log is available here: https:/ /private- fileshare. canonical. com/~fginther/ maas/lp- 1685362/ buildlog_ ubuntu_ xenial_ amd64_cpc_ BUILDING. txt.