livefs build doesn't show useful error if "project" metadata is missing

Bug #1873968 reported by Robin Winslow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

From cjwatson:

> - I can't get any builds to do anything other than fail:
> [5]https://launchpad.net/~imagebuild/+livefs/ubuntu/bionic/ubuntu-cpc/, (but I've only tried with Toto snap)

Well, it would certainly be nice if you got a better error message here
(please file a bug about that). But the problem here is that your
metadata dictionary doesn't include the "project" field, which in this
case should probably be set to "ubuntu-cpc" but in others should perhaps
be "ubuntu-core". You can either set this in "metadata" when creating
the livefs object (as
https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/focal/cpc does) or
in "metadata_override" when creating the livefs_build object; the two
dictionaries are merged together.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.