Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ACC40200D5D for ; Wed, 20 Dec 2017 11:23:13 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id ABB14160C15; Wed, 20 Dec 2017 10:23:13 +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 F1591160C0A for ; Wed, 20 Dec 2017 11:23:12 +0100 (CET) Received: (qmail 7730 invoked by uid 500); 20 Dec 2017 10:23:07 -0000 Mailing-List: contact issues-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 issues@cloudstack.apache.org Received: (qmail 7721 invoked by uid 500); 20 Dec 2017 10:23:07 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 7718 invoked by uid 99); 20 Dec 2017 10:23:07 -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; Wed, 20 Dec 2017 10:23:07 +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 ACC3518078F for ; Wed, 20 Dec 2017 10:23:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id TgR1yQ0Cl3NK for ; Wed, 20 Dec 2017 10:23:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E10435FBAC for ; Wed, 20 Dec 2017 10:23:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D3A89E25C6 for ; Wed, 20 Dec 2017 10:23:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 95BCF24116 for ; Wed, 20 Dec 2017 10:23:01 +0000 (UTC) Date: Wed, 20 Dec 2017 10:23:01 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9953) [Vmware][UI] The root disk resize option for VMWare should only be set when required global setting allows it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 20 Dec 2017 10:23:13 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16298232#comment-16298232 ] ASF subversion and git services commented on CLOUDSTACK-9953: ------------------------------------------------------------- Commit 4f9a5dbe3f7616564a9ace90ca031974a4764164 in cloudstack's branch refs/heads/debian9-systemvmtemplate from [~rohit.yadav@shapeblue.com] [ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=4f9a5db ] CLOUDSTACK-9953: Resize root disk for VMware when full clone is enabled Resize for VMware root disk should only be performed during VM start when vmware.create.full.clone is true i.e. the disk chain length is one. Signed-off-by: Rohit Yadav > [Vmware][UI] The root disk resize option for VMWare should only be set when required global setting allows it > ------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-9953 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9953 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: UI, VMware > Affects Versions: 4.10.1.0 > Environment: vmware 5.5, MS 4.10 > Reporter: Abhinandan Prateek > Assignee: Rohit Yadav > Priority: Minor > Fix For: Future, 4.11.0.0 > > > When I give a size of 10GB to the root disk while creating VM I see and insufficient capacity exception in the UI. > In the logs I see that the MS failed to resize disk: > 200, unit number: 1 > 2017-06-10 01:51:43,691 INFO [c.c.h.v.m.VirtualMachineMO] (DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand) (logid:1725a568) Test against disk backing : [0ef53da61ee53329a665b93d3b000ce1] i-2-9-VM/ROOT-9.vmdk > 2017-06-10 01:51:43,691 INFO [c.c.h.v.m.VirtualMachineMO] (DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand) (logid:1725a568) Disk backing : [0ef53da61ee53329a665b93d3b000ce1] i-2-9-VM/ROOT-9.vmdk matches ==> ide0:1 > 2017-06-10 01:51:43,713 INFO [c.c.h.v.r.VmwareResource] (DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand) (logid:1725a568) Found existing disk info from volume path: ROOT-9 > 2017-06-10 01:51:43,713 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand) (logid:1725a568) Unsupported Disk chain length 2 > 2017-06-10 01:51:43,713 INFO [c.c.h.v.u.VmwareHelper] (DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand) (logid:1725a568) [ignored]failed toi get message for exception: Unsupported Disk chain length 2 > 2017-06-10 01:51:43,718 WARN [c.c.h.v.r.VmwareResource] (DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand) (logid:1725a568) StartCommand failed due to Exception: java.lang.Exception > Message: Unsupported Disk chain length 2 > java.lang.Exception: Unsupported Disk chain length 2 > at com.cloud.hypervisor.vmware.resource.VmwareResource.resizeRootDisk(VmwareResource.java:2122) > at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2044) > at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:470) > at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315) > at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) > at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) > at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) > at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) -- This message was sent by Atlassian JIRA (v6.4.14#64029)