You should not attempt to modify the example yourself using sed the way you
do in your dockerfile - The change you're making is but a single one, while
there's been other changes to the example since the 0.1.1 version as well -
and more so, some changes took place in the service-templates scripts
rather than the service template yaml file.

See here:
https://github.com/apache/incubator-ariatosca/blob/master/examples/hello-world/scripts/configure.sh#L35
vs
https://github.com/apache/incubator-ariatosca/blob/0.1.1/examples/hello-world/scripts/configure.sh#L35


Since you're using ARIA 0.1.1, it'd be best to use the 0.1.1 example. To do
this, simply check out the "0.1.1" tag after git cloning the
incubator-ariatosca repository from github.


Ran


On Tue, Aug 29, 2017 at 6:12 PM, Vishwanath Jayaraman <
[email protected]> wrote:

> I edited line 6 in master file from 'tosca:Root' to 'tosca.nodes.Root'
>
>
> Below is the modified Dockerfile that I am using
>
>
> FROM ubuntu:16.04
>
>
> RUN apt-get update && apt-get install -y \
>
>     python-dev \
>
>     gcc \
>
>     libffi-dev \
>
>     libssl-dev \
>
>     python-pip \
>
>     git \
>
>     wget
>
>
> RUN pip install --upgrade pip setuptools
>
>
> #RUN pip install apache-ariatosca
>
>
> RUN pip install apache-ariatosca[ssh] --no-binary apache-ariatosca
>
>
> WORKDIR /tmp
>
>
> RUN git clone https://github.com/apache/incubator-ariatosca.git
> /tmp/incubator-ariatosca
>
>
> RUN sed -i "s/tosca:Root/tosca.nodes.Root/g" /tmp/incubator-ariatosca/
> examples/hello-world/helloworld.yaml
>
>
>
> Vish
>
>
> ________________________________
> From: Vishwanath Jayaraman <[email protected]>
> Sent: Tuesday, August 29, 2017 10:09 AM
> To: [email protected]
> Subject: Re: Seeing error "Validation issues: unknown parent type
> "tosca:Root" in WebServer"
>
>
> Below is what I am using
>
>
> tosca_definitions_version: tosca_simple_yaml_1_0
>
>
> node_types:
>
>
>   WebServer:
>
>     derived_from: tosca.nodes.Root
>
>     capabilities:
>
>       host:
>
>         type: tosca.capabilities.Container
>
>
>   WebApp:
>
>     derived_from: tosca.nodes.WebApplication
>
>     properties:
>
>       port:
>
>         type: integer
>
>
> topology_template:
>
>
>   node_templates:
>
>     web_server:
>
>       type: WebServer
>
>
>     web_app:
>
>       type: WebApp
>
>       properties:
>
>         port: 9090
>
>       requirements:
>
>         - host: web_server
>
>       interfaces:
>
>         Standard:
>
>           configure: scripts/configure.sh
>
>           start: scripts/start.sh
>
>           stop: scripts/stop.sh
>
>
>   outputs:
>
>     port:
>
>       type: integer
>
>       value: { get_property: [ web_app, port ] }
>
>
>
> Vish
>
>
> ________________________________
> From: Ran Ziv <[email protected]>
> Sent: Tuesday, August 29, 2017 10:04 AM
> To: [email protected]
> Subject: Re: Seeing error "Validation issues: unknown parent type
> "tosca:Root" in WebServer"
>
> Are you using the hello-world example from the 0.1.1 tag?
>
>
> On Tue, Aug 29, 2017 at 6:00 PM, Vishwanath Jayaraman <
> [email protected]> wrote:
>
> > Ran,
> >
> >  Thanks a lot for figuring out the root cause for the issue and also
> > providing a work around.
> >
> > With the work around you provided I am able to go past the issue related
> > to "ctx" not being found.
> >
> > However, I am seeing the below new issue on ubuntu 16.04 when I execute "
> >
> > aria executions start install -s my-service -vvv"
> >
> >
> >
> > root@3f9951e417b3:/tmp# aria executions start install -s my-service -vvv
> >
> > Starting execution. Press Ctrl+C cancel
> >
> > 14:56:16 | I | install | {} | Starting 'install' workflow execution
> >
> > 14:56:17 | D | None | {} | web_server_1 Standard.create has no
> > implementation
> >
> > 14:56:17 | D | None | {} | web_server_1 Standard.configure has no
> > implementation
> >
> > 14:56:17 | D | None | {} | web_server_1 Standard.start has no
> > implementation
> >
> > 14:56:18 | D | None | {} | web_app_1 Standard.create has no
> implementation
> >
> > 14:56:18 | D | None | {} | web_app_1->web_server_1
> > Configure.pre_configure_source has no implementation
> >
> > 14:56:18 | D | None | {} | web_app_1->web_server_1
> > Configure.pre_configure_target has no implementation
> >
> > 14:56:20 | I | aria.orchestrator.execution_plugin.operations.run_script_
> locally
> > | {u'process': {}, u'script_path': u'scripts/configure.sh'} | web_app_1
> > Standard.configure started...
> >
> > 14:56:20 | I | aria.orchestrator.execution_plugin.operations.run_script_
> locally
> > | {u'process': {}, u'script_path': u'scripts/configure.sh'} | Executing:
> > /tmp/tmposBljn-configure.sh
> >
> > 14:56:21 | I | aria.orchestrator.execution_plugin.operations.run_script_
> locally
> > | {u'process': {}, u'script_path': u'scripts/configure.sh'} | [
> >
> > 14:56:22 | I | aria.orchestrator.execution_plugin.operations.run_script_
> locally
> > | {u'process': {}, u'script_path': u'scripts/configure.sh'} | [
> >
> > 14:56:22 | I | aria.orchestrator.execution_plugin.operations.run_script_
> locally
> > | {u'process': {}, u'script_path': u'scripts/configure.sh'} | Execution
> > done (exit_code=1): /tmp/tmposBljn-configure.sh
> >
> > 14:56:22 | E | aria.orchestrator.execution_plugin.operations.run_script_
> locally
> > | {u'process': {}, u'script_path': u'scripts/configure.sh'} | web_app_1
> > Standard.configure failed
> >
> > |Traceback (most recent call last):
> >
> > |  File "/usr/local/lib/python2.7/dist-packages/aria/
> > orchestrator/workflows/executor/process.py", line 342, in _main
> >
> > |    task_func(ctx=ctx, **operation_arguments)
> >
> > |  File "/usr/local/lib/python2.7/dist-packages/aria/
> orchestrator/decorators.py",
> > line 78, in _wrapper
> >
> > |    return func(**func_kwargs)
> >
> > |  File "/usr/local/lib/python2.7/dist-packages/aria/
> > orchestrator/execution_plugin/operations.py", line 33, in
> > run_script_locally
> >
> > |    **kwargs)
> >
> > |  File "/usr/local/lib/python2.7/dist-packages/aria/
> > orchestrator/execution_plugin/local.py", line 43, in run_script
> >
> > |    operation_kwargs=kwargs)
> >
> > |  File "/usr/local/lib/python2.7/dist-packages/aria/
> > orchestrator/execution_plugin/local.py", line 107, in _execute_func
> >
> > |    return common.check_error(ctx, error_check_func=error_check_func)
> >
> > |  File "/usr/local/lib/python2.7/dist-packages/aria/
> > orchestrator/execution_plugin/common.py", line 150, in check_error
> >
> > |    error_check_func()
> >
> > |  File "/usr/local/lib/python2.7/dist-packages/aria/
> > orchestrator/execution_plugin/local.py", line 106, in error_check_func
> >
> > |    stderr=stderr_consumer.read_output())
> >
> > |ProcessException: Traceback (most recent call last):
> >
> > |  File "/usr/local/bin/ctx", line 11, in <module>
> >
> > |    load_entry_point('apache-ariatosca==0.1.1', 'console_scripts',
> > 'ctx')()
> >
> > |  File "/usr/local/lib/python2.7/dist-packages/aria/
> > orchestrator/execution_plugin/ctx_proxy/client.py", line 101, in main
> >
> > |    timeout=args.timeout)
> >
> > |  File "/usr/local/lib/python2.7/dist-packages/aria/
> > orchestrator/execution_plugin/ctx_proxy/client.py", line 65, in
> > _client_request
> >
> > |    raise _RequestError(ex_message, ex_type, ex_traceback)
> >
> > |aria.orchestrator.execution_plugin.ctx_proxy.client._RequestError:
> > (_RequestError(...), 'TypeError: download_resource_and_render() takes at
> > most 4 arguments (5 given)')
> >
> > |
> >
> >
> > Thanks a lot for all your help.
> >
> > Vish
> >
> >
> > ________________________________
> > From: Ran Ziv <[email protected]>
> > Sent: Tuesday, August 29, 2017 4:22 AM
> > To: [email protected]
> > Subject: Re: Seeing error "Validation issues: unknown parent type
> > "tosca:Root" in WebServer"
> >
> > Well, this is awkward.
> > After some short testing, it seems the problem is that the 0.1.1 (and
> > 0.1.0) wheels don't treat "ctx" as an entry points (as is evident by
> > unzipping the wheel and viewing the "entry_points.txt" file).
> > One simple way to work around this is to install ARIA not via wheel, e.g.
> > by running:
> > pip install apache-ariatosca[ssh] --no-binary apache-ariatosca
> >
> >
> > I still can't quite say what's caused this - if I try to build a wheel
> from
> > the current state of master (0.2.0), the wheel does treat "ctx" as an
> entry
> > point, and it's indeed recognized post-install.
> > AFAIK, nothing's changed about the installation mechanism since 0.1.1.
> >
> > It's likely to be related to the fact that "ctx" is not set directly into
> > "entry_points" in "setup.py", but rather is added dynamically by default:
> > https://github.com/apache/incubator-ariatosca/blob/0.1.1/setup.py#L101
> [https://avatars3.githubusercontent.com/u/47359?v=4&s=400]<
> https://github.com/apache/incubator-ariatosca/blob/0.1.1/setup.py#L101>
>
> apache/incubator-ariatosca<https://github.com/apache/
> incubator-ariatosca/blob/0.1.1/setup.py#L101>
> github.com
> incubator-ariatosca - Mirror of Apache incubator
>
>
>
> > [https://avatars3.githubusercontent.com/u/47359?v=4&s=400]<
> > https://github.com/apache/incubator-ariatosca/blob/0.1.1/setup.py#L101>
> >
> > apache/incubator-ariatosca<https://github.com/apache/
> > incubator-ariatosca/blob/0.1.1/setup.py#L101>
> > github.com
> > incubator-ariatosca - Mirror of Apache incubator
> >
> >
> >
> > However, as I mentioned, nothing much has changed there since 0.1.1, and
> I
> > don't see any changes in pip, wheel, or setuptools that might have caused
> > this either.
> >
> > The easiest way to avoid this in the future is possibly to simply make
> > "ctx" written statically into the "entry_points". I'll create a JIRA for
> > this.
> >
> >
> >
> >
> >
> > On Tue, Aug 29, 2017 at 11:42 AM, Ran Ziv <[email protected]> wrote:
> >
> > > Vishwanath,
> > > Sorry for not having followed up this issue earlier.
> > > I tried launching a 16.04 container earlier and following your steps,
> and
> > > indeed ctx was nowhere to be found.
> > > I'm looking into this.
> > >
> > >
> > >
> > > On Mon, Aug 28, 2017 at 11:17 PM, Tal Liron <[email protected]> wrote:
> > >
> > >> Vish, I would very much appreciate if you could verify if ctx is
> > available
> > >> in these cases:
> > >>
> > >> 1) 0.1.1: system install
> > >> 2) 0.1.1: virtualenv
> > >> 3) git master: system install
> > >> 4) git master: virtualenv
> > >>
> > >> Also, what OS are you using, and is there anything special about your
> > >> install?
> > >>
> > >>
> > >> On Mon, Aug 28, 2017 at 1:42 PM, DeWayne Filppi <[email protected]>
> > >> wrote:
> > >>
> > >> > I have 0.1.1 and ctx is there.
> > >> >
> > >> > On Mon, Aug 28, 2017 at 11:34 AM, Vishwanath Jayaraman <
> > >> > [email protected]> wrote:
> > >> >
> > >> > > Tal,
> > >> > >
> > >> > >  Appreciate the prompt response.
> > >> > >
> > >> > > Looks like the apache-ariatosca version that gets installed when
> > >> > following
> > >> > > instructions at http://ariatosca.incubator.apa
> > >> che.org/getting-started/
> > >> > > is 0.1.1 (in my case) and in your output, the version is 0.2.0.
> > >> > >
> > >> > > So, like you mentioned in your earlier email, there could be a bug
> > in
> > >> > > 0.1.1.
> > >> > >
> > >> > > Also, I do not see in the "Requires:" section of the output
> anything
> > >> > > related to "ctx", I am guessing ctx is installed when
> > >> apache-ariatosca is
> > >> > > installed.
> > >> > >
> > >> > >
> > >> > > If one other person can confirm that "ctx" is not installed when
> > >> > > apache-ariatosca version 0.1.1 is installed, do you think we
> should
> > >> open
> > >> > a
> > >> > > bug?
> > >> > >
> > >> > > Thoughts, suggestions?
> > >> > >
> > >> > > Thanks
> > >> > >
> > >> > > Vish
> > >> > >
> > >> > >
> > >> > > ________________________________
> > >> > > From: Tal Liron <[email protected]>
> > >> > > Sent: Monday, August 28, 2017 1:11 PM
> > >> > > To: [email protected]
> > >> > > Subject: Re: Seeing error "Validation issues: unknown parent type
> > >> > > "tosca:Root" in WebServer"
> > >> > >
> > >> > > Name: apache-ariatosca
> > >> > > Version: 0.2.0
> > >> > > Summary: ARIA
> > >> > > Home-page: http://ariatosca.incubator.apache.org/
> Welcome to The Apache Software Foundation!<http://ariatosca.
> incubator.apache.org/>
> ariatosca.incubator.apache.org
> Open. The Apache Software Foundation. provides support for the Apache
> Community of open-source software projects, which provide software products
> for the public good.
>
>
>
> > Welcome to The Apache Software Foundation!<http://ariatosca.
> > incubator.apache.org/>
> > ariatosca.incubator.apache.org
> > Open. The Apache Software Foundation. provides support for the Apache
> > Community of open-source software projects, which provide software
> products
> > for the public good.
> >
> >
> >
> > >> > > Welcome to The Apache Software Foundation!<http://ariatosca.
> > >> > > incubator.apache.org/>
> > >> > > ariatosca.incubator.apache.org
> > >> > > Open. The Apache Software Foundation. provides support for the
> > Apache
> > >> > > Community of open-source software projects, which provide software
> > >> > products
> > >> > > for the public good.
> > >> > >
> > >> > >
> > >> > >
> > >> > > Author: ARIA
> > >> > > Author-email: [email protected]
> > >> > > License: Apache License 2.0
> > >> > > Location: /home/user/ariatosca
> > >> > > Requires: requests, networkx, retrying, blinker, jsonpickle,
> > >> ruamel.yaml,
> > >> > > Jinja2, shortuuid, CacheControl, SQLAlchemy, wagon, bottle,
> > >> setuptools,
> > >> > > click, colorama, PrettyTable, click-didyoumean,
> > >> > > backports.shutil-get-terminal-size, logutils, psutil
> > >> > >
> > >> > >
> > >> > > On Mon, Aug 28, 2017 at 12:48 PM, Vishwanath Jayaraman <
> > >> > > [email protected]> wrote:
> > >> > >
> > >> > > > Tal,
> > >> > > >
> > >> > > > Do you mind sharing the output of command "pip show
> > >> apache-ariatosca"
> > >> > > from
> > >> > > > your development environment?
> > >> > > >
> > >> > > > Thanks
> > >> > > >
> > >> > > >
> > >> > > > Vish
> > >> > > >
> > >> > > >
> > >> > > > ________________________________
> > >> > > > From: Tal Liron <[email protected]>
> > >> > > > Sent: Monday, August 28, 2017 11:49 AM
> > >> > > > To: [email protected]
> > >> > > > Subject: Re: Seeing error "Validation issues: unknown parent
> type
> > >> > > > "tosca:Root" in WebServer"
> > >> > > >
> > >> > > > That is definitely a bug. Could you please try installing
> > >> > > apache-ariatosca
> > >> > > > in a virtualenv and see if you get the ctx link there? We mostly
> > >> test
> > >> > in
> > >> > > > virtualenvs.
> > >> > > >
> > >> > > > On Fri, Aug 25, 2017 at 9:27 PM, Vishwanath Jayaraman <
> > >> > > > [email protected]> wrote:
> > >> > > >
> > >> > > > > After the installation of apache-ariatosca, I executed the
> "pip
> > >> show
> > >> > > > > apache-ariatosca" command and below is the console output.
> Which
> > >> of
> > >> > the
> > >> > > > > below is related to "ctx"? Also, the /usr/local/bin/ is
> missing
> > >> the
> > >> > > 'ctx'
> > >> > > > > binary on the 16.04 ubuntu, however, I do see the 'aria'
> binary
> > in
> > >> > that
> > >> > > > > location.
> > >> > > > >
> > >> > > > >
> > >> > > > > ==============Begin Console Output===========
> > >> > > > >
> > >> > > > > Name: apache-ariatosca
> > >> > > > >
> > >> > > > > Version: 0.1.1
> > >> > > > >
> > >> > > > > Summary: ARIA
> > >> > > > >
> > >> > > > > Home-page: http://ariatosca.incubator.apache.org/
> > >> > > Welcome to The Apache Software Foundation!<http://ariatosca.
> > >> > > incubator.apache.org/>
> > >> > > ariatosca.incubator.apache.org
> > >> > > Open. The Apache Software Foundation. provides support for the
> > Apache
> > >> > > Community of open-source software projects, which provide software
> > >> > products
> > >> > > for the public good.
> > >> > >
> > >> > >
> > >> > >
> > >> > > > Welcome to The Apache Software Foundation!<http://ariatosca.
> > >> > > > incubator.apache.org/>
> > >> > > > ariatosca.incubator.apache.org
> > >> > > > Open. The Apache Software Foundation. provides support for the
> > >> Apache
> > >> > > > Community of open-source software projects, which provide
> software
> > >> > > products
> > >> > > > for the public good.
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > >
> > >> > > > > Author: ARIA
> > >> > > > >
> > >> > > > > Author-email: [email protected]
> > >> > > > >
> > >> > > > > License: Apache License 2.0
> > >> > > > >
> > >> > > > > Location: /usr/local/lib/python2.7/dist-packages
> > >> > > > >
> > >> > > > > Requires: psutil, ruamel.yaml, SQLAlchemy, logutils, requests,
> > >> > > > > PrettyTable, jsonpickle, click-didyoumean, blinker,
> > >> > > > > backports.shutil-get-terminal-size, clint, colorama, wagon,
> > >> > > > CacheControl,
> > >> > > > > retrying, bottle, click, setuptools, networkx, shortuuid,
> Jinja2
> > >> > > > >
> > >> > > > > ==============End Console output=============
> > >> > > > >
> > >> > > > >
> > >> > > > > Vish
> > >> > > > >
> > >> > > > >
> > >> > > > > ________________________________
> > >> > > > > From: Vishwanath Jayaraman <[email protected]>
> > >> > > > > Sent: Friday, August 25, 2017 11:20 AM
> > >> > > > > To: [email protected]
> > >> > > > > Subject: Re: Seeing error "Validation issues: unknown parent
> > type
> > >> > > > > "tosca:Root" in WebServer"
> > >> > > > >
> > >> > > > >
> > >> > > > > Ran,
> > >> > > > >
> > >> > > > > On a fresh Ubuntu 16.04.3 LTS install, I followed the below
> > steps
> > >> > > > >
> > >> > > > >     1  sudo apt-get update -y
> > >> > > > >     2  sudo apt install -y python-pip git
> > >> > > > >     3  sudo pip install --upgrade pip setuptools
> > >> > > > >     4  sudo apt-get install -y python-dev gcc libffi-dev
> > >> libssl-dev
> > >> > > > >     5  sudo pip install apache-ariatosca
> > >> > > > >     6  sudo pip install apache-ariatosca[ssh]
> > >> > > > >     7 ctx (console output message is "ctx: command not found")
> > >> > > > >
> > >> > > > > From the above steps, does it look like I could be missing
> > >> something
> > >> > > that
> > >> > > > > is not installing the 'ctx' binary.
> > >> > > > >
> > >> > > > >
> > >> > > > > Thanks
> > >> > > > >
> > >> > > > > Vish
> > >> > > > >
> > >> > > > >
> > >> > > > > ________________________________
> > >> > > > > From: Ran Ziv <[email protected]>
> > >> > > > > Sent: Friday, August 25, 2017 4:43 AM
> > >> > > > > To: [email protected]
> > >> > > > > Subject: Re: Seeing error "Validation issues: unknown parent
> > type
> > >> > > > > "tosca:Root" in WebServer"
> > >> > > > >
> > >> > > > > Hi Vishwanath,
> > >> > > > >
> > >> > > > > Thanks for helping in updating the hello-world example readme.
> > >> Sorry
> > >> > > > about
> > >> > > > > the lack of clarity there regarding the need to copy the
> > >> template's
> > >> > > > > resources as well.
> > >> > > > >
> > >> > > > > Regarding the ctx error, the ctx is a binary that should get
> > >> > installed
> > >> > > in
> > >> > > > > your environment when you install ARIA. It should not be
> > installed
> > >> > > > > separately.
> > >> > > > > try reinstalling ARIA and running "ctx" from the shell - that
> > >> should
> > >> > > give
> > >> > > > > you an error, but one from the "ctx" program, not one that
> such
> > a
> > >> > > program
> > >> > > > > was not found.
> > >> > > > >
> > >> > > > >
> > >> > > > > On Fri, Aug 25, 2017 at 4:40 AM, Vishwanath Jayaraman <
> > >> > > > > [email protected]> wrote:
> > >> > > > >
> > >> > > > > > For a first time user, its not apparent in the instructions
> at
> > >> > > > > >
> > >> > > > > > http://ariatosca.incubator.apache.org/getting-started/ that
> > >> they
> > >> > may
> > >> > > > > need
> > >> > > > > > to copy the entire examples directory or clone the github
> > repo,
> > >> I
> > >> > > will
> > >> > > > go
> > >> > > > > > ahead and open a JIRA to update the README.rst with those
> > >> > additional
> > >> > > > > > details.
> > >> > > > > >
> > >> > > > > > Only issue pending at this time is "ctx: command not found"
> > >> error.
> > >> > > > Once,
> > >> > > > > I
> > >> > > > > > get a response on how that gets installed, I will include
> that
> > >> in
> > >> > the
> > >> > > > > > dependencies section.
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Vish
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > ________________________________
> > >> > > > > > From: DeWayne Filppi <[email protected]>
> > >> > > > > > Sent: Thursday, August 24, 2017 1:28 PM
> > >> > > > > > To: [email protected]
> > >> > > > > > Subject: Re: Seeing error "Validation issues: unknown parent
> > >> type
> > >> > > > > > "tosca:Root" in WebServer"
> > >> > > > > >
> > >> > > > > > I'm running in a cloned github repo, so all is there.  On
> > >> another
> > >> > > > front,
> > >> > > > > > the Aria port type for Openstack requires that every port
> > have a
> > >> > > > > > public/floating ip.
> > >> > > > > >
> > >> > > > > > On Thu, Aug 24, 2017 at 11:11 AM, Tal Liron <
> [email protected]>
> > >> > wrote:
> > >> > > > > >
> > >> > > > > > > You need not just the helloworld YAML file, but also all
> the
> > >> > > scripts
> > >> > > > it
> > >> > > > > > > references. Try copying the whole examples directory to
> make
> > >> > sure.
> > >> > > > > > >
> > >> > > > > > > We are planning to eventually display a validation error
> if
> > >> the
> > >> > > YAML
> > >> > > > > file
> > >> > > > > > > references artifacts that don't exist, so you wouldn't
> have
> > to
> > >> > wait
> > >> > > > > until
> > >> > > > > > > execution to see the error. This would be part of our
> > general
> > >> > work
> > >> > > on
> > >> > > > > > > improving artifact support.
> > >> > > > > > >
> > >> > > > > > > On Thu, Aug 24, 2017 at 12:26 PM, Vishwanath Jayaraman <
> > >> > > > > > > [email protected]> wrote:
> > >> > > > > > >
> > >> > > > > > > > I copied the helloworld.yaml to '~/examples'  (i.e home
> > >> > > directory)
> > >> > > > on
> > >> > > > > > my
> > >> > > > > > > > box.
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > From the instructions at http://ariatosca.incubator.
> > >> > > > > > > > apache.org/getting-started/
> > >> > > > > > > >
> > >> > > > > > > > I executed the
> > >> > > > > > > >
> > >> > > > > > > > aria service-templates store examples/helloworld.yaml
> > >> > > > > > my-service-template
> > >> > > > > > > >
> > >> > > > > > > > command from the home directory.
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > Additional Info:
> > >> > > > > > > >
> > >> > > > > > > > - I am running this on a fresh Ubuntu 16.04 system
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > ARIA Installation sequence followed is below
> > >> > > > > > > >
> > >> > > > > > > > - sudo apt-get update
> > >> > > > > > > >
> > >> > > > > > > > - sudo apt-install python-pip
> > >> > > > > > > >
> > >> > > > > > > > - pip install --upgrade pip setuptools
> > >> > > > > > > >
> > >> > > > > > > > - sudo pip install apache-ariatosca
> > >> > > > > > > >
> > >> > > > > > > > - sudo apt-get install -y python-dev gcc libffi-dev
> > >> libssl-dev
> > >> > > > > > > >
> > >> > > > > > > > - sudo pip install apache-ariatosca[ssh]
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > After I execute
> > >> > > > > > > >
> > >> > > > > > > > 'aria service-templates store examples/helloworld.yaml
> > >> > > > > > > my-service-template
> > >> > > > > > > > -vvv'
> > >> > > > > > > >
> > >> > > > > > > > I do not see the 'images', 'index.html' and 'scripts' in
> > the
> > >> > > > > > > >
> > >> > > > > > > > '.aria/resources/service_template/1/'.
> > >> > > > > > > >
> > >> > > > > > > > I am guessing this is generated by the code.
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > Vish
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > ________________________________
> > >> > > > > > > > From: Ran Ziv <[email protected]>
> > >> > > > > > > > Sent: Thursday, August 24, 2017 4:22 AM
> > >> > > > > > > > To: [email protected]
> > >> > > > > > > > Subject: Re: Seeing error "Validation issues: unknown
> > parent
> > >> > type
> > >> > > > > > > > "tosca:Root" in WebServer"
> > >> > > > > > > >
> > >> > > > > > > > No, it doesn't :)
> > >> > > > > > > > This is what mine looks like:
> > >> > > > > > > >
> > >> > > > > > > > $ ls ~/.aria/resources/service_template/2/
> > >> > > > > > > > hello-world.yaml  images  index.html  scripts
> > >> > > > > > > >
> > >> > > > > > > > How did you store the service-template? What was the
> > >> directory
> > >> > > you
> > >> > > > > were
> > >> > > > > > > in
> > >> > > > > > > > when running the store command? (not that it should
> > matter,
> > >> > but I
> > >> > > > > don't
> > >> > > > > > > > have any better clue at the moment)
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > On Thu, Aug 24, 2017 at 10:51 AM, Vishwanath Jayaraman <
> > >> > > > > > > > [email protected]> wrote:
> > >> > > > > > > >
> > >> > > > > > > > > Find below the console output , does it look right?
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > ubuntu@intellij:~$ ls -l .aria/
> > >> > > > > > > > > total 6
> > >> > > > > > > > > -rw-rw-r-- 1 ubuntu ubuntu 14897 Aug 23 20:53 cli.log
> > >> > > > > > > > > -rw-rw-r-- 1 ubuntu ubuntu  1246 Aug 23 20:48
> > config.yaml
> > >> > > > > > > > > drwxrwxr-x 2 ubuntu ubuntu     3 Aug 23 20:53 models
> > >> > > > > > > > > drwxrwxr-x 2 ubuntu ubuntu     2 Aug 23 20:48 plugins
> > >> > > > > > > > > drwxrwxr-x 5 ubuntu ubuntu     5 Aug 23 20:48
> resources
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > ubuntu@intellij:~$ ls -l .aria/models/
> > >> > > > > > > > > total 29
> > >> > > > > > > > > -rw-r--r-- 1 ubuntu ubuntu 188416 Aug 23 20:53
> db.sqlite
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > ubuntu@intellij:~$ ls -l
> .aria/resources/service_templa
> > >> te/1/
> > >> > > > > > > > > total 1
> > >> > > > > > > > > -rw-rw-r-- 1 ubuntu ubuntu 720 Aug 23 20:48
> > >> helloworld.yaml
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > Vish
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > ________________________________
> > >> > > > > > > > > From: Ran Ziv <[email protected]>
> > >> > > > > > > > > Sent: Thursday, August 24, 2017 2:27 AM
> > >> > > > > > > > > To: [email protected]
> > >> > > > > > > > > Subject: Re: Seeing error "Validation issues: unknown
> > >> parent
> > >> > > type
> > >> > > > > > > > > "tosca:Root" in WebServer"
> > >> > > > > > > > >
> > >> > > > > > > > > Interesting. The script resource should have been
> placed
> > >> in
> > >> > > that
> > >> > > > > > > > directory
> > >> > > > > > > > > when you stored the service-template.
> > >> > > > > > > > > Try looking inside ~/.aria and see what you can find
> > under
> > >> > the
> > >> > > > > model
> > >> > > > > > > > > storage directory - the "service_template/1/.." path
> > >> > mentioned
> > >> > > > > above
> > >> > > > > > > > should
> > >> > > > > > > > > be relative to there.
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > On Wed, Aug 23, 2017 at 11:52 PM, Vishwanath
> Jayaraman <
> > >> > > > > > > > > [email protected]> wrote:
> > >> > > > > > > > >
> > >> > > > > > > > > > THanks for making me aware of the -vvv option
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > > Below is what I see now
> > >> > > > > > > > > >
> > >> > > > > > > > > > ====================Console output
> > START================
> > >> > > > > > > > > >
> > >> > > > > > > > > > ubuntu@intellij:~$ aria service-templates store
> > >> > > > > > /tmp/helloworld.yaml
> > >> > > > > > > > > > my-service-template
> > >> > > > > > > > > > Storing service template my-service-template...
> > >> > > > > > > > > > Service template my-service-template stored
> > >> > > > > > > > > > ubuntu@intellij:~$ aria services create my-service
> -t
> > >> > > > > > > > > my-service-template
> > >> > > > > > > > > > -vvv
> > >> > > > > > > > > > Creating new service from service template
> > >> > > > my-service-template...
> > >> > > > > > > > > > Service created. The service's name is my-service
> > >> > > > > > > > > > ubuntu@intellij:~$ aria executions start install -s
> > >> > > my-service
> > >> > > > > > -vvv
> > >> > > > > > > > > > Starting execution. Press Ctrl+C cancel
> > >> > > > > > > > > > 20:49:28 | I | install | {} | Starting 'install'
> > >> workflow
> > >> > > > > execution
> > >> > > > > > > > > > 20:49:30 | D | None | {} | web_server_1
> > Standard.create
> > >> has
> > >> > > no
> > >> > > > > > > > > > implementation
> > >> > > > > > > > > > 20:49:30 | D | None | {} | web_server_1
> > >> Standard.configure
> > >> > > has
> > >> > > > no
> > >> > > > > > > > > > implementation
> > >> > > > > > > > > > 20:49:31 | D | None | {} | web_server_1
> Standard.start
> > >> has
> > >> > no
> > >> > > > > > > > > > implementation
> > >> > > > > > > > > > 20:49:33 | D | None | {} | web_app_1 Standard.create
> > >> has no
> > >> > > > > > > > > implementation
> > >> > > > > > > > > > 20:49:34 | D | None | {} | web_app_1->web_server_1
> > >> > > > > > > > > > Configure.pre_configure_source has no implementation
> > >> > > > > > > > > > 20:49:34 | D | None | {} | web_app_1->web_server_1
> > >> > > > > > > > > > Configure.pre_configure_target has no implementation
> > >> > > > > > > > > > 20:49:41 | I | aria.orchestrator.execution_
> > >> > > > > > > > plugin.operations.run_script_
> > >> > > > > > > > > locally
> > >> > > > > > > > > > | {u'process': {}, u'script_path':
> > >> > u'scripts/configure.sh'} |
> > >> > > > > > > web_app_1
> > >> > > > > > > > > > Standard.configure started...
> > >> > > > > > > > > > 20:49:42 | E | aria.orchestrator.execution_
> > >> > > > > > > > plugin.operations.run_script_
> > >> > > > > > > > > locally
> > >> > > > > > > > > > | {u'process': {}, u'script_path':
> > >> > u'scripts/configure.sh'} |
> > >> > > > > > > web_app_1
> > >> > > > > > > > > > Standard.configure failed
> > >> > > > > > > > > >         |Traceback (most recent call last):
> > >> > > > > > > > > >         |  File "/tmp/pip-build-7Wa36U/apache-
> > >> > > > > > > > > ariatosca/aria/orchestrator/
> > >> > > > > > > > > > workflows/executor/process.py", line 342, in _main
> > >> > > > > > > > > >         |  File "/usr/local/lib/python2.7/
> > >> > > dist-packages/aria/
> > >> > > > > > > > > orchestrator/decorators.py",
> > >> > > > > > > > > > line 78, in _wrapper
> > >> > > > > > > > > >         |    return func(**func_kwargs)
> > >> > > > > > > > > >         |  File "/usr/local/lib/python2.7/
> > >> > > dist-packages/aria/
> > >> > > > > > > > > > orchestrator/execution_plugin/operations.py", line
> > 33,
> > >> in
> > >> > > > > > > > > > run_script_locally
> > >> > > > > > > > > >         |    **kwargs)
> > >> > > > > > > > > >         |  File "/usr/local/lib/python2.7/
> > >> > > dist-packages/aria/
> > >> > > > > > > > > > orchestrator/execution_plugin/local.py", line 37,
> in
> > >> > > > run_script
> > >> > > > > > > > > >         |    script_path =
> common.download_script(ctx,
> > >> > > > > script_path)
> > >> > > > > > > > > >         |  File "/usr/local/lib/python2.7/
> > >> > > dist-packages/aria/
> > >> > > > > > > > > > orchestrator/execution_plugin/common.py", line 50,
> in
> > >> > > > > > > download_script
> > >> > > > > > > > > >         |    ctx.download_resource(
> > >> > > > destination=dest_script_path,
> > >> > > > > > > > > > path=script_path)
> > >> > > > > > > > > >         |  File "/usr/local/lib/python2.7/
> > >> > > dist-packages/aria/
> > >> > > > > > > > > > orchestrator/context/common.py", line 163, in
> > >> > > > download_resource
> > >> > > > > > > > > >         |    path=path)
> > >> > > > > > > > > >         |  File "/usr/local/lib/python2.7/
> > >> > > > > > > dist-packages/aria/storage/
> > >> > > > > > > > > filesystem_rapi.py",
> > >> > > > > > > > > > line 128, in download
> > >> > > > > > > > > >         |    format(resource_relative_path))
> > >> > > > > > > > > >         |StorageError: Resource
> > >> service_template/1/scripts/
> > >> > > > > > > > configure.sh
> > >> > > > > > > > > > does not exist
> > >> > > > > > > > > >
> > >> > > > > > > > > > 20:50:18 | I | aria.orchestrator.execution_
> > >> > > > > > > > plugin.operations.run_script_
> > >> > > > > > > > > locally
> > >> > > > > > > > > > | {u'process': {}, u'script_path':
> > >> u'scripts/configure.sh'}
> > >> > > > > > > > > > =====================END CONSOLE
> > >> > OUTPUT=====================
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > > Vish
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > > ________________________________
> > >> > > > > > > > > > From: Ran Ziv <[email protected]>
> > >> > > > > > > > > > Sent: Wednesday, August 23, 2017 3:29 PM
> > >> > > > > > > > > > To: [email protected]
> > >> > > > > > > > > > Subject: Re: Seeing error "Validation issues:
> unknown
> > >> > parent
> > >> > > > type
> > >> > > > > > > > > > "tosca:Root" in WebServer"
> > >> > > > > > > > > >
> > >> > > > > > > > > > Nope - It works fine for me.
> > >> > > > > > > > > > Try to run it with "-vvv" for more verbose execution
> > >> > logging
> > >> > > > > > > > information.
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > > On Wed, Aug 23, 2017 at 7:17 PM, Vishwanath
> Jayaraman
> > <
> > >> > > > > > > > > > [email protected]> wrote:
> > >> > > > > > > > > >
> > >> > > > > > > > > > > Hi Ran,
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > Appreciate your response.
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > I edited the helloworld.yaml (changed from
> > tosca:Root
> > >> to
> > >> > > > > > > > > > tosca.nodes.Root)
> > >> > > > > > > > > > > and was able to make progress.
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > However, I see the below "web_app_1
> > Standard.configure
> > >> > > > failed"
> > >> > > > > -
> > >> > > > > > > > refer
> > >> > > > > > > > > > > console output below
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > ============console output
> start====================
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > ubuntu@intellij:~$ aria service-templates store
> > >> > > > > > > /tmp/helloworld.yaml
> > >> > > > > > > > > > > my-service-template
> > >> > > > > > > > > > > Storing service template my-service-template...
> > >> > > > > > > > > > > Service template my-service-template stored
> > >> > > > > > > > > > > ubuntu@intellij:~$ aria services create
> my-service
> > -t
> > >> > > > > > > > > > my-service-template
> > >> > > > > > > > > > > Creating new service from service template
> > >> > > > > my-service-template...
> > >> > > > > > > > > > > Service created. The service's name is my-service
> > >> > > > > > > > > > > ubuntu@intellij:~$ aria executions start install
> -s
> > >> > > > my-service
> > >> > > > > > > > > > > Starting execution. Press Ctrl+C cancel
> > >> > > > > > > > > > > Starting 'install' workflow execution
> > >> > > > > > > > > > > web_app_1 Standard.configure started...
> > >> > > > > > > > > > > web_app_1 Standard.configure failed
> > >> > > > > > > > > > > web_app_1 Standard.configure started...
> > >> > > > > > > > > > > web_app_1 Standard.configure failed
> > >> > > > > > > > > > > ============console output end====================
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > Is the above you saw as well?
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > Thanks
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > Vish
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > ________________________________
> > >> > > > > > > > > > > From: Ran Ziv <[email protected]>
> > >> > > > > > > > > > > Sent: Tuesday, August 22, 2017 2:29 AM
> > >> > > > > > > > > > > To: [email protected]
> > >> > > > > > > > > > > Subject: Re: Seeing error "Validation issues:
> > unknown
> > >> > > parent
> > >> > > > > type
> > >> > > > > > > > > > > "tosca:Root" in WebServer"
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > Hi Vishwanath,
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > I just tried it myself and the service template
> > parses
> > >> > > fine.
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > This is related to this change:
> > >> > > > > > > > > > > https://github.com/apache/
> > incubator-ariatosca/commit/
> > >> > > > [https://avatars2.githubusercontent.com/u/11952207?v=4&s=200
> > >> ]<https://
> > >> > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > >
> > >> > > > ARIA-348 Validate substitution_mapping field ·
> > >> > > apache/incubator-ariatosca@
> > >> > > > a048f70<https://github.com/apache/incubator-ariatosca/commit/>
> > >> > > > github.com
> > >> > > > incubator-ariatosca - Mirror of Apache incubator
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > > [https://avatars2.githubusercontent.com/u/11952207?v=4&s=200
> > >> > ]<https://
> > >> > > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > > >
> > >> > > > > ARIA-348 Validate substitution_mapping field ·
> > >> > > > apache/incubator-ariatosca@
> > >> > > > > a048f70<https://github.com/apache/incubator-ariatosca/commit/
> >
> > >> > > > [https://avatars2.githubusercontent.com/u/11952207?v=4&s=200
> > >> ]<https://
> > >> > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > >
> > >> > > > ARIA-348 Validate substitution_mapping field ·
> > >> > > apache/incubator-ariatosca@
> > >> > > > a048f70<https://github.com/apache/incubator-ariatosca/commit/>
> > >> > > > github.com
> > >> > > > incubator-ariatosca - Mirror of Apache incubator
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > > github.com
> > >> > > > > incubator-ariatosca - Mirror of Apache incubator
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > > [https://avatars2.githubusercontent.com/u/
> 11952207?v=4&s=200
> > >> > > ]<https://
> > >> > > > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > > > >
> > >> > > > > > ARIA-348 Validate substitution_mapping field ·
> > >> > > > > apache/incubator-ariatosca@
> > >> > > > > > a048f70<https://github.com/apache/incubator-ariatosca/
> commit/
> > >
> > >> > > > [https://avatars2.githubusercontent.com/u/11952207?v=4&s=200
> > >> ]<https://
> > >> > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > >
> > >> > > > ARIA-348 Validate substitution_mapping field ·
> > >> > > apache/incubator-ariatosca@
> > >> > > > a048f70<https://github.com/apache/incubator-ariatosca/commit/>
> > >> > > > github.com
> > >> > > > incubator-ariatosca - Mirror of Apache incubator
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > > [https://avatars2.githubusercontent.com/u/11952207?v=4&s=200
> > >> > ]<https://
> > >> > > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > > >
> > >> > > > > ARIA-348 Validate substitution_mapping field ·
> > >> > > > apache/incubator-ariatosca@
> > >> > > > > a048f70<https://github.com/apache/incubator-ariatosca/commit/
> >
> > >> > > > > github.com
> > >> > > > > incubator-ariatosca - Mirror of Apache incubator
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > > github.com
> > >> > > > > > incubator-ariatosca - Mirror of Apache incubator
> > >> > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > > > [https://avatars2.githubuserco
> > >> ntent.com/u/11952207?v=4&s=200
> > >> > > > > ]<https://
> > >> > > > > > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > > > > > >
> > >> > > > > > > > ARIA-348 Validate substitution_mapping field ·
> > >> > > > > > > apache/incubator-ariatosca@
> > >> > > > > > > > a048f70<https://github.com/apa
> > >> che/incubator-ariatosca/commit/>
> > >> > > > > [https://avatars2.githubusercontent.com/u/11952207?v=4&s=200
> > >> > ]<https://
> > >> > > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > > >
> > >> > > > > ARIA-348 Validate substitution_mapping field ·
> > >> > > > apache/incubator-ariatosca@
> > >> > > > > a048f70<https://github.com/apache/incubator-ariatosca/commit/
> >
> > >> > > > > github.com
> > >> > > > > incubator-ariatosca - Mirror of Apache incubator
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > > [https://avatars2.githubusercontent.com/u/
> 11952207?v=4&s=200
> > >> > > ]<https://
> > >> > > > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > > > >
> > >> > > > > > ARIA-348 Validate substitution_mapping field ·
> > >> > > > > apache/incubator-ariatosca@
> > >> > > > > > a048f70<https://github.com/apache/incubator-ariatosca/
> commit/
> > >
> > >> > > > > [https://avatars2.githubusercontent.com/u/11952207?v=4&s=200
> > >> > ]<https://
> > >> > > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > > >
> > >> > > > > ARIA-348 Validate substitution_mapping field ·
> > >> > > > apache/incubator-ariatosca@
> > >> > > > > a048f70<https://github.com/apache/incubator-ariatosca/commit/
> >
> > >> > > > > github.com
> > >> > > > > incubator-ariatosca - Mirror of Apache incubator
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > > github.com
> > >> > > > > > incubator-ariatosca - Mirror of Apache incubator
> > >> > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > > > github.com
> > >> > > > > > > > incubator-ariatosca - Mirror of Apache incubator
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > > [https://avatars0.githubuserco
> > >> ntent.com/u/7134678?v=4&s=200
> > >> > > > > > ]<https://
> > >> > > > > > > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > > > > > > >
> > >> > > > > > > > > ARIA-352 Fixed package name aria[ssh] incorrect in the
> > >> > > > installation
> > >> > > > > > d...
> > >> > > > > > > ·
> > >> > > > > > > > > apache/incubator-ariatosca@a5b450a<
> https://github.com/
> > >> > > > > > > > > apache/incubator-ariatosca/commit/>
> > >> > > > > > > > > github.com
> > >> > > > > > > > > ...ocument link
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > > [https://avatars0.githubusercontent.com/u/
> > >> > 7134678?v=4&s=200
> > >> > > > > > > ]<https://
> > >> > > > > > > > > > github.com/apache/incubator-ariatosca/commit/>
> > >> > > > > > > > > >
> > >> > > > > > > > > > ARIA-352 Fixed package name aria[ssh] incorrect in
> the
> > >> > > > > installation
> > >> > > > > > > d...
> > >> > > > > > > > ·
> > >> > > > > > > > > > apache/incubator-ariatosca@a5b450a<
> > https://github.com/
> > >> > > > > > > > > > apache/incubator-ariatosca/commit/>
> > >> > > > > > > > > > github.com
> > >> > > > > > > > > > ...ocument link
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > > > c2b8e65b41c013bfd4ee14ea47268083f8b20822
> > >> > > > > > > > > > > [https://avatars0.githubusercontent.com/u/
> > >> > > 29885907?v=4&s=200
> > >> > > > > > > > ]<https://
> > >> > > > > > > > > > > github.com/apache/incubator-ariatosca/commit/
> > >> > > > > > > > > > > c2b8e65b41c013bfd4ee14ea47268083f8b20822>
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > ARIA-277 Support for Type Qualified Name ·
> > >> > > > > > > > apache/incubator-ariatosca@
> > >> > > > > > > > > > > c2b8e65<https://github.com/apa
> > >> che/incubator-ariatosca/
> > >> > > > commit/
> > >> > > > > > > > > > > c2b8e65b41c013bfd4ee14ea47268083f8b20822>
> > >> > > > > > > > > > > github.com
> > >> > > > > > > > > > > incubator-ariatosca - Mirror of Apache incubator
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > The commit was introduced after 0.1.1 was
> released,
> > >> so I
> > >> > > > think
> > >> > > > > > what
> > >> > > > > > > > > might
> > >> > > > > > > > > > > be the case here is that there's a mismatch
> between
> > >> the
> > >> > > code
> > >> > > > > > > version
> > >> > > > > > > > > and
> > >> > > > > > > > > > > the example version.
> > >> > > > > > > > > > > If you've installed 0.1.1, please
> download/checkout
> > >> the
> > >> > > > correct
> > >> > > > > > > > version
> > >> > > > > > > > > > for
> > >> > > > > > > > > > > the example, rather than use the one from the
> master
> > >> > > branch.
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > If you'd like to run the example off the master
> > >> branch,
> > >> > > make
> > >> > > > > sure
> > >> > > > > > > you
> > >> > > > > > > > > > > install this branch and not the version on PyPI
> (the
> > >> > master
> > >> > > > > > > branch's
> > >> > > > > > > > > > > version is 0.2.0).
> > >> > > > > > > > > > > You may also want to consider installing in
> editable
> > >> mode
> > >> > > so
> > >> > > > > you
> > >> > > > > > > > won't
> > >> > > > > > > > > > need
> > >> > > > > > > > > > > to reinstall after each pull.
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > Ran
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > On Tue, Aug 22, 2017 at 12:10 AM, Vishwanath
> > >> Jayaraman <
> > >> > > > > > > > > > > [email protected]> wrote:
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > > When I execute the command "aria
> service-templates
> > >> > store
> > >> > > > > > > > > > > > examples/hello-world/helloworld.yaml
> > >> > > my-service-template"
> > >> > > > > from
> > >> > > > > > > the
> > >> > > > > > > > > > > > 'Getting Started' section at
> > >> > https://github.com/apache/
> > >> > > > > > > > > > > [https://avatars1.githubusercontent.com/u/47359?
> > >> > v=4&s=200
> > >> > > ]<
> > >> > > > > > > > > > > https://github.com/apache/>
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > The Apache Software Foundation · GitHub<
> > >> > > https://github.com/
> > >> > > > > > apache/
> > >> > > > > > > >
> > >> > > > > > > > > > > github.com
> > >> > > > > > > > > > > GitHub is where people build software. More than
> 23
> > >> > million
> > >> > > > > > people
> > >> > > > > > > > use
> > >> > > > > > > > > > > GitHub to discover, fork, and contribute to over
> 64
> > >> > million
> > >> > > > > > > projects.
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > > incubator-ariatosca/blob/master/README.rst , I
> > see
> > >> the
> > >> > > > below
> > >> > > > > > > > message
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > > Storing service template my-service-template...
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > > Validation issues:
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > >   4: unknown parent type "tosca.Root" in
> > "WebServer"
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > >      @"/home/ubuntu/incubator-
> > >> > ariatosca/examples/hello-
> > >> > > > > > > > > > > > world/helloworld.yaml":6:19
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > > Failed to parse service template
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > > Is this a known issue?
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > > Thanks
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > > -Vish
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > > [https://avatars3.githubusercontent.com/u/47359
> ?
> > >> > > v=4&s=400
> > >> > > > ]<
> > >> > > > > > > > > > > > https://github.com/apache/
> > incubator-ariatosca/blob/
> > >> > > > > > > > master/README.rst
> > >> > > > > > > > > >
> > >> > > > > > > > > > > [https://avatars3.githubusercontent.com/u/47359?
> > >> > v=4&s=400
> > >> > > ]<
> > >> > > > > > > > > > > https://github.com/apache/
> incubator-ariatosca/blob/
> > >> > > > > > > master/README.rst
> > >> > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > incubator-ariatosca/README.rst at master · apache
> > ...<
> > >> > > > > > > > > > > https://github.com/apache/
> incubator-ariatosca/blob/
> > >> > > > > > > master/README.rst
> > >> > > > > > > > >
> > >> > > > > > > > > > > github.com
> > >> > > > > > > > > > > ARIA is a an open-source, TOSCA-based, lightweight
> > >> > library
> > >> > > > and
> > >> > > > > > CLI
> > >> > > > > > > > for
> > >> > > > > > > > > > > orchestration and for consumption by projects
> > building
> > >> > > > > > TOSCA-based
> > >> > > > > > > > > > > solutions for resources and ...
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > > incubator-ariatosca/README.rst at master ·
> apache
> > >> ...<
> > >> > > > > > > > > > > > https://github.com/apache/
> > incubator-ariatosca/blob/
> > >> > > > > > > > master/README.rst
> > >> > > > > > > > > >
> > >> > > > > > > > > > > [https://avatars3.githubusercontent.com/u/47359?
> > >> > v=4&s=400
> > >> > > ]<
> > >> > > > > > > > > > > https://github.com/apache/
> incubator-ariatosca/blob/
> > >> > > > > > > master/README.rst
> > >> > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > incubator-ariatosca/README.rst at master · apache
> > ...<
> > >> > > > > > > > > > > https://github.com/apache/
> incubator-ariatosca/blob/
> > >> > > > > > > master/README.rst
> > >> > > > > > > > >
> > >> > > > > > > > > > > github.com
> > >> > > > > > > > > > > ARIA is a an open-source, TOSCA-based, lightweight
> > >> > library
> > >> > > > and
> > >> > > > > > CLI
> > >> > > > > > > > for
> > >> > > > > > > > > > > orchestration and for consumption by projects
> > building
> > >> > > > > > TOSCA-based
> > >> > > > > > > > > > > solutions for resources and ...
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > > > > github.com
> > >> > > > > > > > > > > > ARIA is a an open-source, TOSCA-based,
> lightweight
> > >> > > library
> > >> > > > > and
> > >> > > > > > > CLI
> > >> > > > > > > > > for
> > >> > > > > > > > > > > > orchestration and for consumption by projects
> > >> building
> > >> > > > > > > TOSCA-based
> > >> > > > > > > > > > > > solutions for resources and ...
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > > > Vish
> > >> > > > > > > > > > > >
> > >> > > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> > >
> > >
> >
>

Reply via email to