uec-publish-tarball does not show errors from uec-publish-image

Bug #559244 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-utils (Ubuntu)
Fix Released
Low
Scott Moser

Bug Description

Binary package hint: cloud-utils

$ uec-publish-tarball mytar.tar.gz mybucket x86_64

The above will correctly exit with failure if one of the underlying calls to euca-* fails. However, it will not show the user the output of those euca tools. This is because uec-publish-tarball captures the stdout of the call to uec-publish-image (which calls euca tools). The stderr is correctly passed through. The problem is that the euca2ools are writing (some) errors to stdout rather than stdin. That stdout was being consumed and not sent to the user even on non zero exit

So, the work around here is to print uec-publish-image's output to the user when the call to uec-publish-image fails.

Also noticed here that the error message printed by uec-publish-image contains a trailing '%s' which just looks confusing.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cloud-utils 0.10-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
Architecture: amd64
Date: Fri Apr 9 09:34:35 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: cloud-utils

Revision history for this message
Scott Moser (smoser) wrote :
Changed in cloud-utils (Ubuntu):
assignee: nobody → Scott Moser (smoser)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-utils - 0.11-0ubuntu1

---------------
cloud-utils (0.11-0ubuntu1) lucid; urgency=low

  * uec-query-builds: do not throw IndexError on no builds available,
    or Exception on bad usage, LP: #559236
  * uec-publish-image: remove error trailing '%s' in error message,
    LP: #559244
  * uec-publish-tarball: send stdout through on failure of uec-publish-image,
    LP: #559244
 -- Scott Moser <email address hidden> Fri, 09 Apr 2010 10:03:29 -0400

Changed in cloud-utils (Ubuntu):
status: In Progress → Fix Released
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.