From users-return-33142-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Tue Jul 9 12:26:56 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B5E9D18062B for ; Tue, 9 Jul 2019 14:26:55 +0200 (CEST) Received: (qmail 12999 invoked by uid 500); 9 Jul 2019 12:26:53 -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 12987 invoked by uid 99); 9 Jul 2019 12:26:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2019 12:26:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3DA9CC01D5 for ; Tue, 9 Jul 2019 12:26:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.094 X-Spam-Level: *** X-Spam-Status: No, score=3.094 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=2, PDS_NO_HELO_DNS=1.294, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id aqI0d3R6BCQy for ; Tue, 9 Jul 2019 12:26:51 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.66; helo=mail-ed1-f66.google.com; envelope-from=andrija.panic@gmail.com; receiver= Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 9961FBC761 for ; Tue, 9 Jul 2019 12:26:50 +0000 (UTC) Received: by mail-ed1-f66.google.com with SMTP id k21so17580902edq.3 for ; Tue, 09 Jul 2019 05:26:50 -0700 (PDT) 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=Mu23tpC1TyDcldfW7P5Va4JSEcwc0256FdbUmYJIOD4=; b=PMM5IKRQ7EaMhiHcJUsAl1XoWmdj+I4aD7CneLpN6rSkKe9OapX6oAIKjyq5ykTqrD YNoYQ8z3co1qJGQMaDN1h3lVlUgX/ldjD/Hn69jilKUPWIvYSKqBqjjpdIhsNushCC7r QO7tvH9mO4Ce5M0hBrUowPHEbJtysZNgzF524BePtrQ28aj54wB3Tf3Q5oK5f64mSeY2 2+RwTJiyrfWpCF2H98/I8ygajNPyLqY62S+eKqdHbSRIipG9dxeurqYwZXOj7ysvwDLM uqJ7EM3kMkOCe9JNh2qY+7G11nSHE20B7WT5531vvPgpJPV1DTIFpNckbuTpM+e5rma6 0PHg== 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=Mu23tpC1TyDcldfW7P5Va4JSEcwc0256FdbUmYJIOD4=; b=BNZVCvQkb52eKWh4IAaYa7o1T1q3GaJw1vU+DRLaCPhtgNGATTolFR4mf+l4g1Xi/J JHwB8i77V+Oddzuj2MH+BHcZmr3Y93h5vixcNtwsunR45vO36/amfOMcSUMBF/778ewb G8dNYZeZbB2AypX8UjCcdy7r4a/DUfWo2GblFEqZK094gik75q6MLNQBsJ7m/seXQzN5 j8N62VoCwNAssR5Bta22efAtFXzgG3WrQBHNgVwNC9oraUqNmeRXE/aVmvWEp7dTAC5L zWCoo9oRlwvzi8P+v0TVjl5su3d48j51h9Cend2YaG1g2JVjajf4uygAHlMLi1u6/b0j rnQA== X-Gm-Message-State: APjAAAVKD6zQghs8aNoJw5nFDRuh++CpghmDwG4ToH3RBq/GSjWLMlHu 6/U5BGKETgiJqOeT9VkOEaeR39OIgrHAhdEgAA7zcw== X-Google-Smtp-Source: APXvYqwMYo0SJSKRWaB9GvwMroIkBVQi+43bJg7TYYnhAT8LGhiWXBPqU29N+yMeI8k00QF00kTB0TETQwpWU3G3c18= X-Received: by 2002:a50:e718:: with SMTP id a24mr25121235edn.91.1562675209235; Tue, 09 Jul 2019 05:26:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andrija Panic Date: Tue, 9 Jul 2019 18:26:37 +0600 Message-ID: Subject: Re: Unable to scale VM To: users Content-Type: multipart/alternative; boundary="000000000000bef2e0058d3eac08" --000000000000bef2e0058d3eac08 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If I recall correctly, you are on KVM, and afaik scaling a VM while running is not supported for KVM (besides, template/VM needs to be marked as Dynamically scalable). If you have failure while VM is stopped, can you advise if VM is created from template or via ISO file (because of root disk size being linked to service offering or disk offering) - anyway sounds like a bug to me... Best, On Tue, Jul 9, 2019, 15:46 Fariborz Navidan wrote: > As service offering is customized, I am trying to use scaleVirtualMachine > API to add CPU cores as UI does not have such functionality. Bellow is > command and cmk output. > > (local) =F0=9F=90=B5 > scale virtualmachine id=3D8c2fc3b6-c71b-4ead-885e-= ec468b21c05e > serviceofferingid=3D287f17af-193e-4ad3-aa09-7291a8d1eaf5 > details[0].memory=3D4096 details[0].cpuSpeed=3D2000 details[0].cpuNumber= =3D3 > Error > Async job 83b5514d-6f64-4a59-a3a3-38f220ef4216 failed > Error 530, Storage pool Primary1 does not have enough space to resize > volume ROOT-37 > accountid =3D 27cd01ef-3907-11e9-87ab-a4bf012ed1a6 > cmd =3D org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin > completed =3D 2019-07-09T11:40:38+0200 > created =3D 2019-07-09T11:40:37+0200 > jobid =3D 83b5514d-6f64-4a59-a3a3-38f220ef4216 > jobprocstatus =3D 0 > jobresult: > errorcode =3D 530 > errortext =3D Storage pool Primary1 does not have enough space to resize > volume ROOT-37 > jobresultcode =3D 530 > jobresulttype =3D object > jobstatus =3D 2 > userid =3D 27cd05dd-3907-11e9-87ab-a4bf012ed1a6 > (local) =F0=9F=90=B5 > > > On Tue, Jul 9, 2019 at 2:09 PM Andrija Panic > wrote: > > > Please share more details, cmk command used etc. > > > > On Tue, Jul 9, 2019, 14:54 Fariborz Navidan > wrote: > > > > > Hello, > > > > > > I get following error when I want to scale a VM via cloudmonkey: > > errortext > > > =3D Storage pool Primary1 does not have enough space to resize volume > > ROOT-37 > > > > > > I didn't request any volume resize however the volume is 60GB and > > Primary1 > > > has 107GB free space. > > > > > > Please advise. > > > > > > Thanks > > > > > > --000000000000bef2e0058d3eac08--