From issues-return-91235-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Wed Mar 21 21:52:06 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id EBCB118076D for ; Wed, 21 Mar 2018 21:52:05 +0100 (CET) Received: (qmail 37824 invoked by uid 500); 21 Mar 2018 20:52:04 -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 37798 invoked by uid 500); 21 Mar 2018 20:52:04 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 37792 invoked by uid 99); 21 Mar 2018 20:52:04 -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, 21 Mar 2018 20:52:04 +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 2A1A2180518 for ; Wed, 21 Mar 2018 20:52:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id nNfixlJSs95N for ; Wed, 21 Mar 2018 20:52:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 44CA15F4E5 for ; Wed, 21 Mar 2018 20:52:01 +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 67B3AE0D4B for ; Wed, 21 Mar 2018 20:52:00 +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 194FE214CA for ; Wed, 21 Mar 2018 20:52:00 +0000 (UTC) Date: Wed, 21 Mar 2018 20:52:00 +0000 (UTC) From: "Mike Tutkowski (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-10335) Refine space calculations for managed storage in StorageManagerImpl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-10335?page=3Dcom.at= lassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Tutkowski reassigned CLOUDSTACK-10335: ------------------------------------------- Assignee: Mike Tutkowski > Refine space calculations for managed storage in StorageManagerImpl > ------------------------------------------------------------------- > > Key: CLOUDSTACK-10335 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-103= 35 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Management Server > Affects Versions: 4.11.0.0 > Environment: All > Reporter: Mike Tutkowski > Assignee: Mike Tutkowski > Priority: Major > Fix For: 4.12.0.0 > > > In StorageManagerImpl.storagePoolHasEnoughSpace, we need to=C2=A0update a= couple areas of the algorithm that calculates if enough space is present w= hen dealing with managed storage: > 1) We no longer can rely on managed storage being exclusively at the zone= level. Check if the storage is managed (not if if it at the zone level). > 2) Invoke=C2=A0getBytesRequiredForTemplate not only for XenServer when=C2= =A0getSupportsResigning resolves to true, but also if using VMware or KVM. -- This message was sent by Atlassian JIRA (v7.6.3#76005)