uec-publish-tarball should gracefully fail when run before eucarc is sourced
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-utils (Ubuntu) |
Fix Released
|
Low
|
Scott Moser |
Bug Description
Binary package hint: cloud-utils
I ran uec-publish-tarball without sourcing eucarc first, and it failed like this:
$ uec-publish-tarball lucid-server-
mardi 23 février 2010, 15:37:44 (UTC+0100): ====== extracting image ======
Warning: no ramdisk found, assuming '--ramdisk none'
kernel : lucid-server-
ramdisk: none
image : lucid-server-
mardi 23 février 2010, 15:37:53 (UTC+0100): ====== bundle/upload kernel ======
failed to check for existing manifest
failed to upload kernel
cleaning up /tmp/uec-
Checking in pre-flight checks that the environment is available would probably be better and allow for some more informative error message.
is "Failed to check for existing manifest... Have you source eucarc?"
good enough for "graceful"?