[Bug 513842] [NEW] block-device-mapping in metadata has 'ephemeral' not 'ephemeral0'

Scott Moser smoser at canonical.com
Thu Jan 28 16:02:05 GMT 2010


Public bug reported:

ubuntu at 172:~$ python -c 'import boto.utils, pprint; pprint.pprint(boto.utils.get_instance_metadata())'
{'ami-id': 'emi-C8F2149C',
 'ami-launch-index': '0',
 'ami-manifest-path': 'http://192.168.0.151:8773/services/Walrus/i-20100125133728/lucid-server-uec-amd64.img.manifest.xml',
 'ancestor-ami-ids': '',
 'block-device-mapping': {'emi': 'sda1',
                          'ephemeral': 'sda2',
                          'root': '/dev/sda1',
                          'swap': 'sda3'},
<snip>

Above is from eucalyptus.  Below is block-device-mapping from ec2:
 'block-device-mapping': {'ami': 'sda1',
                          'ephemeral0': 'sda2',
                          'root': '/dev/sda1',
                          'swap': 'sda3'},

The difference to note here is 'ephemeral', not 'ephemeral0'.  This is
easily reproduced with:

$ wget http://169.254.169.254/latest/meta-data/block-device-mapping -q -O -
ami
ephemeral0
root

Seen on eucalyptus 1.6.2~bzr1136-0ubuntu1

** Affects: eucalyptus (Ubuntu)
     Importance: Medium
         Status: New

-- 
block-device-mapping in metadata has 'ephemeral' not 'ephemeral0'
https://bugs.launchpad.net/bugs/513842
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list