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 C8AF3200B27 for ; Wed, 8 Jun 2016 04:22:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BF639160A4F; Wed, 8 Jun 2016 02:22:22 +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 144D7160A36 for ; Wed, 8 Jun 2016 04:22:21 +0200 (CEST) Received: (qmail 23058 invoked by uid 500); 8 Jun 2016 02:22:21 -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 23049 invoked by uid 500); 8 Jun 2016 02:22:21 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 23046 invoked by uid 99); 8 Jun 2016 02:22:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2016 02:22:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0F9662C1F54 for ; Wed, 8 Jun 2016 02:22:21 +0000 (UTC) Date: Wed, 8 Jun 2016 02:22:21 +0000 (UTC) From: "Rohit Yadav (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-9409) Usage server fails to work with 4.9 due to missing role_id column MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 08 Jun 2016 02:22:23 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Yadav updated CLOUDSTACK-9409: ------------------------------------ Status: Reviewable (was: In Progress) > Usage server fails to work with 4.9 due to missing role_id column > ----------------------------------------------------------------- > > Key: CLOUDSTACK-9409 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9409 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Affects Versions: 4.9.0 > Reporter: Rohit Yadav > Assignee: Rohit Yadav > Priority: Blocker > > Thanks to Nicolas for reporting. The usage server fails to work due to missing role_id column; > 2016-06-07 11:04:51,233 ERROR [cloud.usage.UsageManagerImpl] (Usage-Job-1:null) (logid:) Exception in usage manager > com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@3202d58a: SELECT account.id, account.account_name, account.type, account.role_id, account.domain_id, account.state, account.removed, account.cleanup_needed, account.network_domain, account.uuid, account.default_zone_id, account.default FROM account WHERE account.id = 2 > ... > Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'account.role_id' in 'field list' -- This message was sent by Atlassian JIRA (v6.3.4#6332)