Bug 1329215

Summary: [RFE] Support virt-builder image repositories as external image providers
Product: [oVirt] ovirt-engine Reporter: Barak Korren <bkorren>
Component: RFEsAssignee: Rob Young <royoung>
Status: CLOSED WONTFIX QA Contact: Gil Klein <gklein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: futureCC: bugs, dfediuck, eedri, michal.skrivanek, sbonazzo, ylavi
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: amureini: ovirt-future?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-27 13:33:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Barak Korren 2016-04-21 12:31:16 UTC
Description of problem:
virt-builder defines a simple format for creating remote image repositories for libvirt VM images [1]. The format is far simpler to setup then Glance, it requires nothing but a simple web server and a plain-test index file.

virt-builder is configured by default to use libguestfs.org which already includes templates for many common OSes which would be niche to have easily accessible from oVirt [2]

This repository format is also already supported by RHEL[3], OpenSUSE [4] is now also being discussed in Fedora [5] and CentOS [6].

The Lago project also chose this format as its native image repository format because of its simplicity [7].

It seems desirable that all those image sources would be easily accessible from oVirt.

[1]: http://libguestfs.org/virt-builder.1.html#sources-of-templates
[2]: http://libguestfs.org/download/builder/index.asc
[3]: https://brewweb.engineering.redhat.com/brew/fileinfo?rpmID=4175452&filename=/usr/share/rhel-guest-image-7/virt-builder-index (sorry, internal link)
[4]: http://download.opensuse.org/repositories/Virtualization:/virt-builder-images/images/index
[5]: https://bugs.centos.org/view.php?id=10730
[6]: https://lists.fedoraproject.org/pipermail/devel/2015-May/210705.html
[7]: https://github.com/lago-project/lago-images

Comment 1 Yaniv Kaul 2016-04-21 12:56:42 UTC
Oved - thoughts? I think it's one of those features the community can really use (as opposed to Glance, which is a bit more challenging to set up). Any rough estimation of the effort required?

Comment 2 Oved Ourfali 2016-04-21 13:02:51 UTC
(In reply to Yaniv Kaul from comment #1)
> Oved - thoughts? I think it's one of those features the community can really
> use (as opposed to Glance, which is a bit more challenging to set up). Any
> rough estimation of the effort required?

Sounds like a storage feature, such as the glance integration.
Not familiar enough with it, but conseptually the infrastructure of the external providers can support any provider that is consumed by URL, username, password and optionally a tenant.
All the rest is by the relevant vertical to implement, so hard for me to estimate.

Moving to storage (and cc-ing Allon).

Comment 3 Allon Mureinik 2016-04-21 13:46:44 UTC
Adding also Michal and Sandro - it's probably something between storage, virt and integration.

But sure, we can take lead on this post 4.0

Comment 4 Doron Fediuck 2018-05-27 13:33:42 UTC
Closing old RFEs.
If relevant, please re-open and explain why.
As always- patches are welcomed!