From users-return-33837-apmail-cloudstack-users-archive=cloudstack.apache.org@cloudstack.apache.org Fri Dec 13 17:12:59 2019 Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 4E1E819A6D for ; Fri, 13 Dec 2019 17:12:59 +0000 (UTC) Received: (qmail 56642 invoked by uid 500); 13 Dec 2019 17:12:56 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 56588 invoked by uid 500); 13 Dec 2019 17:12:56 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 56570 invoked by uid 99); 13 Dec 2019 17:12:56 -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; Fri, 13 Dec 2019 17:12:56 +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 7FF65181394 for ; Fri, 13 Dec 2019 17:12:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id wDEKK_b-ersL for ; Fri, 13 Dec 2019 17:12:54 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.43; helo=mail-ed1-f43.google.com; envelope-from=andrija.panic@gmail.com; receiver= Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id F1A18BC509 for ; Fri, 13 Dec 2019 17:12:53 +0000 (UTC) Received: by mail-ed1-f43.google.com with SMTP id v16so76300edy.6 for ; Fri, 13 Dec 2019 09:12:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=E4J1bSvW2EqYmBuNEtkUTsdF86PvxCLBfmRv8F/T7ek=; b=F6mRxfX9taAnWutW5kG4aa7S5VEmR6kHkr4uuHShsKa3+F5bQaFxfzOJ+TVgpk2LQw LQjNjSX4XxwTekuJvkPr7eImm4GwVKg7r2oAi7ud2guZD5djgMm99pqIrvJesdPfkZB7 H+rtL15pJd2uBzQLvOeZyf5AR0X9vOfqaDKpf97DxfYSinPro7bE/kUBpEE5DB2NqO1M 8bDBbJWcsRCVErCfQWXTxeLvcoJoOKLc5ft8NwskKYaWu5Uktijm5MwbaP3jECm7LbRo eFMMcsoG/WFDWMC3fJhBNXucHiLJZk4y8iiUYJ/EsLg84nYB46F3D+9ENCqzUFUVEUL+ CoIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=E4J1bSvW2EqYmBuNEtkUTsdF86PvxCLBfmRv8F/T7ek=; b=K+VsddnMhfYLazeqHy7NOSTUJ9LZGm8ZdpsUDXKeU79os6DmPAFcH8Him47eJrScAt 4AhN/bVqilIa5sx5d0UEewHAdMZgNy24MQ9P0ujTpWIPC987tIBBqUWKmFajwdOAQE3Z qxn4C+xmm96zc0s3eLZ0RxBIxN/wBJpI6U05cfoElbcPrpLmBoOdZWdr5ep07F5f/lMI MI7YfoWslA8sq5umYAJpVWpyUeziy4HNOefqV6n2W3f8rpLUC/TRXrI7qWeZtpXIVZcH 2bu5zpg94OaywRmwYs18p//6CXOiAhkIb9vVVXjttOjusTiofMjfZFk/eG62ESFjVs5D hATQ== X-Gm-Message-State: APjAAAVE1wt3+9ErECxvrKfoylEg2Qn4Og9USwYDA1HtvQmRLx8y1Wi0 X6Xrw/rZDCU6U9w0y6kSK7cUk5YOX+7TERpE1T6o+g== X-Google-Smtp-Source: APXvYqyM+c4i3YWDk16v8cDs3myJdC0OlJBvTxVSRbsG1Ho0HZxzQ2JWeRYkkw/p6Ul+TGON5bqncDpqCUcpR0xJ9ug= X-Received: by 2002:a17:906:1c89:: with SMTP id g9mr17351362ejh.114.1576257172881; Fri, 13 Dec 2019 09:12:52 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Andrija Panic Date: Fri, 13 Dec 2019 18:12:41 +0100 Message-ID: Subject: Re: VM from ISO cannot execute restoreVirtualMachine To: users Content-Type: multipart/alternative; boundary="000000000000dd4657059998f84d" --000000000000dd4657059998f84d Content-Type: text/plain; charset="UTF-8" File a GitHub issue/request for improvement Li... On Fri, 13 Dec 2019, 14:48 Riepl, Gregor (SWISS TXT), < Gregor.Riepl@swisstxt.ch> wrote: > Hi Jerry, > > I think this is because of the way a VM is tied to its root disk, and how > a root disk is chained to its template. > VMs created from ISO do not have such a chain. > > Technically, it shouldn't be an issue to swap out the root disk entirely, > though... > > Regards, > Gregor > ________________________________ > From: li jerry > Sent: 10 December 2019 10:43 > To: dev@cloudstack.apache.org ; > users@cloudstack.apache.org > Subject: VM from ISO cannot execute restoreVirtualMachine > > Hello All > When I analyzed the restoreVirtualMachine API, I found that If the VM is > from ISO, newTemplate can only be ISO when executing restoreVirtualMachine. > > Why do we have such a design? > > From our application scenarios (I think most of them are the same), the VM > created by the user through ISO may need to be reinstalled through template > later. > > > > -Jerry > > --000000000000dd4657059998f84d--