Re: [Openstack] Glance x-image-meta-type raw vs machine

2011-01-10 Thread Jay Pipes
On Sat, Jan 1, 2011 at 7:30 PM, Ewan Mellor wrote: > What is the intended semantics of the Glance x-image-meta-type header values > “raw” vs “machine”? When we pulled the Image model from Nova into Glance, there was a field "image_type" that was limited to the strings "raw", "machine", "kernel",

Re: [Openstack] Glance/Nova Snapshot Changes

2011-01-10 Thread Jay Pipes
On Thu, Dec 30, 2010 at 5:38 PM, Rick Harris wrote: > In developing Nova's instance snapshots, I've run into a little snag > revolving around somed design decisions in both Nova and Glance.  I have a > plan that I'd like to move forward with ASAP, so please, if you see any > problems or have any o

Re: [Openstack] Glance x-image-meta-type raw vs machine

2011-01-10 Thread John Purrier
My 2 cents... We need to define a transport-neutral specification that allows us to encapsulate and copy/move a variety of virtual image formats, this should be based on OVF. The envelope can contain both the actual image as well as any required meta-data. The image elements specified are very

Re: [Openstack] Glance x-image-meta-type raw vs machine

2011-01-10 Thread Jay Pipes
And I think we need to come to an agreement on the terms used here... What is a "type" of virtual image? Do we mean a *disk* image format? Do we mean a *metadata envelope* type (OVF, AMI, etc)? Do we mean some "type" of system image or image part (kernel, ramdisk, etc)? What Glance is serving/reg

Re: [Openstack] Glance x-image-meta-type raw vs machine

2011-01-10 Thread John Purrier
Jay, this makes a lot of sense. For disk formats I would suggest: VHD, VDI, VMDK, RAW, & QCOW2. For the appliance formats: OVF, OVA, & AMI. Conversion within Glance will need to be able to handle both disk image conversion and appliance format conversion. John -Original Message- From:

Re: [Openstack] Glance x-image-meta-type raw vs machine

2011-01-10 Thread Erik Carlin
Correct me if I am wrong, but I believe AMIs use IMG so that should be another disk format a well (it would be the only one in the AMI appliance format unless AWS changes it). Is there enough variance in the virtual disk and envelope formats over time that we want to include version columns or wou

Re: [Openstack] Glance x-image-meta-type raw vs machine

2011-01-10 Thread Jay Pipes
On Mon, Jan 10, 2011 at 1:49 PM, Erik Carlin wrote: > Correct me if I am wrong, but I believe AMIs use IMG so that should be > another disk format a well (it would be the only one in the AMI appliance > format unless AWS changes it).  Is there enough variance in the virtual > disk and envelope for