maas-import-pxe-files is fragile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
New
|
Undecided
|
Unassigned |
Bug Description
When a pxe file is missing from the network location, the script aborts abruptly, causing all further boot images to fail, and the ephemeral images not to even be attempted.
# maas-import-
Downloading to temporary location /tmp/tmp.
/tmp/tmp.nuRFxCe2zW /var/lib/
2013-09-26 21:39:35 URL:http://
2013-09-26 21:39:37 URL:http://
2013-09-26 21:39:39 URL:http://
2013-09-26 21:39:42 URL:http://
2013-09-26 21:39:45 URL:http://
2013-09-26 21:39:47 URL:http://
2013-09-26 21:39:47 URL:http://
2013-09-26 21:39:48 URL:http://
2013-09-26 21:39:48 URL:http://
2013-09-26 21:39:50 URL:http://
2013-09-26 21:39:53 URL:http://
2013-09-26 21:39:55 URL:http://
2013-09-26 21:39:57 URL:http://
2013-09-26 21:39:59 URL:http://
2013-09-26 21:40:01 URL:http://
2013-09-26 21:40:04 URL:http://
http://
2013-09-26 21:40:04 ERROR 404: Not Found.
Ideally, I would expect this to log errors on missing files, but move on.