euca-describe-images does not show kernel and ramdisk for an image

Bug #439366 reported by Scott Moser on 2009-09-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
Undecided
Unassigned
euca2ools (Ubuntu)
Medium
Dustin Kirkland 

Bug Description

Below is a snippit of output for a AMI, AKI, ARI tripplet from from 'ec2-describe-images -a' and 'euca-describe-images -a' respectively. Note that the euca-describe-images output does not list the aki and ari that are paired with the ami. This output is both useful and possibly depended on by tools.

Explicitly, in this example, the it is missing ami-9ab350f3 line is missing 2 final fields:
 aki-8aa84be3 ari-8ea84be7

=== euca2ools ===
IMAGE ami-9ab350f3 canonical-testing-us/karmic-x86_64-20090929.manifest.xml 099720109477 available public x86_64 machine
IMAGE aki-8aa84be3 canonical-testing-us/ubuntu-kernel-2.6.31-300.3-ec2-x86_64.manifest.xml 099720109477 available public x86_64 kernel
IMAGE ari-8ea84be7 canonical-testing-us/ubuntu-ramdisk-2.6.31-300.3-ec2-x86_64.manifest.xml 099720109477 available public x86_64 ramdisk

=== ec2tools ===
IMAGE ami-9ab350f3 canonical-testing-us/karmic-x86_64-20090929.manifest.xml 099720109477 available public x86_64 machine aki-8aa84be3 ari-8ea84be7
IMAGE aki-8aa84be3 canonical-testing-us/ubuntu-kernel-2.6.31-300.3-ec2-x86_64.manifest.xml 099720109477 available public x86_64 kernel
IMAGE ari-8ea84be7 canonical-testing-us/ubuntu-ramdisk-2.6.31-300.3-ec2-x86_64.manifest.xml 099720109477 available public x86_64 ramdisk

Scott Moser (smoser) wrote :

euca2ools here is 1.0+bzr20090923-0ubuntu1

Scott Moser (smoser) wrote :

Proposed patch, this adds ramdisk_id and kernel_id to output as described at
http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-DescribeImages.html

It also fixes a bug where 'image availability' contains a space instead of a tab after it.

Patch is against current branch lp:eucalyptus/euca2ools-1.0 .

Neil Soman (neilsoman) wrote :

Verified that proposed patch does not cause regressions.

I have applied it and pushed it.

------------------------------------------------------------
revno: 237
committer: Neil
branch nick: euca2ools-1.0
timestamp: Mon 2009-12-14 16:23:16 -0800
message:
  fixes LP: #439366
------------------------------------------------------------

Thanks for making euca2ools better.

Scott Moser (smoser) on 2009-12-15
affects: ubuntu → euca2ools (Ubuntu)
Changed in eucalyptus:
status: New → Fix Committed
Thierry Carrez (ttx) on 2009-12-16
Changed in euca2ools (Ubuntu):
status: Confirmed → Triaged
Dustin Kirkland  (kirkland) wrote :

Fixed upstream... Merging...

Changed in euca2ools (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Dustin Kirkland (kirkland)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package euca2ools - 1.1~bzr238-0ubuntu1

---------------
euca2ools (1.1~bzr238-0ubuntu1) lucid; urgency=low

  * Merge from upstream bzr revision; should fix:
    - LP: #497495 - parse dir path correctly in euca-delete-bundle
    - LP: #439366 - show kernel and ramdisk in euca-describe-images
    - LP: #495618 - show blk dev mappings in euca-describe-image-attribute
    - LP: #485106 - read credentials from config file
    - LP: #450044 - create tmpfs mounts in euca-bundle-vol
    - LP: #479823 - correctly handle userid in euca-bundle-vol
    - LP: #461301 - fix user data encoding
  * Also, created Ubuntu packaging branch, with a common root to the upstream
    project
 -- Dustin Kirkland <email address hidden> Tue, 05 Jan 2010 23:13:36 -0600

Changed in euca2ools (Ubuntu):
status: In Progress → Fix Released
Changed in eucalyptus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers