[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2012-02-20 Thread Garrett Holmstrom
** Changed in: euca2ools Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in Ubuntu. https://bugs.launchpad.net/bugs/509562 Title: euca-bundle-image returns Odd-length string

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2011-06-17 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/euca2ools -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to euca2ools in Ubuntu. https://bugs.launchpad.net/bugs/509562 Title: euca-bundle-image returns Odd-length string error To manage notifications

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2011-01-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-virt/ubuntu/natty/euca2ools/natty -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to euca2ools in ubuntu. https://bugs.launchpad.net/bugs/509562 Title: euca-bundle-image returns Odd-length string error --

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-12-10 Thread Mitch Garnaat
** Changed in: euca2ools Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to euca2ools in ubuntu. https://bugs.launchpad.net/bugs/509562 Title: euca-bundle-image returns Odd-length string error

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-11-07 Thread Mitch Garnaat
I have merged this patch in upstream. -- euca-bundle-image returns Odd-length string error https://bugs.launchpad.net/bugs/509562 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to euca2ools in ubuntu. -- Ubuntu-server-bugs mailing list

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-20 Thread Launchpad Bug Tracker
This bug was fixed in the package euca2ools - 1.2-0ubuntu11 --- euca2ools (1.2-0ubuntu11) maverick; urgency=low * euca-bundle-image: fix transient Odd-Length exception (LP: #509562) -- Scott Moser smo...@ubuntu.com Fri, 17 Sep 2010 12:14:30 -0400 ** Changed in: euca2ools

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-20 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/euca2ools -- euca-bundle-image returns Odd-length string error https://bugs.launchpad.net/bugs/509562 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. -- Ubuntu-server-bugs mailing list

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-20 Thread Scott Moser
OK, my patch changes what was expected to be 32 bits of randomness to 31 bits of randomness. Its probably not that big of a deal, but upstream should probably do: - key = hex(BN.rand(16 * 8,top=0))[2:34] + key = hex(BN.rand(17 * 8,top=0))[3:35] that will get the same 32 bits of randomness, but

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-20 Thread Scott Moser
** Patch removed: patch against upstream euca2ools https://bugs.launchpad.net/ubuntu/+source/eucalyptus/+bug/509562/+attachment/1599045/+files/lp-509562-euca2ools-upstream.diff -- euca-bundle-image returns Odd-length string error https://bugs.launchpad.net/bugs/509562 You received this bug

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-20 Thread Scott Moser
comment 12 contained a bad analysis. The code that is now committed to maverick gets 31.5 hex chars of randomness rather than 32. I'm not going to bother changing in maverick. That said, the right code for upstream is probably something like: # get 17 bytes of randomness with top bit a

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-17 Thread Launchpad Bug Tracker
** Branch linked: lp:~smoser/ubuntu/maverick/euca2ools/bug509562 -- euca-bundle-image returns Odd-length string error https://bugs.launchpad.net/bugs/509562 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. --

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-17 Thread Scott Moser
The problem was that the euca2ools/__init__.py was doing: iv = (hex(BN.rand(16 * 8,top=0)))[2:34] then unhexlify(iv) But BN.rand(16*8) is not guaranteed to return a number that is represented by 32 hex digits. I suspect that the .replace('L','c') was added to get around this issue. By

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-17 Thread Scott Moser
** Also affects: euca2ools Importance: Undecided Status: New -- euca-bundle-image returns Odd-length string error https://bugs.launchpad.net/bugs/509562 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. --

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-17 Thread Scott Moser
I've run the following with the fixed version and with the broken version: rm -f my.img ; truncate --size 1k my.img; for((i=0;i1000;i++)); do out=$(euca-bundle-image -i my.img 21) || { echo failed: ${out}; break; } ; [ $(($i%10)) -eq 0 ] echo i=$i; done ; the fixed has run to 1000

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-17 Thread Scott Moser
** Patch added: patch against upstream euca2ools https://bugs.launchpad.net/euca2ools/+bug/509562/+attachment/1599032/+files/lp-509562-euca2ools-upstream.diff ** Changed in: euca2ools Status: New = Confirmed ** Patch removed: patch against upstream euca2ools

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-17 Thread Scott Moser
I'm attaching the same patch against upstream euca2ools. ** Patch added: patch against upstream euca2ools https://bugs.launchpad.net/euca2ools/+bug/509562/+attachment/1599045/+files/lp-509562-euca2ools-upstream.diff -- euca-bundle-image returns Odd-length string error

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-17 Thread Dmitrii Zagorodnov
** Changed in: euca2ools Assignee: (unassigned) = Mitch Garnaat (mitch-garnaat) -- euca-bundle-image returns Odd-length string error https://bugs.launchpad.net/bugs/509562 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-09-16 Thread Scott Moser
I found the what is at fault here, the following program demonstrates the error: #!/usr/bin/python from M2Crypto import BN, EVP, RSA, util, Rand, m2, X509 from binascii import hexlify, unhexlify i=0 while True: i=i+1 try: iv = (hex(BN.rand(16 * 8))[2:34]).replace('L', 'c') uh =

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-01-29 Thread Dustin Kirkland
Marking invalid against Eucalyptus, as Dan says the bug is in euca2ool (or perhaps the image-store-proxy). ** Changed in: eucalyptus (Ubuntu) Status: Confirmed = Invalid -- euca-bundle-image returns Odd-length string error https://bugs.launchpad.net/bugs/509562 You received this bug

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-01-29 Thread Neil Soman
I can't confirm this against euca2ools upstream. Is there a sample image that can be used stand alone with euca2ools in order to verify this? ** Changed in: euca2ools (Ubuntu) Status: Confirmed = Incomplete -- euca-bundle-image returns Odd-length string error

[Bug 509562] Re: euca-bundle-image returns Odd-length string error

2010-01-19 Thread bvidinli_ehcp
i want to state that, currently, I cannot use eucalyptus or ubuntu cloud services, in my server. -- euca-bundle-image returns Odd-length string error https://bugs.launchpad.net/bugs/509562 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to