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 54B6C200CDE for ; Tue, 8 Aug 2017 22:53:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 535D4167F1C; Tue, 8 Aug 2017 20:53:09 +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 48BD7167F1A for ; Tue, 8 Aug 2017 22:53:08 +0200 (CEST) Received: (qmail 27697 invoked by uid 500); 8 Aug 2017 20:53:07 -0000 Mailing-List: contact user-help@ariatosca.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ariatosca.incubator.apache.org Delivered-To: mailing list user@ariatosca.incubator.apache.org Received: (qmail 27686 invoked by uid 99); 8 Aug 2017 20:53:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2017 20:53:07 +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 BE1A7C388B for ; Tue, 8 Aug 2017 20:53:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.481 X-Spam-Level: ** X-Spam-Status: No, score=2.481 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-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, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudify-co.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id wH0id6cMND0i for ; Tue, 8 Aug 2017 20:53:04 +0000 (UTC) Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D48D95FB40 for ; Tue, 8 Aug 2017 20:53:03 +0000 (UTC) Received: by mail-qk0-f182.google.com with SMTP id a77so26188655qkb.0 for ; Tue, 08 Aug 2017 13:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudify-co.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=YRkgNMzRUPiipgwy5xhk+GTxAPVBfTvmFs9264yn6iQ=; b=cnFxmUik32T4aeKV48AM+TXLQlxDL0dguOxv12g3a+EdPqF9yAalngzZ2ZFF2o8Bsc ax1VwmXIlujxBQdQ86vU5MH4G8CDm5MKLa5n7qkMV78GxoRtqtu+d4eb0w6gqc8tSZce /ExnlXsQlLZ4ezsAZ04tLgPTb1h9LyKQU35yj6Qdme0BDxT7zLzcwEATttW7fEYQH3wZ MQt9TuzpEH19V0fOEVS9dvhy1l8+CSHIWjUUdemb4IyskcdLQeUlpqUyzvCY13cDiKuE /SOg1IxgE7J+bomTjzaefPeSTf2xYsY+Bx1C9J7087E/y3BaG8F6L5VGF5nhJqz5/80c I5MQ== 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; bh=YRkgNMzRUPiipgwy5xhk+GTxAPVBfTvmFs9264yn6iQ=; b=bbNLWI4Dpm1f1ARJcpJCwnKeLXqAAdcapJtJvj//atNlXC0J2auLMQNCkvyyMb5icY KF+rFUYrusHhQvFu2Ihsbqom2SQ/kJRaHMsAG5PfE9J5cyy51KTMOvn0uQSR0cdcaOW3 XGj1yK0t31OgWZtIZ2C+/aDMX/rRmxG0CaUTEstWmS985wM30tiQuaYqYbuTRAl70lde RdmnC5436J0gyv9VTvQ4bqDWBhBo1kvykmLGe6Z0X00Ch28VzUuk3ThduHYJvIyOkCxe a3zyTyordPM7y3D9nKAxaJnXLhXOe+TzC9wCU4C7/X8TLY0eoqx1S3Xj7KU6MTn44IBa yxXg== X-Gm-Message-State: AHYfb5gNUzfhyk8iXe0UbbFzNgkM+lC9C3TCiX1trLQ95LTwl/PXie2L 88PpLkjGBtgf5J/qDjReRRPNxQPMi0zz95M= X-Received: by 10.55.77.194 with SMTP id a185mr6758318qkb.338.1502225582460; Tue, 08 Aug 2017 13:53:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.9.102 with HTTP; Tue, 8 Aug 2017 13:53:01 -0700 (PDT) In-Reply-To: References: From: Ran Ziv Date: Tue, 8 Aug 2017 23:53:01 +0300 Message-ID: Subject: Re: Minimal example for docker/fabric To: user@ariatosca.incubator.apache.org Content-Type: multipart/alternative; boundary="001a1148828c3729b505564426c6" archived-at: Tue, 08 Aug 2017 20:53:09 -0000 --001a1148828c3729b505564426c6 Content-Type: text/plain; charset="UTF-8" Regarding using the Cloudify Docker plugin with ARIA - While the Cloudify plugin adapter translates ctx usage from Cloudify to ARIA, it may sometimes be insufficient for running some Cloudify plugins over ARIA - For example, if said plugin is using other APIs beyond the ctx one to interact with the Cloudify manager directly. This means that while some Cloudify plugins may work with ARIA out of the box, this can't be guaranteed and must be tested for any specific plugin. From a quick look I've taken over the Cloudify Docker plugin ( https://github.com/cloudify-cosmo/cloudify-docker-plugin ), I haven't seen anything that stands out as being incompatible - So if I were you, I'd give it a try. If you do, please let us know if you were successful or about any problems you may have run into. On Tue, Aug 8, 2017 at 5:11 PM, Tal Liron wrote: > 1. Clearwater is still a work in progress, and not yet working with > Openstack/AWS. However, if you accept that caveat you can help test by > using the branch. To install locally you can use the address 127.0.0.1 -- > it would still use ssh, though: > > https://github.com/apache/incubator-ariatosca/tree/ARIA-321-clearwater > > 2. We do not have a working Docker plugin at the moment, as far as I know. > Perhaps someone else can chime in with more info? > > On Tue, Aug 8, 2017 at 8:41 AM, chbndrhnns > wrote: > >> Thanks so much, Tal. >> >> I am about to test the Clearwater example for now and now I am wondering >> how I can use key-based authentication when connecting to the remote >> machine when running `aria executions start -vvv -s cw1 install`.? >> >> Could you guide me on how to use the Docker plugin? >> I was able to build a custom wagon based on the Docker plugin (1.3.2) and >> installed it via `aria plugins install` which worked fine. >> I am interested in a minimal working example and would like to start >> exploring options from there... >> >> A last question: What would I need to change to run a Clearwater >> installation just locally on an Ubuntu machine, without making use of ssh? >> >> >> Bye, >> jo >> >> 2017-08-04 17:59 GMT+02:00 Tal Liron : >> >>> That's all very viable indeed. >>> >>> 1. TOSCA is an OASIS standard specification for cloud orchestration, >>> consisting of a rich object-oriented modeling grammar as well as a >>> recommended Simple Profile of base types. >>> 2. ARIA is a straightforward implementation of a TOSCA parser and >>> orchestrator, currently an Apache incubator project. >>> 3. Cloudify is a mature and feature-rich cloud orchestrator >>> (Apache-licensed, currently at version 4.1) that uses a TOSCA-inspired >>> language, but not real TOSCA. >>> >>> Because ARIA is still quite new and missing supporting plugins for >>> various technologies (Docker, Openstack, AWS, Puppet, Chef, Juju, etc.) we >>> have created an adapter layer that help us use Cloudify plugins in ARIA. We >>> consider this a temporary measure and intend to re-implement all these >>> plugins natively for ARIA, as extensions in the repository. >>> >>> We're still building up our documentation on the wiki, as well as our >>> list of examples. We currently have a Hello World for Openstack, but not >>> one for Docker yet. >>> >>> Have you tried the Openstack example? >>> >>> https://cwiki.apache.org/confluence/display/ARIATOSCA/OpenSt >>> ack+Hello+World >>> >>> On Fri, Aug 4, 2017 at 4:17 AM, chbndrhnns >>> wrote: >>> >>>> Hi there, >>>> >>>> I am just about to start digging into TOSCA, ARIA and Cloudify and >>>> stuff and I am still a bit confused about it all works together (or not). >>>> >>>> I can get the `hello-world` example to run locally and now I would like >>>> to connect to a Docker instance, pull an image and run workflows either via >>>> ssh on that container or via the Docker plugin. >>>> >>>> Is that a viable use case and can someone provide me with a hello >>>> world, as well? >>>> >>>> Bye, >>>> Jo >>>> >>> >>> >> > --001a1148828c3729b505564426c6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Regarding using the Cloudify Docker plugin with ARIA - Whi= le the Cloudify plugin adapter translates ctx usage from Cloudify to ARIA, = it may sometimes be insufficient for running some Cloudify plugins over ARI= A - For example, if said plugin is using other APIs beyond the ctx one to i= nteract with the Cloudify manager directly.

This means t= hat while some Cloudify plugins may work with ARIA out of the box, this can= 't be guaranteed and must be tested for any specific plugin.
=
From a quick look I've taken over the Cloudify Docker pl= ugin (=C2=A0https://github.com/cloudify-cosmo/cloudify-docker-plugin ), I hav= en't seen anything that stands out as being incompatible - So if I were= you, I'd give it a try. If you do, please let us know if you were succ= essful or about any problems you may have run into.



On Tue, Aug 8, 2017 at 5:11 PM, Tal Liron <tal@cloudify.co> w= rote:
1. Clear= water is still a work in progress, and not yet working with Openstack/AWS. = However, if you accept that caveat you can help test by using the branch. T= o install locally you can use the address 127.0.0.1 -- it would still use s= sh, though:

https://github.com/apache/incubator-ariatosca/tree/ARIA-321-clearwater

2. We d= o not have a working Docker plugin at the moment, as far as I know. Perhaps= someone else can chime in with more info?

On Tue, Aug 8, 2017 at 8:41 AM, chbndrhnns <code+apache@ruesch= el.de> wrote:
Thanks so much, Tal.

I am about to test the Clearwat= er example for now and now I am wondering how I can use key-based authentic= ation when connecting to the remote machine when running `aria executions s= tart -vvv -s cw1 install`.?

Could you guide me on = how to use the Docker plugin?=C2=A0
I was able to build a custom = wagon based on the Docker plugin (1.3.2) and installed it via `aria plugins= install` which worked fine.
I am interested in a minimal working= example and would like to start exploring options from there...
=
A last question: What would I need to change to run a Clearw= ater installation just locally on an Ubuntu machine, without making use of = ssh?


Bye,
jo
<= div class=3D"m_2885573557062965083HOEnZb">

2017-08-04 = 17:59 GMT+02:00 Tal Liron <tal@cloudify.co>:
That's all very viable inde= ed.

1. TOSCA is an OASIS standard specification for cloud= orchestration, consisting of a rich object-oriented modeling grammar as we= ll as a recommended Simple Profile of base types.
2. ARIA is = a straightforward implementation of a TOSCA parser and orchestrator, curren= tly an Apache incubator project.
3. Cloudify is a mature and = feature-rich cloud orchestrator (Apache-licensed, currently at version 4.1)= that uses a TOSCA-inspired language, but not real TOSCA.

Because ARIA is still quite new and missing supporting plugins for various= technologies (Docker, Openstack, AWS, Puppet, Chef, Juju, etc.) we have cr= eated an adapter layer that help us use Cloudify plugins in ARIA. We consid= er this a temporary measure and intend to re-implement all these plugins na= tively for ARIA, as extensions in the repository.

W= e're still building up our documentation on the wiki, as well as our li= st of examples. We currently have a Hello World for Openstack, but not one = for Docker yet.

Have you tried the Openstack example?

<= a href=3D"https://cwiki.apache.org/confluence/display/ARIATOSCA/OpenStack+H= ello+World" target=3D"_blank">https://cwiki.apache.org/confluence/disp= lay/ARIATOSCA/OpenStack+Hello+World

On Fri, Aug 4, 2017 at 4:17 AM, chbndrhnns &= lt;code+apache= @rueschel.de> wrote:
Hi there,

I am just about to start digging in= to TOSCA, ARIA and Cloudify and stuff and I am still a bit confused about i= t all works together (or not).

I can get the `hell= o-world` example to run locally and now I would like to connect to a Docker= instance, pull an image and run workflows either via ssh on that container= or via the Docker plugin.

Is that a viable use ca= se and can someone provide me with a hello world, as well?

Bye,
Jo




--001a1148828c3729b505564426c6--