Return-Path: X-Original-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5883A623A for ; Thu, 21 Jul 2011 11:12:46 +0000 (UTC) Received: (qmail 49988 invoked by uid 500); 21 Jul 2011 11:12:43 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 49230 invoked by uid 500); 21 Jul 2011 11:12:31 -0000 Mailing-List: contact deltacloud-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-dev@incubator.apache.org Received: (qmail 49170 invoked by uid 99); 21 Jul 2011 11:12:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 11:12:27 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of razorinc@gmail.com designates 209.85.213.47 as permitted sender) Received: from [209.85.213.47] (HELO mail-yw0-f47.google.com) (209.85.213.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 11:12:21 +0000 Received: by ywa12 with SMTP id 12so585370ywa.6 for ; Thu, 21 Jul 2011 04:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=fNlE8DStr1gHoMekmICtZM99ZiL4HqvvUREzpoPWJhY=; b=yIaRyGF9GLg/inCVjygX7ehZ6lk9Pe5hyFbL/Cwrijb8sDPY7ru+QeB/ysWRrO2EsW B3xGmBNOD1HYgHFkRId4ewtOb1dLdc83dL2eDEhiFyxeynZJNuRxumQk6eZWF6Dq5h2M t5NdBZyTKeVlJ/hKQpwp5kYvz9IckJhs4sXAw= MIME-Version: 1.0 Received: by 10.146.88.15 with SMTP id l15mr146235yab.6.1311246720339; Thu, 21 Jul 2011 04:12:00 -0700 (PDT) Received: by 10.147.38.19 with HTTP; Thu, 21 Jul 2011 04:12:00 -0700 (PDT) In-Reply-To: <899E5C3D-A748-42A8-9036-9FE394511742@redhat.com> References: <1311085179-3502-1-git-send-email-mfojtik@redhat.com> <1311085179-3502-5-git-send-email-mfojtik@redhat.com> <1311200950.3814.15.camel@avon.watzmann.net> <899E5C3D-A748-42A8-9036-9FE394511742@redhat.com> Date: Thu, 21 Jul 2011 13:12:00 +0200 Message-ID: Subject: Re: [PATCH core 4/4] Removed local mappings and switched to storing mappings in remote datastore. From: Francesco Vollero To: deltacloud-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Jul 21, 2011 at 1:06 PM, Michal Fojtik wrote: > > On Jul 21, 2011, at 12:44 AM, Francesco Vollero wrote: > >> On Thu, Jul 21, 2011 at 12:29 AM, David Lutterkort w= rote: >>> On Tue, 2011-07-19 at 16:19 +0200, mfojtik@redhat.com wrote: >>>> From: Michal Fojtik >>> >>> I have one nit with this patch series: >>> >>>> + =A0 =A0# You can use 'user_data' feature to set 'user_data' paramete= r when creating >>>> + =A0 =A0# a new instance where this parameter can hold gzipped CDROM = iso which will >>>> + =A0 =A0# be mounted into created instance after boot >>>> =A0 =A0 =A0feature :instances, :user_data >>> >>> We can't call this ISO upload 'user_data' in the API - there are very >>> different expectations around what that data is for vSphere than for >>> EC2/Euca. >>> >>> Instead, we should call this feature something else, say 'user_iso', an= d >>> accept a different parameter for it. >>> >> >> Tomorrow with Michal we gonna analyze the whole suggestion. >> >>> Ideally, we could also support the feature user_data straightup, with >>> the effect that we will create an ISO from it, place the user-supplied >>> data inside that ISO with a fixed file name, and attach that as the >>> CD-ROM. >>> >> >> Would be a bit tricky, because we need to deal with temporary iso file >> and this would break our choice to not store anything on deltacloud >> system, but tomorrow we start doing a brainstorming on that too :) > > + I think we will need to call 'mkisofs' or something similar in order > to build an ISO image, which will not work on Windows (except user will > install this utility via cygwin) > Yep. Exactly. Or use genisoimage that is a simple interface to mkisofs, linux-compatible but not windows compatible. > Instead of this I would prefer to use 'user_data' feature to set a 'extra= Config' > parameter for VM. Then script inside instance can eventually connect to t= he VSphere > SOAP API and fetch this data. I think in EC2 they use same behavior. > > =A0-- Michal > > ------------------------------------------------------ > Michal Fojtik, mfojtik@redhat.com > Deltacloud API: http://deltacloud.org > >