Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-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 71248DC63 for ; Mon, 4 Mar 2013 23:01:42 +0000 (UTC) Received: (qmail 64232 invoked by uid 500); 4 Mar 2013 23:01:42 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 64196 invoked by uid 500); 4 Mar 2013 23:01:42 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 64187 invoked by uid 99); 4 Mar 2013 23:01:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 23:01:41 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.134.164.83] (HELO mail2-relais-roc.national.inria.fr) (192.134.164.83) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 23:01:33 +0000 X-IronPort-AV: E=Sophos;i="4.84,783,1355094000"; d="scan'208,217";a="5476312" Received: from zmbs2.inria.fr ([128.93.142.15]) by mail2-relais-roc.national.inria.fr with ESMTP; 05 Mar 2013 00:01:13 +0100 Date: Tue, 5 Mar 2013 00:01:13 +0100 (CET) From: Julien Garet To: "cloudstack-dev@incubator.apache.org" Message-ID: <32068327.2681227.1362438073068.JavaMail.root@inria.fr> In-Reply-To: <974992067.2677045.1362436828284.JavaMail.root@inria.fr> Subject: Understanding how instance creation works with vSphere MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2681226_624684930.1362438073066" X-Originating-IP: [78.219.80.209] X-Mailer: Zimbra 7.2.2_GA_2857 (ZimbraWebClient - SAF3 (Mac)/7.2.2_GA_2852) X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2681226_624684930.1362438073066 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I am currently trying to see if we can make OSX guests work with CloudStack. We are now able to create instances that are recognized as OSX VMs in CS. We also have working template VMs, exported as ova and then imported back in CloudStack. But the instances do not boot. So I am trying to manually reproduce the steps CloudStack is doing when creating an instance in vSphere, to find where it fails. What I have understood so far is : - CloudStack checks if a template VM from the ova exists on the primary storage where the instance will be created - If not : - deploy the ova as VM to the primary storage - make a snapshot of this VM - convert the VM as template - register the template in table template_spool_ref - when template is on Primary Storage : - create a linked clone of the template - remove the VM from inventory - create a new VM, with the requested hardware (CPU+RAM) - attach the linked clone disk to the new VM Do I miss some steps ? I also think that the template VM always has the same name, how is that ID chosen ? I have tried to reproduce the steps for having the template VM available on primary storage, but when I try to create an instance after, there is an error issued : " Unable to find base snapshot template, invalid template". Shouldn't that work ? ---- Julien Garet ------=_Part_2681226_624684930.1362438073066--