ephemeral device (local_gb) does not get a filesystem

Bug #851145 reported by Scott Moser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Scott Moser

Bug Description

after bug 827598 was merged, we now get a filesystem on ephemeral0 if the instance is launched with '--block-device-mapping ephemeral0=/dev/vdb'. If the instance is not launched with that, then the user gets the block device, but no filesystem.

This is because, in that case, 'local_gb' is used as ephemeral0 rather than the ephemeral0 block device.

This works:
 euca-run-instances ami-00000003 --instance-type m1.small --block-device-mapping /dev/vdb=ephemeral0

This does not:
 euca-run-instances ami-00000003 --instance-type m1.small

Related branches

Scott Moser (smoser)
Changed in nova:
assignee: nobody → Scott Moser (smoser)
status: New → In Progress
Revision history for this message
Scott Moser (smoser) wrote :

I just put a gist at https://gist.github.com/1223189
with the 'cat-bdinfo' script that i was using to help debug this.

It makes it easy to launch an instance and then see the instance's view of block-device-mapping, /proc/partitions, and blkid output

Revision history for this message
Isaku Yamahata (yamahata) wrote : Re: [Bug 851145] Re: ephemeral device (local_gb) does not get a filesystem

On Fri, Sep 16, 2011 at 09:23:15PM -0000, Scott Moser wrote:
> I just put a gist at https://gist.github.com/1223189
> with the 'cat-bdinfo' script that i was using to help debug this.
>
> It makes it easy to launch an instance and then see the instance's view
> of block-device-mapping, /proc/partitions, and blkid output

Great. How about putting it into nova/tools/?
So everyone can be use it easily without extra download.

Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.3
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → High
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.