[openstack-dev] [glance] ova support in glance

Arnaud Legendre alegendre at vmware.com
Mon Jul 28 18:59:13 UTC 2014


Hi Malini,

I would be pleased to work with you on the effort to make the import of OVA working out of tree using the Glance tasks.
I am sure many people will be delighted by this feature and I also agree with Mark in the fact that there might be a problem a message by bringing this feature in the tree. Consequently, I definitely see a StackForge project as a good candidate for the import/export workflows we don’t want upstream in the Glance codebase.

As mentioned at the meetup, we are not far to have the import tasks engine to be merged (we committed to less than 3 weeks). So, I think we can start working on this very soon.

Thank you,
Arnaud


On Jul 26, 2014, at 10:39 AM, Georgy Okrokvertskhov <gokrokvertskhov at mirantis.com<mailto:gokrokvertskhov at mirantis.com>> wrote:

Hi,

Please take a look at this document: http://www.dmtf.org/sites/default/files/standards/documents/DSP0265_1.0.0.pdf<https://urldefense.proofpoint.com/v1/url?u=http://www.dmtf.org/sites/default/files/standards/documents/DSP0265_1.0.0.pdf&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=5wWaXo2oVaivfKLCMyU6Z9UTO8HOfeGCzbGHAT4gZpo%3D%0A&m=YQSwSUEuCghCz1eHV6bZWyeQ6YkFS3gVnL0vmjn9WXo%3D%0A&s=5f62a9a4a54977f16e77ad73943deb2e0826b51387f7bb7f4a3fea0e68278b01>.
There are clarifications of what is OVF and how it should be used. Check section 9 for use cases.
>From our experience OVA\OVF are used to deliver applications in form of pre-backed images + deployment options to successfully deploy this application. OVF format is close to TOSCA and can define not only resources but network configuration, startup scripts, software installation and license agreement for proprietary software.

I want to highlight that OVA  import procedure in VMWare ends with actual instance creation rather then keeping disk images. And there is a reason for that as OVF defines the deployment procedures and VMWare even will generate UI to ask specific deployment parameters like IP addresses, hostnames and Application specific options.

We had OVA experience in Murano project. We had a customer who uses virtual appliances distributed in form of OVA. We had to convert them to a set of image+heat-template+murano workflow/UI. I think we are going to support Applications in OVA format in Murano as we already plan to support other formats like TOSCA and APS (Parallels application standard).

Thanks
Georgy


On Sat, Jul 26, 2014 at 7:19 AM, Mark Washenberger <mark.washenberger at markwash.net<mailto:mark.washenberger at markwash.net>> wrote:
Thanks for sending out this message Malini.

I'm really pleased that the "image import" mechanism we've been working on in Glance for a while is going to be helpful for supporting this kind of use case.

The problem that I see is one of messaging. If we tell end users that "OpenStack can import and run OVAs" I think we're probably setting ourselves up for a serious problem with expectations. Since an OVA is *not* an image, and actually could be much broader in scope or more constrained, I'm worried that this import will fail for most users most of the time. This just creates a negative impression of our cloud, and may cause a significant support headache for some of our deployers.

The plan I propose to respond to this challenge is as follows:

1) develop the initial OVA image import out of tree
    - the basic functionality is just to grab the root disk out of the ova and to set image properties based on some of the ovf metadata
2) assess what the median level of OVA complexity is out there in the wild among OVA users
3) make sufficient progress with artifacts to ensure we can cover the median level of OVA complexity in an OpenStack accessible way
    - openstack accessible to me means there probably has to be qemu-image / libvirt / heat support for a given OVA concept
4) Bring OVA import into the main tree as part of the "General Import" [1] operation once that artifact progress has been made

However, I'm very interested to know if there are some folks more embedded with operators and deployers who can reassure me that this OVA messaging problem can be dealt with another way.

Thanks!


[1] As a reminder, the "General Import" item on our hazy future backlog is different from "Image Import" in the following way. For an image import, you are explicitly trying to create an image. For the general import, you show up to the cloud with some information and just ask for it to be imported, the import task itself will inspect the data you provide to determine what, if anything, can be created for it. This works well for OVAs because we may want to produce a disk image, a block device mapping artifact, or even up to the level of a heat template.


On Fri, Jul 25, 2014 at 7:08 PM, Bhandaru, Malini K <malini.k.bhandaru at intel.com<mailto:malini.k.bhandaru at intel.com>> wrote:
Hello Everyone!

We were discussing the following blueprint in Glance:
Enhanced-Platform-Awareness-OVF-Meta-Data-Import :https://review.openstack.org/#/c/104904/

The OVA format is very rich and the proposal here in its first incarnation is to essentially
Untar the ova package, andimport the first disk image therein and parse the ovf file and attach meta data to the disk image.
There is a nova effort  in a similar vein that supports OVA, limiting its availability to the VMWare hypervisor. Our efforts will combine.

The issue that is raised is how many openstack users and OpenStack cloud providers tackle OVA data with multiple disk images, using them as an application.
Do your users using OVA with content other than 1 disk image + OVF?
That is does it have other files that are used? Do any of you use OVAs with snapshot chains?
Would this solution path break your system, result in unhappy users?


If the solution will at least address 50% of the use cases, a low bar, and ease deploying NFV applications, this would be worthy.
If so, how would we message around this so as not to imply that OpenStack supports OVA in its full glory?

Down the road the Artefacts blueprint will provide a place holder for OVA. Perhaps even the OVA format may be transformed into a Heat template to work in OpenStack.

Please do prov ide us your feedback.
Regards
Malini


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




--
Georgy Okrokvertskhov
Architect,
OpenStack Platform Products,
Mirantis
http://www.mirantis.com<https://urldefense.proofpoint.com/v1/url?u=http://www.mirantis.com/&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=5wWaXo2oVaivfKLCMyU6Z9UTO8HOfeGCzbGHAT4gZpo%3D%0A&m=YQSwSUEuCghCz1eHV6bZWyeQ6YkFS3gVnL0vmjn9WXo%3D%0A&s=8c0ff84ede431dc77e4519f9d59fdfd3c88fb36057a8e8ea52f8ba840050a8f3>
Tel. +1 650 963 9828
Mob. +1 650 996 3284
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140728/ba344f74/attachment.html>


More information about the OpenStack-dev mailing list