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 13683200BE3 for ; Thu, 22 Dec 2016 14:44:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1221F160B26; Thu, 22 Dec 2016 13:44:59 +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 381AF160B1F for ; Thu, 22 Dec 2016 14:44:58 +0100 (CET) Received: (qmail 45102 invoked by uid 500); 22 Dec 2016 13:44:55 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 45088 invoked by uid 99); 22 Dec 2016 13:44:55 -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; Thu, 22 Dec 2016 13:44:55 +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 A1B35C033A for ; Thu, 22 Dec 2016 13:44:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 Bg6h378fbyZe for ; Thu, 22 Dec 2016 13:44:52 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id CCD855F47A for ; Thu, 22 Dec 2016 13:44:51 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id c13so119233264lfg.0 for ; Thu, 22 Dec 2016 05:44:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qqyuUmZAmWQbN+BwseSm59weqUXXMj7Fs2dN92t8zao=; b=cA6iizZhp71LgugawyADOnCZ5U5sGLxmf6JxvymPBJHPCxFJGiTv0Evl67VOndOTzn YGYuiHHxfkEBWAyN2qJPku3TVHjroM1ICvw2LmYJMz5WQIhl/VoiJX1zv3rXfcIB698q zsIbSOSwlmFxZ/LwqRlZv/z/zyfEbx2ISqviTAuRApwOPMTe17LjfhZhM7tlLA4wfW1x 9N/7sPpQqNYI3A7a+yY7yGHdXkKeEBYU7aVKTiw6gbK0ATiBn8Vtc3m1S8wE79h2pUH9 aUHA4R2P0ZkWZeHXTFvKUqMuwfWES3n4N1chgx2rlyW3uvGOla29KCUbca8hluMmBdMN XB4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qqyuUmZAmWQbN+BwseSm59weqUXXMj7Fs2dN92t8zao=; b=mq0GIg8lLnaigLh7yS2UHTDfe9lPrNd7DUnTJZHs01EirYNEI1wkDg3P8Ct0E500UM ETAfaLx9nuah/NvC2FcUzLgnfZskWpXsUWMlZlhNbwNvsOaWcXtUt65acKEBHGLLj0kN P98NPidSkNbBYV0heJZO4IVoHZlY6RG3aU1jM/ebMmAZx0IfxAD9Nla0iS13HC9iYY8n Qv5AYKpHBfph3tJIw48seXRa8y5m68fx8CnmhBAxj6ctgSeCK/RgY2c2YWzGQKHRhq8t 8fELdkkvuwmK93oyfLzmnXmbnHHdCjY2ERZF/mPspkGTDJUN58IBfMRsdea4WT4Rc6eG Kc0Q== X-Gm-Message-State: AIkVDXJx5QRO5yMsu6ww5iVlpFUC2Rci+4lokaH0PJ+oGXdK/ZnjjgR15qpSxkg6mqpoVfNKcPKOcmrSbFKh6A== X-Received: by 10.25.215.199 with SMTP id q68mr2935882lfi.47.1482414288227; Thu, 22 Dec 2016 05:44:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.157.213 with HTTP; Thu, 22 Dec 2016 05:44:46 -0800 (PST) Received: by 10.25.157.213 with HTTP; Thu, 22 Dec 2016 05:44:46 -0800 (PST) In-Reply-To: References: From: Will Stevens Date: Thu, 22 Dec 2016 08:44:46 -0500 Message-ID: Subject: Re: Error on Master To: Rohit Yadav Cc: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a1140d7bc0f510205443f790b archived-at: Thu, 22 Dec 2016 13:44:59 -0000 --001a1140d7bc0f510205443f790b Content-Type: text/plain; charset=UTF-8 No problem. I think it is because I have been upgrading this env from master to master periodically and the schema changes were only recently added in the upgrade sql. We should be good. Thanks for checking. I got my env working with the details in this thread, so hopefully it will help others if they have a similar nontraditional upgrade of master to master. Thanks for the hard work rohit and happy holidays. :) On Dec 22, 2016 1:55 AM, "Rohit Yadav" wrote: > Will, > > > I tried to run some upgrade tests and could not reproduce your issue. > > If this happens again, let me know. > > > Regards. > ------------------------------ > *From:* Rohit Yadav > *Sent:* 22 December 2016 12:03:41 > *To:* Will Stevens > *Cc:* dev@cloudstack.apache.org > *Subject:* Re: Error on Master > > Hi Will, > > I tried a fresh installation of latest master and I was able to deploy > database. I'll run upgrade tests soon to verify if there are any issues. > > Regards. > > On Thu, Dec 22, 2016 at 12:41 AM, Will Stevens > wrote: > > > Has anyone seen this. > > > > I upgraded a system which was running master to a later version of master > > and I get the following when I start the service after upgrading. > > > > 2016-12-21 18:55:13,388 WARN [o.a.c.s.m.c.ResourceApplicationContext] > > (main:null) (logid:) Exception encountered during context initialization > - > > cancelling refresh attempt: org.springframework.context. > ApplicationContextException: > > Failed to start bean 'cloudStackLifeCycle'; nested exception is > > com.cloud.utils.exception.CloudRuntimeException: DB Exception on: > > com.mysql.jdbc.JDBC4PreparedStatement@69cd2214: SELECT > > network_offerings.id, network_offerings.name, > > network_offerings.unique_name, network_offerings.display_text, > > network_offerings.nw_rate, network_offerings.mc_rate, > > network_offerings.traffic_type, network_offerings.specify_vlan, > > network_offerings.system_only, network_offerings.service_offering_id, > > network_offerings.tags, network_offerings.default, network_offerings. > availability, > > network_offerings.state, network_offerings.removed, > > network_offerings.created, network_offerings.guest_type, > > network_offerings.dedicated_lb_service, network_offerings.shared_ > source_nat_service, > > network_offerings.specify_ip_ranges, network_offerings.sort_key, > > network_offerings.uuid, network_offerings.redundant_router_service, > > network_offerings.conserve_mode, network_offerings.elastic_ip_service, > > network_offerings.eip_associate_public_ip, network_offerings.elastic_lb_ > service, > > network_offerings.inline, network_offerings.is_persistent, > > network_offerings.egress_default_policy, network_offerings.concurrent_ > connections, > > network_offerings.keep_alive_enabled, network_offerings.supports_ > streched_l2, > > network_offerings.supports_public_access, network_offerings.internal_lb, > > network_offerings.public_lb FROM network_offerings WHERE > > network_offerings.unique_name = _binary'System-Public-Network' AND > > network_offerings.removed IS NULL ORDER BY RAND() LIMIT 1 > > > > > > I tried running the SQL directly to see what I get and I get the > following: > > > > mysql> SELECT network_offerings.id, network_offerings.name, > > network_offerings.unique_name, network_offerings.display_text, > > network_offerings.nw_rate, network_offerings.mc_rate, > > network_offerings.traffic_type, network_offerings.specify_vlan, > > network_offerings.system_only, network_offerings.service_offering_id, > > network_offerings.tags, network_offerings.default, network_offerings. > availability, > > network_offerings.state, network_offerings.removed, > > network_offerings.created, network_offerings.guest_type, > > network_offerings.dedicated_lb_service, network_offerings.shared_ > source_nat_service, > > network_offerings.specify_ip_ranges, network_offerings.sort_key, > > network_offerings.uuid, network_offerings.redundant_router_service, > > network_offerings.conserve_mode, network_offerings.elastic_ip_service, > > network_offerings.eip_associate_public_ip, network_offerings.elastic_lb_ > service, > > network_offerings.inline, network_offerings.is_persistent, > > network_offerings.egress_default_policy, network_offerings.concurrent_ > connections, > > network_offerings.keep_alive_enabled, network_offerings.supports_ > streched_l2, > > network_offerings.supports_public_access, network_offerings.internal_lb, > > network_offerings.public_lb FROM network_offerings WHERE > > network_offerings.unique_name = _binary'System-Public-Network' AND > > network_offerings.removed IS NULL ORDER BY RAND() LIMIT 1; > > > > ERROR 1054 (42S22): Unknown column 'network_offerings.supports_ > public_access' > > in 'field list' > > > > Did I miss a step or something in my upgrade from master to the latest > > master? I have done this upgrade a few times in the past without issues, > > but maybe something has changed? > > > > rohit.yadav@shapeblue.com > www.shapeblue.com > @shapeblue > > > > --001a1140d7bc0f510205443f790b--