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/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/apache/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