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 02156200C56 for ; Fri, 10 Mar 2017 02:55:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 00877160B84; Fri, 10 Mar 2017 01:55:45 +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 F2A2E160B75 for ; Fri, 10 Mar 2017 02:55:43 +0100 (CET) Received: (qmail 30738 invoked by uid 500); 10 Mar 2017 01:55:43 -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 30683 invoked by uid 99); 10 Mar 2017 01:55:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2017 01:55:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3BD2A1A7A99 for ; Fri, 10 Mar 2017 01:55:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 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] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=cloudops.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 9YIoxXEHjW4A for ; Fri, 10 Mar 2017 01:55:38 +0000 (UTC) Received: from mail-ot0-f173.google.com (mail-ot0-f173.google.com [74.125.82.173]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id AB5F35F1EE for ; Fri, 10 Mar 2017 01:55:37 +0000 (UTC) Received: by mail-ot0-f173.google.com with SMTP id o24so68250800otb.1 for ; Thu, 09 Mar 2017 17:55:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudops.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=CYeUOhgpKbLrfJ/jjkM26HXF0mSWcXSIvtP8aVg09ww=; b=GdN8e4bpO2WztOZQPPc7Sqmy+No9q10pbXIrxSctBr6ns2HD6g5Rww+1BuvT5Xg2ER 3xV1gwQmgrEXsjKDQEi/x25r7hyTmVULw+9OV/qUkJiWpLAlOHd21C4qFxV2iQxgjsoc SrTh1HPuITX9ElE9AeSS+lUPP/jbs6isiQkEk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=CYeUOhgpKbLrfJ/jjkM26HXF0mSWcXSIvtP8aVg09ww=; b=BiCj/dTNOT2ME6rR3xa3c78K+sUtvxv90HyxeGwJzJg8l+wKIEIlJWYvFmK7sFqS3K 7hkP0kjwRW1gig6GAOr9kwV6yN3eAueCwZqWLUvrbbzwGCfYxNLz7EY4bXJ5Rxf8vhMj VtJIw+WX4d9ohoMEEvIeYJsc+hbfQDRUMI4DUPkj5EAAnhj+eZ98hgEztLlQqlShJxqz ItVyfJMNwFmk4UIIn/ej5jN6lJNfkMjfJ/zj02LTb5EVKFU+89IghgKYpdAg6rEyFbG7 5WTv7BT6jSR/cByJIYajVk1aJjLW1cyWAxE0wg8q6UF3ca+Zz1n5qIjQ/dKinSkHTn0i LcZg== X-Gm-Message-State: AFeK/H2xCf9wJG5MF44TibGQ92suNceRKy53Mc8dFORckOB527wPnbybmiIsm17i+UwFLQt7 X-Received: by 10.157.23.15 with SMTP id i15mr10102510ota.250.1489110933666; Thu, 09 Mar 2017 17:55:33 -0800 (PST) Received: from mail-ot0-f171.google.com (mail-ot0-f171.google.com. [74.125.82.171]) by smtp.gmail.com with ESMTPSA id v204sm3694115oif.40.2017.03.09.17.55.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 17:55:33 -0800 (PST) Received: by mail-ot0-f171.google.com with SMTP id x37so68593979ota.2 for ; Thu, 09 Mar 2017 17:55:33 -0800 (PST) X-Received: by 10.157.34.84 with SMTP id o78mr8025828ota.144.1489110932909; Thu, 09 Mar 2017 17:55:32 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Syed Ahmed Date: Fri, 10 Mar 2017 01:55:22 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: midonet-client and Guava dependency conflict To: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a113c1bec2ffb09054a56a8eb archived-at: Fri, 10 Mar 2017 01:55:45 -0000 --001a113c1bec2ffb09054a56a8eb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable *git history Sorry got autocorrected On Thu, Mar 9, 2017 at 20:54 Syed Ahmed wrote: > We can look at the gut history and try to contact the guy who wrote the > plugin to get more info about who's using it > On Thu, Mar 9, 2017 at 20:01 Will Stevens > wrote: > > I will review. Thanks for digging that up. Haha. You know every issue now > because of your cleanup. :) > > On Mar 9, 2017 7:51 PM, "Rafael Weing=C3=A4rtner" > wrote: > > > https://issues.apache.org/jira/browse/CLOUDSTACK-8677 > > > > On Thu, Mar 9, 2017 at 6:48 PM, Will Stevens > > wrote: > > > > > I don't remember that conversation, but I will try to track it down. > > Thx... > > > > > > On Mar 9, 2017 6:39 PM, "Rafael Weing=C3=A4rtner" < > > rafaelweingartner@gmail.com> > > > wrote: > > > > > > > I recall a thread discussing some call home functionalities a long > time > > > > ago; so, we could get some information about ACS usage. Does anyone > > know > > > > how that thread ended? > > > > > > > > The use o ACS plugin could be something trackable by a call home > > feature. > > > > > > > > On Thu, Mar 9, 2017 at 5:55 PM, Will Stevens > > > > wrote: > > > > > > > > > We have had similar conversations many times recently. > Unfortunately > > > we > > > > > have no way to track IF people are using different plugins, so it > > makes > > > > it > > > > > really hard to know if people will expect it to be there if they > > > > upgrade... > > > > > > > > > > If anyone has ideas for how we can potentially find a way to trac= k > > > that, > > > > we > > > > > should probably start a thread around that. > > > > > > > > > > *Will STEVENS* > > > > > Lead Developer > > > > > > > > > > > > > > > > > > > > On Thu, Mar 9, 2017 at 2:36 PM, Rafael Weing=C3=A4rtner < > > > > > rafaelweingartner@gmail.com> wrote: > > > > > > > > > > > Agree with you, but I think a nice talk with people using it to > ask > > > for > > > > > > help might be a good idea. > > > > > > > > > > > > Sometimes they are not aware of these situations. > > > > > > > > > > > > On Thu, Mar 9, 2017 at 2:23 PM, Daan Hoogland < > > > daan.hoogland@gmail.com > > > > > > > > > > > wrote: > > > > > > > > > > > > > If we have to lay a burdon of fixing before release on people > > that > > > > > > > don't use it, i would say no. You use it, you maintain it. I = am > > > happy > > > > > > > to charge money to whoever wants to not maintain what they us= e. > > > > > > > > > > > > > > On Thu, Mar 9, 2017 at 7:11 PM, Rafael Weing=C3=A4rtner > > > > > > > wrote: > > > > > > > > Daan, before removing anything, I think we should check if > > there > > > > are > > > > > > > people > > > > > > > > using it, right? > > > > > > > > > > > > > > > > On Thu, Mar 9, 2017 at 11:08 AM, Daan Hoogland < > > > > > > daan.hoogland@gmail.com> > > > > > > > > wrote: > > > > > > > > > > > > > > > >> I was about to reply along those lines. As you brought it > up, > > we > > > > are > > > > > > > >> now considering it. If the fix is easy I'd say let it stay > > till > > > > the > > > > > > > >> next problem but it is ot the first time mido bugs us. > > > > > > > >> > > > > > > > >> On Thu, Mar 9, 2017 at 5:07 PM, Simon Weller < > sweller@ena.com > > > > > > > > wrote: > > > > > > > >> > So this brings up a good discussion point. As Jeff point= s > > out, > > > > the > > > > > > > >> Midonet plugin hasn't been actively supported for almost 5 > > > years. > > > > At > > > > > > > what > > > > > > > >> point do we consider retiring unsupported plugins? > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > - Si > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > ________________________________ > > > > > > > >> > From: Jeff Hair > > > > > > > >> > Sent: Thursday, March 9, 2017 9:43 AM > > > > > > > >> > To: dev@cloudstack.apache.org > > > > > > > >> > Subject: Re: midonet-client and Guava dependency conflic= t > > > > > > > >> > > > > > > > > >> > After doing some more digging, I have confirmed the > > following: > > > > > > > >> > > > > > > > > >> > - The midonet plugin is using the Maven Shade plugin = to > > > put a > > > > > > > bunch of > > > > > > > >> > dependencies into itself. > > > > > > > >> > - The plugin hosted in this repository was last updat= ed > > in > > > > > 2013. > > > > > > > >> > - Most importantly: removing all the guava stuff out = of > > the > > > > > > midonet > > > > > > > >> > plugin fixes this issue. > > > > > > > >> > > > > > > > > >> > I have not had any success in applying > > > > > > > >> > > https://github.com/openwide-java/tomcat-classloader-ordered > > > to > > > > > get > > > > > > > >> Tomcat > > > > > > > >> > [ > https://avatars1.githubusercontent.com/u/1385131?v=3D3&s=3D400 > > > > > > ] > > > > > > >> github.com/openwide-java/tomcat-classloader-ordered> > > > > > > > >> > > > > > > > > >> > GitHub - openwide-java/tomcat-classloader-ordered: A ...= < > > > > > > > >> https://github.com/openwide-java/tomcat-classloader-ordere= d > > > > > > > > > >> > github.com > > > > > > > >> > README.md tomcat-classloader-ordered. A classloader for > > Apache > > > > > > Tomcat > > > > > > > 8 > > > > > > > >> which loads the jars of WEB-INF lib in alphabetical order. > > Prior > > > > to > > > > > > > version > > > > > > > >> 8, Apache Tomcat ... > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > to load its jars in alphabetical order, for whatever > > reason. I > > > > > tried > > > > > > > >> > putting the Loader in various context definition > locations, > > > but > > > > it > > > > > > > >> refuses > > > > > > > >> > to work. Any ideas? > > > > > > > >> > > > > > > > > >> > Jeff > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > On Thu, Mar 9, 2017 at 1:43 PM, Jeff Hair < > > > jeff@greenqloud.com> > > > > > > > wrote: > > > > > > > >> > > > > > > > > >> >> Hi, > > > > > > > >> >> > > > > > > > >> >> I'm deploying 4.9.2.0 (not the vanilla version, but > rather > > an > > > > > > > upgraded > > > > > > > >> >> version of our fork) on Tomcat 8. Management server > startup > > > > fails > > > > > > > with > > > > > > > >> the > > > > > > > >> >> following error: > > > > > > > >> >> > > > > > > > >> >> java.lang.IncompatibleClassChangeError: Found interface > > > > > > > >> >> com.google.common.base.Equivalence, but class was > expected > > > > > > > >> >> > > > > > > > >> >> I've traced this down to the OutOfBandServiceManagerImp= l. > > > More > > > > > > > >> >> specifically, when it tries to build the hostAlertCache > > using > > > > > > Guava's > > > > > > > >> >> CacheBuilder. Deep in Guava, it's calling an "identity(= )" > > > > method > > > > > on > > > > > > > the > > > > > > > >> >> Equivalence class. All of the Guava classes are coming > > from > > > > > > > guava-19.0 > > > > > > > >> >> except for com/google/common/base/Equivalence.class. Th= e > > > > > > Equivalence > > > > > > > >> >> class is being loaded from the midonet jar for some > reason, > > > and > > > > > > that > > > > > > > >> >> version does not have the method needed. Thus, the erro= r. > > > > > > > >> >> > > > > > > > >> >> This is because Tomcat apparently does not load jars in > > > > > > alphabetical > > > > > > > >> order > > > > > > > >> >> anymore, starting with version 8. An open ticket for th= em > > to > > > > fix > > > > > > > this is > > > > > > > >> >> here: > https://bz.apache.org/bugzilla/show_bug.cgi?id=3D57129 > > > > > > > >> > 57129 =E2=80=93 Regression. Load WEB-INF/lib jarfiles in= ...< > > > > > > > >> https://bz.apache.org/bugzilla/show_bug.cgi?id=3D57129> > > > > > > > >> > bz.apache.org > > > > > > > >> > ASF Bugzilla =E2=80=93 Bug 57129 Regression. Load WEB-IN= F/lib > > jarfiles > > > > in > > > > > > > >> alphabetical order Last modified: 2016-03-17 09:59:50 UTC > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> >> > > > > > > > >> >> It could be possible to "fix" this by using a custom > > > > ClassLoader > > > > > to > > > > > > > >> force > > > > > > > >> >> Tomcat to load things alphabetically (testing that righ= t > > > > now--and > > > > > > not > > > > > > > >> >> really succeeding), but the proper fix is to have the > > midonet > > > > > > client > > > > > > > >> not be > > > > > > > >> >> packaging guava with itself. Does anyone know why this > is? > > > > > > > >> >> > > > > > > > >> >> Jeff > > > > > > > >> >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> -- > > > > > > > >> Daan > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Daan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > -- > > Rafael Weing=C3=A4rtner > > > > --001a113c1bec2ffb09054a56a8eb--