That's a great feature I think, thanks Nicolas for pushing it! Marc-Aurèle
On Wed, Feb 7, 2018 at 3:19 PM, Nicolas Vazquez < nicolas.vazq...@shapeblue.com> wrote: > Hi all, > > > A feature has been introduced on 4.11.0 allowing to register templates > bypassing secondary storage using a new option 'Direct Download'. It allows > templates to be directly downloaded into primary storage at VM deployment > time. It is an experimental feature and it is currently supported on KVM > hypervisor only. PR: https://github.com/apache/cloudstack/pull/2379 > > > A brief description on the current implementation: > > - CloudStack allows registering Direct Download/Bypass Secondary Storage > templates for KVM hypervisor by setting the direct_download flag to true on > registerTemplate. > > - Templates are not downloaded to secondary storage after they are > registered on CloudStack, are marked as Bypass Secondary Storage and as > Ready for deployment. > > - When Bypassed templates are selected for VM deployment, download is > delegated to the agents, which would store the templates on primary storage > instead of copying them from secondary storage > > - Metalinks are supported, but aria2 dependency has to be manually > installed on the agents. > > > There are currently some PRs in progress for 4.11.1 with some improvements > for this functionality. > > > Any comments/ideas? > > > Thanks, > > Nicolas > > nicolas.vazq...@shapeblue.com > www.shapeblue.com > , > @shapeblue > > > >