Comment 15 for bug 588861

Chris Cheney (ccheney) wrote :

After changing my test to just be registering the images per Dave's recommendation I was able to come up with this list:

I tested the following kernels, 10 times each:

Passed:
v2.6.32 (10/10)
v2.6.32.15.5-lucid (10/10)

Failed:
v2.6.33 (10/10)
v2.6.34-rc3-maverick (10/10)
v2.6.34-lucid (09/10) (weird python failure instead for 1 of them, see below)

So it looks like it broken between 2.6.32.15.5 and 2.6.33.

--

Sun Jun 20 23:57:09 CDT 2010: ====== extracting image ======
Warning: no ramdisk found, assuming '--ramdisk none'
kernel : lucid-server-uec-amd64-vmlinuz-virtual
ramdisk: none
image : lucid-server-uec-amd64.img
Sun Jun 20 23:57:17 CDT 2010: ====== bundle/upload kernel ======
Sun Jun 20 23:57:19 CDT 2010: ====== bundle/upload image ======
Traceback (most recent call last):
  File "/usr/bin/euca-bundle-image", line 231, in <module>
    main()
  File "/usr/bin/euca-bundle-image", line 209, in main
    encrypted_file, key, iv, bundled_size = euca.encrypt_image(tgz_file)
  File "/usr/lib/python2.6/dist-packages/euca2ools/__init__.py", line 579, in encrypt_image
    k=EVP.Cipher(alg='aes_128_cbc', key=unhexlify(key), iv=unhexlify(iv), op=1)
TypeError: Odd-length string
failed to bundle image lucid-server-uec-amd64.img
failed bundle/upload/register of image
Encrypting image

--