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 28594200497 for ; Wed, 23 Aug 2017 21:57:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 269881698B7; Wed, 23 Aug 2017 19:57:07 +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 7656E1698B0 for ; Wed, 23 Aug 2017 21:57:06 +0200 (CEST) Received: (qmail 84388 invoked by uid 500); 23 Aug 2017 19:57: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 84378 invoked by uid 500); 23 Aug 2017 19:57:04 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 84374 invoked by uid 99); 23 Aug 2017 19:57: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, 23 Aug 2017 19:57: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 D618118072F for ; Wed, 23 Aug 2017 19:57:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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-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 rBkAMA57XuM1 for ; Wed, 23 Aug 2017 19:57:03 +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 6B1A15FBBA for ; Wed, 23 Aug 2017 19:57:02 +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 7B226E0635 for ; Wed, 23 Aug 2017 19:57: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 4C18C25381 for ; Wed, 23 Aug 2017 19:57:00 +0000 (UTC) Date: Wed, 23 Aug 2017 19:57:00 +0000 (UTC) From: =?utf-8?Q?Gabriel_Beims_Br=C3=A4scher_=28JIRA=29?= To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-9914) Alter quota_tariff to support currency values up to 5 decimal places MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 23 Aug 2017 19:57:07 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9914?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabriel Beims Br=C3=A4scher resolved CLOUDSTACK-9914. ------------------------------------------------ Resolution: Fixed > Alter quota_tariff to support currency values up to 5 decimal places > -------------------------------------------------------------------- > > Key: CLOUDSTACK-9914 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-991= 4 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Install and Setup > Affects Versions: 4.9.0, 4.9.2.0, 4.9.1.0, 4.9.0.1, 4.9.3.0 > Reporter: Gabriel Beims Br=C3=A4scher > Assignee: Gabriel Beims Br=C3=A4scher > Priority: Trivial > Fix For: 4.10.1.0 > > > Issue: the current quota plugin does not allow configuring currency value= s with more than two decimal places. For instance, I would like to configur= e $0.0125 for using 1 CPU of clock rate 100MHz and $0.00599 for the network= usage (Bytes Sent). > Solution: modify column currency_value from table cloud_usage.quota_tarif= f to support values up to 5 decimal places. Values with more than 5 decimal= places will be displayed with scientific notation in the user interface. > SQL command: "ALTER TABLE cloud_usage.quota_tariff MODIFY currency_value = DECIMAL(15,5) not null" -- This message was sent by Atlassian JIRA (v6.4.14#64029)