From dev-return-110827-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Thu Feb 8 15:03:55 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 663B018064F for ; Thu, 8 Feb 2018 15:03:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 56379160C4A; Thu, 8 Feb 2018 14:03:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9A7EC160C3D for ; Thu, 8 Feb 2018 15:03:54 +0100 (CET) Received: (qmail 33457 invoked by uid 500); 8 Feb 2018 14:03:53 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 33441 invoked by uid 99); 8 Feb 2018 14:03:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2018 14:03:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 24455180329 for ; Thu, 8 Feb 2018 14:03:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.102 X-Spam-Level: X-Spam-Status: No, score=-0.102 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=li.nux.ro Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GQUTzvTVOnPs for ; Thu, 8 Feb 2018 14:03:49 +0000 (UTC) Received: from mailserver.lastdot.org (mailserver.lastdot.org [31.193.175.196]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7669A5F343 for ; Thu, 8 Feb 2018 14:03:48 +0000 (UTC) Received: from localhost (localhost [IPv6:::1]) by mailserver.lastdot.org (Postfix) with ESMTP id 4922D23964 for ; Thu, 8 Feb 2018 14:03:42 +0000 (GMT) Received: from mailserver.lastdot.org ([IPv6:::1]) by localhost (mailserver.lastdot.org [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id RcjpcrIFKpL5 for ; Thu, 8 Feb 2018 14:03:38 +0000 (GMT) Received: from localhost (localhost [IPv6:::1]) by mailserver.lastdot.org (Postfix) with ESMTP id B71FE23965 for ; Thu, 8 Feb 2018 14:03:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.10.3 mailserver.lastdot.org B71FE23965 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=li.nux.ro; s=C605E3A6-F3C6-11E3-AEB0-DFF9218DCAC4; t=1518098618; bh=ppo23sjwpfGBj0yyA9glhBykP6z2GyITgQMyrrJDt0Y=; h=Date:From:To:Message-ID:MIME-Version; b=KuEFVcHqEzC6R/dhJ/WYCYx75Kr5dZgYdZBKQqj9bEzMLjYGOK2bjiP1rpvynyNgW pt6B8FuOMkof+Y4TI2vXHp2A0073QBdnpaqkWwe7hKiR9aif6Oscn4SXkG3G3ZPwlN wFGh4ucOsjKE+2TxFbNmlJXX8gRGdyEobcM+Fx0Q= X-Virus-Scanned: amavisd-new at mailserver.lastdot.org Received: from mailserver.lastdot.org ([IPv6:::1]) by localhost (mailserver.lastdot.org [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id xI1n5h2S5-Tk for ; Thu, 8 Feb 2018 14:03:38 +0000 (GMT) Received: from mailserver.lastdot.org (mailserver.lastdot.org [31.193.175.196]) by mailserver.lastdot.org (Postfix) with ESMTP id 5A73723964 for ; Thu, 8 Feb 2018 14:03:37 +0000 (GMT) Date: Thu, 8 Feb 2018 14:03:36 +0000 (GMT) From: Nux! To: dev Message-ID: <245142892.7331.1518098616937.JavaMail.zimbra@li.nux.ro> In-Reply-To: References: Subject: Re: Experimental - Direct download for templates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.7.0_GA_1659 (ZimbraWebClient - FF58 (Linux)/8.7.0_GA_1659) Thread-Topic: Experimental - Direct download for templates Thread-Index: AQHToB40j0mijXM8TUuPJurH+TugK/II3Syx Hello, Can you clarify the following about this feature: - Is local storage supported? - if above is Yes, then how are the templates synced between HVs? - will it require a permanent repository of templates to be available whenever a new HV needs to deploy them? Thanks, Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- > From: "Nicolas Vazquez" > To: "dev" > Sent: Wednesday, 7 February, 2018 14:19:55 > Subject: Experimental - Direct download for templates > 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.Vazquez@shapeblue.com > www.shapeblue.com > , > @shapeblue