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 664C2200C85 for ; Tue, 16 May 2017 07:58:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 64DB2160BCE; Tue, 16 May 2017 05:58: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 ABA53160BC2 for ; Tue, 16 May 2017 07:58:12 +0200 (CEST) Received: (qmail 5189 invoked by uid 500); 16 May 2017 05:58:11 -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 5175 invoked by uid 500); 16 May 2017 05:58:11 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 5172 invoked by uid 99); 16 May 2017 05:58:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2017 05:58:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 2C432C0922 for ; Tue, 16 May 2017 05:58:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id dhoQfP4w4h8p for ; Tue, 16 May 2017 05:58:10 +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 3789D5F613 for ; Tue, 16 May 2017 05:58:10 +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 B29C4E0BCD for ; Tue, 16 May 2017 05:58:04 +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 677AF2193E for ; Tue, 16 May 2017 05:58:04 +0000 (UTC) Date: Tue, 16 May 2017 05:58:04 +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-9690) Scale CentOS7 VM fails with error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 16 May 2017 05:58:13 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011787#comment-16011787 ] ASF subversion and git services commented on CLOUDSTACK-9690: ------------------------------------------------------------- Commit a4f3c7174423d76386d45f625ba3a768f4c31ba0 in cloudstack's branch refs/heads/master from [~rajanik] [ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=a4f3c71 ] Merge pull request #1849 from sudhansu7/CLOUDSTACK-9690 CLOUDSTACK-9690: Scale CentOS7 VM fails with error > Scale CentOS7 VM fails with error > ---------------------------------- > > Key: CLOUDSTACK-9690 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9690 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Affects Versions: 4.10.0.0 > Reporter: Sudhansu Sahu > Assignee: Sudhansu Sahu > > Scale CentOS7 VM fails with error "Cannot scale up the vm because of memory constraint violation" > When creating VM from CentOS 7 template on the XenServer with dynamically scaling enabled, instance starts with base specified memory instead of memory * 4 as static limit. > As the result, attempt to scale VM throws error in MS log: > {noformat} > java.lang.RuntimeException: Job failed due to exception Unable to scale vm due to Catch exception com.cloud.utils.exception.CloudRuntimeException when scaling VM:i-24-3976-VM due to com.cloud.utils.exception.CloudRuntimeException: Cannot scale up the vm because of memory constraint violation: 0 <= memory-static-min(2147483648) <= memory-dynamic-min(8589934592) <= memory-dynamic-max(8589934592) <= memory-static-max(2147483648) > {noformat} > REPO STEPS > ============================= > # Enable dynamic scaling in Global settings > # Register an CentOS 7 tempplate(with tools) and tick dynamic scaling > # Deploy VM with this template > # Start the VM and try to change service offering > EXPECTED RESULT: VM should start with static limit 4x and scale up when offering is changed > ACTUAL RESULT: VM starts with maximum static limit of and doesn't scale up with error in ms log : > Cannot scale up the vm because of memory constraint violation: -- This message was sent by Atlassian JIRA (v6.3.15#6346)