customize_cloud_init could fail gracefully when cloud-init not present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
New
|
Wishlist
|
Unassigned |
Bug Description
Hi,
While switching an image definition using cloud-init from server-minimal to desktop-minimal, I had this error:
ubuntu-images$ sudo /snap/bin/
[sudo] password for lool:
[0] parse_image_
[1] calculate_states
[2] make_temporary_
[3] determine_
[4] build_gadget_tree
[5] prepare_gadget_tree
[6] load_gadget_yaml
WARNING: volumes:
[7] verify_
[8] germinate
[9] create_chroot
[10] add_extra_ppas
[11] install_packages
[12] prepare_image
[13] preseed_image
[14] customize_
Error: open /tmp/ubuntu-
This was due to cloud-init not being pulled by the new set of seeds.
It would be nice if ubuntu-image could simply output a warning / error if cloud-init customizations are requested but cloud-init is not present, rather than fail with a cryptic error.
This was with latest edge snap, 3.0+snap10 (555).
Thanks!
Changed in ubuntu-image: | |
importance: | Undecided → Wishlist |
I can't change priority of this bug, but this should be lowest ("Wishlist")