UrlError from #include aborts stage

Bug #1720844 reported by Andrew Jorgensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Medium
Unassigned

Bug Description

If you have a bad URL or inaccessible server referenced in an #include document, a cloudinit.url_helper.UrlError is thrown which is not caught, so it aborts the stage and an instance can be left unconfigured.

I've proposed a patch here: https://code.launchpad.net/~ajorgens/cloud-init/+git/cloud-init/+merge/331660

Obviously a bad URL is not a great case, but aborting and leaving the instance unconfigured seems the worst choice in this scenario because it may not even be possible to log in to troubleshoot.

Joshua Powers (powersj)
Changed in cloud-init:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Brett Holman (holmanb) wrote :

Fixed in e10ad2d7854b87024b5d051db50166125fce2279

Changed in cloud-init:
status: Confirmed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
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.