Re: Minimal example for docker/fabric

2017-08-08 Thread Ran Ziv
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

>>>
>>>
>>
>


Re: Minimal example for docker/fabric

2017-08-08 Thread Tal Liron
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
>>>
>>
>>
>


Re: Minimal example for docker/fabric

2017-08-08 Thread chbndrhnns
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/
> OpenStack+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
>>
>
>


Re: Minimal example for docker/fabric

2017-08-04 Thread 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/OpenStack+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
>