Return-Path: X-Original-To: apmail-ace-users-archive@minotaur.apache.org Delivered-To: apmail-ace-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B34C718461 for ; Wed, 27 Jan 2016 16:58:10 +0000 (UTC) Received: (qmail 95098 invoked by uid 500); 27 Jan 2016 16:58:10 -0000 Delivered-To: apmail-ace-users-archive@ace.apache.org Received: (qmail 95073 invoked by uid 500); 27 Jan 2016 16:58:10 -0000 Mailing-List: contact users-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@ace.apache.org Delivered-To: mailing list users@ace.apache.org Received: (qmail 95061 invoked by uid 99); 27 Jan 2016 16:58:10 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2016 16:58:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CA1AAC2AFB for ; Wed, 27 Jan 2016 16:58:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=luminiseu.onmicrosoft.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id RkUs8TpBAYEL for ; Wed, 27 Jan 2016 16:58:02 +0000 (UTC) Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0141.outbound.protection.outlook.com [157.56.112.141]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 6BCC320CB4 for ; Wed, 27 Jan 2016 16:58:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=luminiseu.onmicrosoft.com; s=selector1-luminis-eu; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wEr1QjwhhbEvajh0etWWH70zbJvnzO6JrfP74Gj6cQc=; b=eHZ4w1OZjay1gIX8DTQDLhPwXs+qxN6v1PEGoJY1R9n3hGobdT++rNMKf+6rEA+KPbgdWIy1K+8cI1tsDh18vCLfp711uzJfhfr7fZ+ejKDqBLpBzEEyZG+D+TJ6EnqsBz8stvA9kWmmOPRQM26+0ZfLjGOL1aA4rz0lpX6+H8I= Received: from AM2PR03MB0962.eurprd03.prod.outlook.com (10.161.129.144) by AM2PR03MB0962.eurprd03.prod.outlook.com (10.161.129.144) with Microsoft SMTP Server (TLS) id 15.1.390.13; Wed, 27 Jan 2016 16:57:52 +0000 Received: from AM2PR03MB0962.eurprd03.prod.outlook.com ([10.161.129.144]) by AM2PR03MB0962.eurprd03.prod.outlook.com ([10.161.129.144]) with mapi id 15.01.0390.013; Wed, 27 Jan 2016 16:57:52 +0000 From: Jan Willem Janssen To: "users@ace.apache.org" Subject: Re: [feedback] hurdles when working with ACE Thread-Topic: [feedback] hurdles when working with ACE Thread-Index: AQHRVSP9a6OcHq7MvEC6t9N3wqfHh58MWSgAgABbdACAAujSgA== Date: Wed, 27 Jan 2016 16:57:52 +0000 Message-ID: <3142DD15-06BC-4265-B603-527F518F45D4@luminis.eu> References: <06EBA9B9-175C-404E-A796-7D3B188727F0@luminis.eu> In-Reply-To: Accept-Language: en-GB, nl-NL, en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=janwillem.janssen@luminis.eu; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2001:984:a32b:1:31c5:4e78:9ab2:6ac8] x-microsoft-exchange-diagnostics: 1;AM2PR03MB0962;5:mZgykcp2DX7aH3RwJhfiW8MYaiSvSsSdilCebemV6uIzctfwvs1m9UYYRIdDGb6d4YLqB80dD6iBy+/LOJ02HYtKREJWGmmimnQ4lRGy3f8bvAM5ip7RPzIjK+RPn2Wlg1JlxEp7P6GK9yUt9woO4Q==;24:ok8Xx9XDBvRXeY7agngDhQdzATD0sONdLCC3llAQM9iUr3E2qRaKWuGQ8kuGNgLuPXk6ch/zVE3S0ke7PF6YwuVJ8OoAzMMuFg/f6HV8aLA= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM2PR03MB0962; x-ms-office365-filtering-correlation-id: 3810ef5a-77ad-4446-dd1e-08d3273afeaa x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(90542517252621); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(102415267)(102615245)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046);SRVR:AM2PR03MB0962;BCL:0;PCL:0;RULEID:;SRVR:AM2PR03MB0962; x-forefront-prvs: 0834BAF534 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(71364002)(199003)(189002)(24454002)(99936001)(2950100001)(74482002)(50986999)(76176999)(107886002)(87936001)(36756003)(5001960100002)(11100500001)(15975445007)(2501003)(40100003)(81156007)(54356999)(33656002)(2900100001)(3280700002)(83716003)(92566002)(2906002)(5004730100002)(5008740100001)(2351001)(82746002)(86362001)(122556002)(450100001)(105586002)(97736004)(110136002)(19580395003)(19580405001)(1096002)(101416001)(77096005)(586003)(106356001)(106116001)(5002640100001)(6116002)(189998001)(1220700001)(10400500002)(102836003)(3826002)(104396002);DIR:OUT;SFP:1102;SCL:1;SRVR:AM2PR03MB0962;H:AM2PR03MB0962.eurprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: luminis.eu does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: multipart/signed; boundary="Apple-Mail=_A4B37CA6-B008-451F-9267-43BA516E8296"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 X-OriginatorOrg: luminis.eu X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2016 16:57:52.2006 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92b1c82c-10a6-40ec-8b2e-1e63eeb29438 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR03MB0962 --Apple-Mail=_A4B37CA6-B008-451F-9267-43BA516E8296 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Pepijn, Thanks for your elaborate feedback! See my remarks/questions inline. > On 25 Jan 2016, at 21:32, Pepijn Noltes = wrote: > [=E2=80=A6] > My issues/improvements: >=20 > - Simpler setup out of the box. >=20 > The server-allinone contains a lot of feature I personally do not > use/need. This makes jumping into Apache ACE difficult. > For example - also mentioned by Daan - the need to approve targets is > not needed our current use case, but we have to work around this. > An other item is the four levels (artifacts, features, distributions > targets) as I understand this is adaptable, but out of the box there > are four. I think we should rethink how ACE by default is going to handle new targets. With your and Daan=E2=80=99s feedback I do see a real need for = that. > - Support docker > Make it possible to "deploy" docker images using Apache ACE. Docker is > becoming more popular by the day and in my opinion rightly so. > Provisioning docker images in a more controlled manner is IMO still > missing. >=20 > Although using Apache ACE to runtime deploy sets of bundles can be > very flexible and powerful in my experience sometimes a pre-created > OSGi docker image is preferable. > This minimizes the "entropy" of the system by introducing composed > OSGi bundles used in a (more) deterministic manner. Although > theoretically continuously deploying/undeploying bundles on a OSGi > container should work, in practice this can lead to issues (note that > should be considered bugs, but still). Also pre-created docker images > can be tested as-is and therefore be qualified as whole. >=20 > A combination would be interesting, so default bundles and the > possibility to use Apache ACE to update default bundles / sprinkle on > additional bundles. >=20 > Provide A minimal OSGi client containing the ACE agent and make this > images easy extendable by adding additional bundles / configuration > files. (See INAETICS (github) for a minimal OSGi client example). I see two ways ACE could support Docker: either by provisioning = pre-built Docker images (tarballs) or by provisioning the Dockerfile only and let the agent on the target build the Docker image for you. Not sure yet which one is =E2=80=9Cbetter=E2=80=9D. At the moment, I=E2=80=99m = prototyping and playing a bit with a custom agent that could handle this, just to see how this might work. > Focus on making development of cluster / distributed systems more easy > without restarting the cluster. So updated bundles / docker images and > restarting ACE client should be possible and easy. Do you mean that ACE is acting as a cluster manager, or just provides the ability to provision multiple targets in a =E2=80=9Ctransactional=E2=80= =9D manner (all or nothing approach)? > =E2=80=93 Use the capability-requirement model resolving >=20 > I would prefer using the capability requirement model to match what to > deploy instead of coupling artifact2feature, etc. Although this could > maybe be to complex, I think it's worth thinking about. >=20 > Especially combining this with docker images (e.g. using docker labels > to add Provide-Capability / Require-Capability ) could be a > interesting feature. This could help in solving a problem where OSGi > is very good at, running mircroservices with multiple versions of > services. But in this case mircoservices means REST services provided > by docker containers. Interesting point. Need to ponder about this a little longer on how this would work out. > =E2=80=93 Runtime configuration > When using Apache ACE I often ran in the desire the edit/update the > configuration file used. A more =E2=80=9Cinline=E2=80=9D support to = updating (e.g. > enable debug printing) small configuration files would be nice. Do you mean the configuration of ACE itself, or the configuration that is provisioned to the targets? > - Monitor targets > Maybe out of scope for Apache ACE, but also something I noticed would > be very welcome when using Apache ACE, is a more elaborate monitoring > of the targets. Maybe even something like a heartbeat to ensure the > target is alive. The fact that a target periodically sends feedback would actually provide this information already. But I think you mean that the UI should actively report when it hasn=E2=80=99t seen/heard from a target = in a while? > - No gosh > I understand that gosh is very powerful, but I see it as yet another > scripting language I prefer not to learn. I would prefer a more > feature rich / responsive HTML UI and better supported REST api. Fair point: gosh isn=E2=80=99t the most intuitive way of talking to ACE. = We need to come up with another way of doing that from a end-users perspective (RESTish responsive UI) and from an automation point of view (for automated deployments, CIs, etc). -- Met vriendelijke groeten | Kind regards Jan Willem Janssen | Software Architect +31 631 765 814 My world is something with Amdatu and Apache Luminis Technologies Churchillplein 1 7314 BZ Apeldoorn +31 88 586 46 00 https://www.luminis.eu KvK (CoC) 09 16 28 93 BTW (VAT) NL8170.94.441.B.01 --Apple-Mail=_A4B37CA6-B008-451F-9267-43BA516E8296 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: (JaWi) iQIcBAEBCAAGBQJWqPcPAAoJEKF/mP2eHDc4npgP/2zFLY01vIYsv7okgksqRGuH NsyaxUTEJaS3DX4lv5e6Kk9pJtJpnvE90Z2YU9gFRpItSSGGQR+55k3GWAdRmeio LXK1+eg1GLNbE/u0F4B3EIOLQJ2h3OIA5KwgQr7Qd2TU65LHLQU5j2h1Lhxsswyc iCrPy5wYH6aMLUpx0MPk+3XG/46WKjVG6f4vmncaLtC2PIBQanGbnYiRkqeGbceQ FtqDF0b703gKcTgofRsr7mwY09QqjHdQkILXuUKndiKV3R17hloOONx//P3VXS3d jzYNnHeZrAA8SgRoJRxns71crpLmLkZbBAtx66paAPmQEhYtemLkrSu5omvlvfkk nXQXe2Q1vtGpSK38ev4eqX0upoaxlL0qR4r1ZelpgDmpXBLU10TFHHBp7YUXTZgE q4cVTJWsFicxBKiji41HXOMXPguSp7xCaFdSceDTtdR3KtPldBkz1XBFVq0CaHx4 uFOLckJ8eD5UdrivDt9gFrw/qPydSmfKwKTNbAnVUo/tHs9LROKPzyYue5RiTjzJ NAIqhWqHpbpToZoZdY4ARk1AXKRv9A35ZkER/Teyj+37n8R2PcuP7TQxmy0RonyH /m8O1p8dYoVCOoRT4wYmGhzwe+D5gO9jCmJJW26nIQxJVrGRfEfi/TXlmOo4Gxz1 Nz6zvP29CeA/JYybfTO+ =KuCy -----END PGP SIGNATURE----- --Apple-Mail=_A4B37CA6-B008-451F-9267-43BA516E8296--