<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Please provide feedback about a proposal to add 'tar' as a new Glance disk_format.[0]</div>
<div><br>
</div>
<div>The Ironic team is adding support for "OS tarball images" in Mitaka.  This is a compressed tar archive of a / (root filesystem). These tarballs are created by first installing the OS packages in a chroot and then compressing the chroot as tar.*.  The proposal
 is to store such images as disk_format == tar and container_format == bare.</div>
<div><br>
</div>
<div>Intuitively, 'tar' seems more like a container_format.  The Glance developer documentation, however, says that "The container format refers to whether the virtual machine image is in a file format that also contains metadata about the actual virtual machine."[1]
  Under this proposal, there is no such metadata included.</div>
<div><br>
</div>
<div>The Glance docs say this about disk_format: "The disk format of a virtual machine image is the format of the underlying disk image. Virtual appliance vendors have different formats for laying out the information contained in a virtual machine disk image."[1]
  Under this definition, 'tar' as used in this proposal [0] does in fact seem to be a disk_format.</div>
<div><br>
</div>
<div>There is not currently a 'tar' container format defined for Glance.  The closest we have now is 'ova' (an OVA tar archive file) and 'docker' (a Docker tar archive of the container filesystem).  And, in fact, 'tar' as a container format wouldn't be very
 helpful, as it doesn't indicate where in the tarball the metadata should be found.</div>
<div><br>
</div>
<div>The goal here is to come up with an identifier for an "OS tarball image" that's acceptable across projects and isn't confusing for people who are creating images.</div>
<div><br>
</div>
<div>Thanks in advance for your feedback,</div>
<div>brian</div>
<div><br>
</div>
<div>
<div>[0] https://bugs.launchpad.net/glance/+bug/1535900</div>
<div>[1] https://github.com/openstack/glance/blob/master/doc/source/formats.rst</div>
</div>
</div>
<div><br>
</div>
</body>
</html>