[pkg-eucalyptus-maintainers] Bug#734616: euca2ools: euca-get-console-output fails if output not to a console

Scott Moser smoser at ubuntu.com
Wed Jan 8 15:42:17 UTC 2014


Package: euca2ools
Version: 3.0.2-1
Severity: normal

Dear Maintainer,

This bug is filed upstream at
https://eucalyptus.atlassian.net/browse/TOOLS-407 , and in Ubuntu at 
http://pad.lv/1266898 .
I'm uploading an ubuntu patch for the time being.

euca-get-console-output fails if output is not to a console with:
  euca-get-console-output: error: decode() argument 1 must be string, not None

$ dpkg-query --show euca2ools
euca2ools 3.0.2-1

$ IID=i-36874418
$ euca-get-console-output --region=us-east-1 $IID > /tmp/out
euca-get-console-output: error: decode() argument 1 must be string, not
None
$ echo $?
1

$ euca-get-console-output --region=us-east-1 $IID
.... output here ...
$ echo $?
0


-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12.0-2-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages euca2ools depends on:
ii  python                 2.7.5-5ubuntu3
ii  python-lxml            3.3.0~beta2-1
ii  python-requestbuilder  0.1.0~beta2-1
ii  python-requests        2.0.0-1
ii  python-setuptools      2.0.1-2ubuntu1
ii  python-six             1.4.1-1
pn  python:any             <none>

Versions of packages euca2ools recommends:
ii  openssl  1.0.1e-4ubuntu4

euca2ools suggests no packages.

-- no debconf information



More information about the pkg-eucalyptus-maintainers mailing list