You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by Thomas Nadeau <tn...@gmail.com> on 2017/11/27 20:54:36 UTC

ARIA-354 Verified

	I took an action during the grooming to verify the installation of the latest PIP artifacts.
I was able to install successfully on Ubuntu 16.04 LTS just now.

	—Tom



Re: ARIA-354 Verified

Posted by Thomas Nadeau <tn...@gmail.com>.
	OH yes, I need to run the “hell world” example. I’ll do that first thing Tuesday...

> On Nov 27, 2017, at 5:24 PM, Tal Liron <ta...@cloudify.co> wrote:
> 
> Tom, the specific problems we had were not with installation, but rather in
> running workflows. Have you tried to install the Hello World example?
> 
> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tn...@gmail.com>
> wrote:
> 
>> 
>>        I took an action during the grooming to verify the installation of
>> the latest PIP artifacts.
>> I was able to install successfully on Ubuntu 16.04 LTS just now.
>> 
>>        —Tom
>> 
>> 
>> 


Re: ARIA-354 Verified

Posted by Tal Liron <ta...@cloudify.co>.
The error you are seeing now is unrelated to the error that required the
"--no-binary" workaround.

It seems somehow your install is not seeing the extensions, and thus is not
finding the TOSCA parser.

Are you using a virtualenv? Or are you using "sudo -H" to install to your
operating system?

On Mon, Nov 27, 2017 at 4:49 PM, Miguel Angel Jimenez Achinte <
miguel@rigiresearch.com> wrote:

> I executed: pip install apache-ariatosca[ssh]
> Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
> apache-ariatosca" instead?
>
>
> --
> Miguel Jimenez, PhD student
> Department of Computer Science
> University of Victoria
> Engineering/Computer Science Building (ECS), Room 412
> Victoria, BC
> V8W 3p6 Canada
>
> On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <ta...@cloudify.co> wrote:
>
> > Miguel, how did you install ARIA?
> >
> > On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> > miguel@rigiresearch.com> wrote:
> >
> > > I just installed ARIA on Centos 7 and I get the same error:
> > >
> > > Storing service template my-service-template...
> > >
> > > *AttributeError*: 'NoneType' object has no attribute '_get_properties'
> > >
> > >   File "/usr/lib/python2.7/site-packages/aria/parser/
> > > consumption/consumer.py",
> > > line 70, in consume
> > >
> > >     consumer.consume()
> > >
> > >   File "
> > > /usr/lib/python2.7/site-packages/aria/parser/
> consumption/validation.py",
> > > line 30, in consume
> > >
> > >     self.context.presentation.presenter._validate(self.context)
> > >
> > >   File "
> > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > simple_v1_0/presenter.py",
> > > line 65, in _validate
> > >
> > >     self.service_template._validate(context)
> > >
> > >   File "
> > > /usr/lib/python2.7/site-packages/aria/parser/
> > > presentation/presentation.py",
> > > line 193, in _validate
> > >
> > >     validate_known_fields(context, self)
> > >
> > >   File "/usr/lib/python2.7/site-packages/aria/parser/
> > > presentation/utils.py",
> > > line 110, in validate_known_fields
> > >
> > >     field.validate(presentation, context)
> > >
> > >   File "/usr/lib/python2.7/site-packages/aria/parser/
> > > presentation/fields.py",
> > > line 409, in validate
> > >
> > >     self.default_validate(presentation, context)
> > >
> > >   File "/usr/lib/python2.7/site-packages/aria/parser/
> > > presentation/fields.py",
> > > line 524, in default_validate
> > >
> > >     self.validate_value(value, context)
> > >
> > >   File "/usr/lib/python2.7/site-packages/aria/parser/
> > > presentation/fields.py",
> > > line 540, in validate_value
> > >
> > >     inner_value._validate(context)
> > >
> > >   File "
> > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > simple_v1_0/types.py",
> > > line 654, in _validate
> > >
> > >     self._get_capabilities(context)
> > >
> > >   File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
> > 84,
> > > in __call__
> > >
> > >     return_value = self.func(*args, **kwargs)
> > >
> > >   File "
> > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > simple_v1_0/types.py",
> > > line 639, in _get_capabilities
> > >
> > >     return FrozenDict(get_inherited_capability_definitions(context,
> > self))
> > >
> > >   File "
> > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > simple_v1_0/modeling/capabilities.py",
> > > line 90, in get_inherited_capability_definitions
> > >
> > >     merge_capability_definition_from_type(context, presentation,
> > > capability_definition)
> > >
> > >   File "
> > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > simple_v1_0/modeling/capabilities.py",
> > > line 170, in merge_capability_definition_from_type
> > >
> > >     type_property_defintions = the_type._get_properties(context)
> > >
> > > *Validation issues:*
> > >
> > >   0: 'NoneType' object has no attribute '_get_properties'
> > >
> > >      *AttributeError*: 'NoneType' object has no attribute
> > '_get_properties'
> > >
> > >   4: unknown parent type "tosca:Root" in "WebServer"
> > >
> > >
> > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > world/hello-world.yaml":6:19
> > >
> > >   4: "type" refers to an unknown capability type in "host":
> > > 'tosca:Container'
> > >
> > >
> > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > world/hello-world.yaml":9:15
> > >
> > >   4: unknown parent type "tosca:WebApplication" in "WebApp"
> > >
> > >
> > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > world/hello-world.yaml":12:19
> > >
> > > Failed to parse service template
> > >
> > > Also, the gettingstarted.md file in the website repository is using
> the
> > > wrong name for the hello-world blueprint.
> > > It's missing the hyphen. I'll add the issue tonight.
> > >
> > > I clone the master branch to try the hello-world example.
> > > To install ARIA, I executed: pip install apache-ariatosca[ssh]
> > >
> > > --
> > > Miguel Jimenez, PhD student
> > > Department of Computer Science
> > > University of Victoria
> > > Engineering/Computer Science Building (ECS), Room 412
> > > Victoria, BC
> > > V8W 3p6 Canada
> > >
> > > On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <ta...@cloudify.co> wrote:
> > >
> > > > Tom, the specific problems we had were not with installation, but
> > rather
> > > in
> > > > running workflows. Have you tried to install the Hello World example?
> > > >
> > > > On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <
> tnadeauaria@gmail.com>
> > > > wrote:
> > > >
> > > > >
> > > > >         I took an action during the grooming to verify the
> > installation
> > > > of
> > > > > the latest PIP artifacts.
> > > > > I was able to install successfully on Ubuntu 16.04 LTS just now.
> > > > >
> > > > >         —Tom
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: ARIA-354 Verified

Posted by Miguel Angel Jimenez Achinte <mi...@rigiresearch.com>.
Tom, these are the commands I executed to get "aria --version" working:

sudo pip install --upgrade setuptools
sudo pip install apache-ariatosca[ssh]
...
aria --version
v0.1.1
...
git clone https://github.com/apache/incubator-ariatosca; cd
incubator-ariatosca
aria service-templates store examples/hello-world/hello-world.yaml
my-service-template

--> error


--
Miguel Jimenez, PhD student
Department of Computer Science
University of Victoria
Engineering/Computer Science Building (ECS), Room 412
Victoria, BC
V8W 3p6 Canada

On Mon, Nov 27, 2017 at 2:54 PM, Tal Liron <ta...@cloudify.co> wrote:

> Tom, the errors he is getting are not related to permissions. He has gone
> beyond the install phase and is having errors when trying to parse a TOSCA
> file.
>
> On Mon, Nov 27, 2017 at 4:53 PM, Thomas Nadeau <tn...@gmail.com>
> wrote:
>
> > You need to do this as:
> >
> > % sudo -H pip install …
> >
> > Its a permissions problem.  I literally started to modify the
> Installation
> > Instructions earlier when I was reminded of this myself.  Can’t get a
> good
> > answer as to how to fix it either.  Experienced it on CenOS, Fedora and
> > Ubuntu.
> >
> > —Tom
> >
> >
> > > On Nov 27, 2017, at 5:49 PM, Miguel Angel Jimenez Achinte <
> > miguel@rigiresearch.com> wrote:
> > >
> > > I executed: pip install apache-ariatosca[ssh]
> > > Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
> > > apache-ariatosca" instead?
> > >
> > >
> > > --
> > > Miguel Jimenez, PhD student
> > > Department of Computer Science
> > > University of Victoria
> > > Engineering/Computer Science Building (ECS), Room 412
> > > Victoria, BC
> > > V8W 3p6 Canada
> > >
> > > On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <ta...@cloudify.co> wrote:
> > >
> > >> Miguel, how did you install ARIA?
> > >>
> > >> On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> > >> miguel@rigiresearch.com> wrote:
> > >>
> > >>> I just installed ARIA on Centos 7 and I get the same error:
> > >>>
> > >>> Storing service template my-service-template...
> > >>>
> > >>> *AttributeError*: 'NoneType' object has no attribute
> '_get_properties'
> > >>>
> > >>>  File "/usr/lib/python2.7/site-packages/aria/parser/
> > >>> consumption/consumer.py",
> > >>> line 70, in consume
> > >>>
> > >>>    consumer.consume()
> > >>>
> > >>>  File "
> > >>> /usr/lib/python2.7/site-packages/aria/parser/
> > consumption/validation.py",
> > >>> line 30, in consume
> > >>>
> > >>>    self.context.presentation.presenter._validate(self.context)
> > >>>
> > >>>  File "
> > >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > >>> simple_v1_0/presenter.py",
> > >>> line 65, in _validate
> > >>>
> > >>>    self.service_template._validate(context)
> > >>>
> > >>>  File "
> > >>> /usr/lib/python2.7/site-packages/aria/parser/
> > >>> presentation/presentation.py",
> > >>> line 193, in _validate
> > >>>
> > >>>    validate_known_fields(context, self)
> > >>>
> > >>>  File "/usr/lib/python2.7/site-packages/aria/parser/
> > >>> presentation/utils.py",
> > >>> line 110, in validate_known_fields
> > >>>
> > >>>    field.validate(presentation, context)
> > >>>
> > >>>  File "/usr/lib/python2.7/site-packages/aria/parser/
> > >>> presentation/fields.py",
> > >>> line 409, in validate
> > >>>
> > >>>    self.default_validate(presentation, context)
> > >>>
> > >>>  File "/usr/lib/python2.7/site-packages/aria/parser/
> > >>> presentation/fields.py",
> > >>> line 524, in default_validate
> > >>>
> > >>>    self.validate_value(value, context)
> > >>>
> > >>>  File "/usr/lib/python2.7/site-packages/aria/parser/
> > >>> presentation/fields.py",
> > >>> line 540, in validate_value
> > >>>
> > >>>    inner_value._validate(context)
> > >>>
> > >>>  File "
> > >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > >>> simple_v1_0/types.py",
> > >>> line 654, in _validate
> > >>>
> > >>>    self._get_capabilities(context)
> > >>>
> > >>>  File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
> > >> 84,
> > >>> in __call__
> > >>>
> > >>>    return_value = self.func(*args, **kwargs)
> > >>>
> > >>>  File "
> > >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > >>> simple_v1_0/types.py",
> > >>> line 639, in _get_capabilities
> > >>>
> > >>>    return FrozenDict(get_inherited_capability_definitions(context,
> > >> self))
> > >>>
> > >>>  File "
> > >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > >>> simple_v1_0/modeling/capabilities.py",
> > >>> line 90, in get_inherited_capability_definitions
> > >>>
> > >>>    merge_capability_definition_from_type(context, presentation,
> > >>> capability_definition)
> > >>>
> > >>>  File "
> > >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > >>> simple_v1_0/modeling/capabilities.py",
> > >>> line 170, in merge_capability_definition_from_type
> > >>>
> > >>>    type_property_defintions = the_type._get_properties(context)
> > >>>
> > >>> *Validation issues:*
> > >>>
> > >>>  0: 'NoneType' object has no attribute '_get_properties'
> > >>>
> > >>>     *AttributeError*: 'NoneType' object has no attribute
> > >> '_get_properties'
> > >>>
> > >>>  4: unknown parent type "tosca:Root" in "WebServer"
> > >>>
> > >>>
> > >>> @"/home/centos/incubator-ariatosca/examples/hello-
> > >>> world/hello-world.yaml":6:19
> > >>>
> > >>>  4: "type" refers to an unknown capability type in "host":
> > >>> 'tosca:Container'
> > >>>
> > >>>
> > >>> @"/home/centos/incubator-ariatosca/examples/hello-
> > >>> world/hello-world.yaml":9:15
> > >>>
> > >>>  4: unknown parent type "tosca:WebApplication" in "WebApp"
> > >>>
> > >>>
> > >>> @"/home/centos/incubator-ariatosca/examples/hello-
> > >>> world/hello-world.yaml":12:19
> > >>>
> > >>> Failed to parse service template
> > >>>
> > >>> Also, the gettingstarted.md file in the website repository is using
> > the
> > >>> wrong name for the hello-world blueprint.
> > >>> It's missing the hyphen. I'll add the issue tonight.
> > >>>
> > >>> I clone the master branch to try the hello-world example.
> > >>> To install ARIA, I executed: pip install apache-ariatosca[ssh]
> > >>>
> > >>> --
> > >>> Miguel Jimenez, PhD student
> > >>> Department of Computer Science
> > >>> University of Victoria
> > >>> Engineering/Computer Science Building (ECS), Room 412
> > >>> Victoria, BC
> > >>> V8W 3p6 Canada
> > >>>
> > >>> On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <ta...@cloudify.co> wrote:
> > >>>
> > >>>> Tom, the specific problems we had were not with installation, but
> > >> rather
> > >>> in
> > >>>> running workflows. Have you tried to install the Hello World
> example?
> > >>>>
> > >>>> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <
> tnadeauaria@gmail.com
> > >
> > >>>> wrote:
> > >>>>
> > >>>>>
> > >>>>>        I took an action during the grooming to verify the
> > >> installation
> > >>>> of
> > >>>>> the latest PIP artifacts.
> > >>>>> I was able to install successfully on Ubuntu 16.04 LTS just now.
> > >>>>>
> > >>>>>        —Tom
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>
> > >>>
> > >>
> >
> >
>

Re: ARIA-354 Verified

Posted by Tal Liron <ta...@cloudify.co>.
Tom, the errors he is getting are not related to permissions. He has gone
beyond the install phase and is having errors when trying to parse a TOSCA
file.

On Mon, Nov 27, 2017 at 4:53 PM, Thomas Nadeau <tn...@gmail.com>
wrote:

> You need to do this as:
>
> % sudo -H pip install …
>
> Its a permissions problem.  I literally started to modify the Installation
> Instructions earlier when I was reminded of this myself.  Can’t get a good
> answer as to how to fix it either.  Experienced it on CenOS, Fedora and
> Ubuntu.
>
> —Tom
>
>
> > On Nov 27, 2017, at 5:49 PM, Miguel Angel Jimenez Achinte <
> miguel@rigiresearch.com> wrote:
> >
> > I executed: pip install apache-ariatosca[ssh]
> > Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
> > apache-ariatosca" instead?
> >
> >
> > --
> > Miguel Jimenez, PhD student
> > Department of Computer Science
> > University of Victoria
> > Engineering/Computer Science Building (ECS), Room 412
> > Victoria, BC
> > V8W 3p6 Canada
> >
> > On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <ta...@cloudify.co> wrote:
> >
> >> Miguel, how did you install ARIA?
> >>
> >> On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> >> miguel@rigiresearch.com> wrote:
> >>
> >>> I just installed ARIA on Centos 7 and I get the same error:
> >>>
> >>> Storing service template my-service-template...
> >>>
> >>> *AttributeError*: 'NoneType' object has no attribute '_get_properties'
> >>>
> >>>  File "/usr/lib/python2.7/site-packages/aria/parser/
> >>> consumption/consumer.py",
> >>> line 70, in consume
> >>>
> >>>    consumer.consume()
> >>>
> >>>  File "
> >>> /usr/lib/python2.7/site-packages/aria/parser/
> consumption/validation.py",
> >>> line 30, in consume
> >>>
> >>>    self.context.presentation.presenter._validate(self.context)
> >>>
> >>>  File "
> >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> >>> simple_v1_0/presenter.py",
> >>> line 65, in _validate
> >>>
> >>>    self.service_template._validate(context)
> >>>
> >>>  File "
> >>> /usr/lib/python2.7/site-packages/aria/parser/
> >>> presentation/presentation.py",
> >>> line 193, in _validate
> >>>
> >>>    validate_known_fields(context, self)
> >>>
> >>>  File "/usr/lib/python2.7/site-packages/aria/parser/
> >>> presentation/utils.py",
> >>> line 110, in validate_known_fields
> >>>
> >>>    field.validate(presentation, context)
> >>>
> >>>  File "/usr/lib/python2.7/site-packages/aria/parser/
> >>> presentation/fields.py",
> >>> line 409, in validate
> >>>
> >>>    self.default_validate(presentation, context)
> >>>
> >>>  File "/usr/lib/python2.7/site-packages/aria/parser/
> >>> presentation/fields.py",
> >>> line 524, in default_validate
> >>>
> >>>    self.validate_value(value, context)
> >>>
> >>>  File "/usr/lib/python2.7/site-packages/aria/parser/
> >>> presentation/fields.py",
> >>> line 540, in validate_value
> >>>
> >>>    inner_value._validate(context)
> >>>
> >>>  File "
> >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> >>> simple_v1_0/types.py",
> >>> line 654, in _validate
> >>>
> >>>    self._get_capabilities(context)
> >>>
> >>>  File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
> >> 84,
> >>> in __call__
> >>>
> >>>    return_value = self.func(*args, **kwargs)
> >>>
> >>>  File "
> >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> >>> simple_v1_0/types.py",
> >>> line 639, in _get_capabilities
> >>>
> >>>    return FrozenDict(get_inherited_capability_definitions(context,
> >> self))
> >>>
> >>>  File "
> >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> >>> simple_v1_0/modeling/capabilities.py",
> >>> line 90, in get_inherited_capability_definitions
> >>>
> >>>    merge_capability_definition_from_type(context, presentation,
> >>> capability_definition)
> >>>
> >>>  File "
> >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> >>> simple_v1_0/modeling/capabilities.py",
> >>> line 170, in merge_capability_definition_from_type
> >>>
> >>>    type_property_defintions = the_type._get_properties(context)
> >>>
> >>> *Validation issues:*
> >>>
> >>>  0: 'NoneType' object has no attribute '_get_properties'
> >>>
> >>>     *AttributeError*: 'NoneType' object has no attribute
> >> '_get_properties'
> >>>
> >>>  4: unknown parent type "tosca:Root" in "WebServer"
> >>>
> >>>
> >>> @"/home/centos/incubator-ariatosca/examples/hello-
> >>> world/hello-world.yaml":6:19
> >>>
> >>>  4: "type" refers to an unknown capability type in "host":
> >>> 'tosca:Container'
> >>>
> >>>
> >>> @"/home/centos/incubator-ariatosca/examples/hello-
> >>> world/hello-world.yaml":9:15
> >>>
> >>>  4: unknown parent type "tosca:WebApplication" in "WebApp"
> >>>
> >>>
> >>> @"/home/centos/incubator-ariatosca/examples/hello-
> >>> world/hello-world.yaml":12:19
> >>>
> >>> Failed to parse service template
> >>>
> >>> Also, the gettingstarted.md file in the website repository is using
> the
> >>> wrong name for the hello-world blueprint.
> >>> It's missing the hyphen. I'll add the issue tonight.
> >>>
> >>> I clone the master branch to try the hello-world example.
> >>> To install ARIA, I executed: pip install apache-ariatosca[ssh]
> >>>
> >>> --
> >>> Miguel Jimenez, PhD student
> >>> Department of Computer Science
> >>> University of Victoria
> >>> Engineering/Computer Science Building (ECS), Room 412
> >>> Victoria, BC
> >>> V8W 3p6 Canada
> >>>
> >>> On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <ta...@cloudify.co> wrote:
> >>>
> >>>> Tom, the specific problems we had were not with installation, but
> >> rather
> >>> in
> >>>> running workflows. Have you tried to install the Hello World example?
> >>>>
> >>>> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tnadeauaria@gmail.com
> >
> >>>> wrote:
> >>>>
> >>>>>
> >>>>>        I took an action during the grooming to verify the
> >> installation
> >>>> of
> >>>>> the latest PIP artifacts.
> >>>>> I was able to install successfully on Ubuntu 16.04 LTS just now.
> >>>>>
> >>>>>        —Tom
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>
> >>
>
>

Re: ARIA-354 Verified

Posted by Thomas Nadeau <tn...@gmail.com>.
You need to do this as:

% sudo -H pip install …

Its a permissions problem.  I literally started to modify the Installation Instructions earlier when I was reminded of this myself.  Can’t get a good answer as to how to fix it either.  Experienced it on CenOS, Fedora and Ubuntu.

—Tom


> On Nov 27, 2017, at 5:49 PM, Miguel Angel Jimenez Achinte <mi...@rigiresearch.com> wrote:
> 
> I executed: pip install apache-ariatosca[ssh]
> Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
> apache-ariatosca" instead?
> 
> 
> --
> Miguel Jimenez, PhD student
> Department of Computer Science
> University of Victoria
> Engineering/Computer Science Building (ECS), Room 412
> Victoria, BC
> V8W 3p6 Canada
> 
> On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <ta...@cloudify.co> wrote:
> 
>> Miguel, how did you install ARIA?
>> 
>> On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
>> miguel@rigiresearch.com> wrote:
>> 
>>> I just installed ARIA on Centos 7 and I get the same error:
>>> 
>>> Storing service template my-service-template...
>>> 
>>> *AttributeError*: 'NoneType' object has no attribute '_get_properties'
>>> 
>>>  File "/usr/lib/python2.7/site-packages/aria/parser/
>>> consumption/consumer.py",
>>> line 70, in consume
>>> 
>>>    consumer.consume()
>>> 
>>>  File "
>>> /usr/lib/python2.7/site-packages/aria/parser/consumption/validation.py",
>>> line 30, in consume
>>> 
>>>    self.context.presentation.presenter._validate(self.context)
>>> 
>>>  File "
>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>> simple_v1_0/presenter.py",
>>> line 65, in _validate
>>> 
>>>    self.service_template._validate(context)
>>> 
>>>  File "
>>> /usr/lib/python2.7/site-packages/aria/parser/
>>> presentation/presentation.py",
>>> line 193, in _validate
>>> 
>>>    validate_known_fields(context, self)
>>> 
>>>  File "/usr/lib/python2.7/site-packages/aria/parser/
>>> presentation/utils.py",
>>> line 110, in validate_known_fields
>>> 
>>>    field.validate(presentation, context)
>>> 
>>>  File "/usr/lib/python2.7/site-packages/aria/parser/
>>> presentation/fields.py",
>>> line 409, in validate
>>> 
>>>    self.default_validate(presentation, context)
>>> 
>>>  File "/usr/lib/python2.7/site-packages/aria/parser/
>>> presentation/fields.py",
>>> line 524, in default_validate
>>> 
>>>    self.validate_value(value, context)
>>> 
>>>  File "/usr/lib/python2.7/site-packages/aria/parser/
>>> presentation/fields.py",
>>> line 540, in validate_value
>>> 
>>>    inner_value._validate(context)
>>> 
>>>  File "
>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>> simple_v1_0/types.py",
>>> line 654, in _validate
>>> 
>>>    self._get_capabilities(context)
>>> 
>>>  File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
>> 84,
>>> in __call__
>>> 
>>>    return_value = self.func(*args, **kwargs)
>>> 
>>>  File "
>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>> simple_v1_0/types.py",
>>> line 639, in _get_capabilities
>>> 
>>>    return FrozenDict(get_inherited_capability_definitions(context,
>> self))
>>> 
>>>  File "
>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>> simple_v1_0/modeling/capabilities.py",
>>> line 90, in get_inherited_capability_definitions
>>> 
>>>    merge_capability_definition_from_type(context, presentation,
>>> capability_definition)
>>> 
>>>  File "
>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>> simple_v1_0/modeling/capabilities.py",
>>> line 170, in merge_capability_definition_from_type
>>> 
>>>    type_property_defintions = the_type._get_properties(context)
>>> 
>>> *Validation issues:*
>>> 
>>>  0: 'NoneType' object has no attribute '_get_properties'
>>> 
>>>     *AttributeError*: 'NoneType' object has no attribute
>> '_get_properties'
>>> 
>>>  4: unknown parent type "tosca:Root" in "WebServer"
>>> 
>>> 
>>> @"/home/centos/incubator-ariatosca/examples/hello-
>>> world/hello-world.yaml":6:19
>>> 
>>>  4: "type" refers to an unknown capability type in "host":
>>> 'tosca:Container'
>>> 
>>> 
>>> @"/home/centos/incubator-ariatosca/examples/hello-
>>> world/hello-world.yaml":9:15
>>> 
>>>  4: unknown parent type "tosca:WebApplication" in "WebApp"
>>> 
>>> 
>>> @"/home/centos/incubator-ariatosca/examples/hello-
>>> world/hello-world.yaml":12:19
>>> 
>>> Failed to parse service template
>>> 
>>> Also, the gettingstarted.md file in the website repository is using the
>>> wrong name for the hello-world blueprint.
>>> It's missing the hyphen. I'll add the issue tonight.
>>> 
>>> I clone the master branch to try the hello-world example.
>>> To install ARIA, I executed: pip install apache-ariatosca[ssh]
>>> 
>>> --
>>> Miguel Jimenez, PhD student
>>> Department of Computer Science
>>> University of Victoria
>>> Engineering/Computer Science Building (ECS), Room 412
>>> Victoria, BC
>>> V8W 3p6 Canada
>>> 
>>> On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <ta...@cloudify.co> wrote:
>>> 
>>>> Tom, the specific problems we had were not with installation, but
>> rather
>>> in
>>>> running workflows. Have you tried to install the Hello World example?
>>>> 
>>>> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tn...@gmail.com>
>>>> wrote:
>>>> 
>>>>> 
>>>>>        I took an action during the grooming to verify the
>> installation
>>>> of
>>>>> the latest PIP artifacts.
>>>>> I was able to install successfully on Ubuntu 16.04 LTS just now.
>>>>> 
>>>>>        —Tom
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>> 
>> 


Re: ARIA-354 Verified

Posted by Thomas Nadeau <tn...@lucidvision.com>.
	Yea, that if my foggy memory serves me right, was just a temp. fix we had to do a couple of months ago
to get things installed, but now that isn’t necessary.  As Tal said earlier, he is into the parsing
phase now, so its something else.

	—Tom


> On Nov 27, 2017, at 6:19 PM, Tal Liron <ta...@cloudify.co> wrote:
> 
> Vish, I'm pretty sure the version suffix is not required, because 0.1.1 is
> the highest version.
> 
> On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman <
> vishwanathj@hotmail.com> wrote:
> 
>> 
>> You need to execute
>> 
>> pip install apache-ariatosca[ssh]==0.1.1
>> 
>> Sent from my iPhone
>> 
>> On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <
>> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
>> 
>> I executed: pip install apache-ariatosca[ssh]
>> Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
>> apache-ariatosca" instead?
>> 
>> 
>> --
>> Miguel Jimenez, PhD student
>> Department of Computer Science
>> University of Victoria
>> Engineering/Computer Science Building (ECS), Room 412
>> Victoria, BC
>> V8W 3p6 Canada
>> 
>> On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <tal@cloudify.co<mailto:tal@
>> cloudify.co>> wrote:
>> 
>> Miguel, how did you install ARIA?
>> 
>> On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
>> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
>> 
>> I just installed ARIA on Centos 7 and I get the same error:
>> 
>> Storing service template my-service-template...
>> 
>> *AttributeError*: 'NoneType' object has no attribute '_get_properties'
>> 
>> File "/usr/lib/python2.7/site-packages/aria/parser/
>> consumption/consumer.py",
>> line 70, in consume
>> 
>>   consumer.consume()
>> 
>> File "
>> /usr/lib/python2.7/site-packages/aria/parser/consumption/validation.py",
>> line 30, in consume
>> 
>>   self.context.presentation.presenter._validate(self.context)
>> 
>> File "
>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>> simple_v1_0/presenter.py",
>> line 65, in _validate
>> 
>>   self.service_template._validate(context)
>> 
>> File "
>> /usr/lib/python2.7/site-packages/aria/parser/
>> presentation/presentation.py",
>> line 193, in _validate
>> 
>>   validate_known_fields(context, self)
>> 
>> File "/usr/lib/python2.7/site-packages/aria/parser/
>> presentation/utils.py",
>> line 110, in validate_known_fields
>> 
>>   field.validate(presentation, context)
>> 
>> File "/usr/lib/python2.7/site-packages/aria/parser/
>> presentation/fields.py",
>> line 409, in validate
>> 
>>   self.default_validate(presentation, context)
>> 
>> File "/usr/lib/python2.7/site-packages/aria/parser/
>> presentation/fields.py",
>> line 524, in default_validate
>> 
>>   self.validate_value(value, context)
>> 
>> File "/usr/lib/python2.7/site-packages/aria/parser/
>> presentation/fields.py",
>> line 540, in validate_value
>> 
>>   inner_value._validate(context)
>> 
>> File "
>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>> simple_v1_0/types.py",
>> line 654, in _validate
>> 
>>   self._get_capabilities(context)
>> 
>> File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
>> 84,
>> in __call__
>> 
>>   return_value = self.func(*args, **kwargs)
>> 
>> File "
>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>> simple_v1_0/types.py",
>> line 639, in _get_capabilities
>> 
>>   return FrozenDict(get_inherited_capability_definitions(context,
>> self))
>> 
>> File "
>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>> simple_v1_0/modeling/capabilities.py",
>> line 90, in get_inherited_capability_definitions
>> 
>>   merge_capability_definition_from_type(context, presentation,
>> capability_definition)
>> 
>> File "
>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>> simple_v1_0/modeling/capabilities.py",
>> line 170, in merge_capability_definition_from_type
>> 
>>   type_property_defintions = the_type._get_properties(context)
>> 
>> *Validation issues:*
>> 
>> 0: 'NoneType' object has no attribute '_get_properties'
>> 
>>    *AttributeError*: 'NoneType' object has no attribute
>> '_get_properties'
>> 
>> 4: unknown parent type "tosca:Root" in "WebServer"
>> 
>> 
>> @"/home/centos/incubator-ariatosca/examples/hello-
>> world/hello-world.yaml":6:19
>> 
>> 4: "type" refers to an unknown capability type in "host":
>> 'tosca:Container'
>> 
>> 
>> @"/home/centos/incubator-ariatosca/examples/hello-
>> world/hello-world.yaml":9:15
>> 
>> 4: unknown parent type "tosca:WebApplication" in "WebApp"
>> 
>> 
>> @"/home/centos/incubator-ariatosca/examples/hello-
>> world/hello-world.yaml":12:19
>> 
>> Failed to parse service template
>> 
>> Also, the gettingstarted.md file in the website repository is using the
>> wrong name for the hello-world blueprint.
>> It's missing the hyphen. I'll add the issue tonight.
>> 
>> I clone the master branch to try the hello-world example.
>> To install ARIA, I executed: pip install apache-ariatosca[ssh]
>> 
>> --
>> Miguel Jimenez, PhD student
>> Department of Computer Science
>> University of Victoria
>> Engineering/Computer Science Building (ECS), Room 412
>> Victoria, BC
>> V8W 3p6 Canada
>> 
>> On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <tal@cloudify.co<mailto:tal@
>> cloudify.co>> wrote:
>> 
>> Tom, the specific problems we had were not with installation, but
>> rather
>> in
>> running workflows. Have you tried to install the Hello World example?
>> 
>> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tnadeauaria@gmail.com
>> <ma...@gmail.com>>
>> wrote:
>> 
>> 
>>       I took an action during the grooming to verify the
>> installation
>> of
>> the latest PIP artifacts.
>> I was able to install successfully on Ubuntu 16.04 LTS just now.
>> 
>>       —Tom
>> 
>> 
>> 
>> 
>> 
>> 
>> 


Re: ARIA-354 Verified

Posted by Thomas Nadeau <tn...@lucidvision.com>.
	Cool. That is basically what I have setup: a dev and a “user” VM (plus I use the container from time to time).

	—Tom


> On Nov 28, 2017, at 12:18 PM, Miguel Angel Jimenez Achinte <mi...@rigiresearch.com> wrote:
> 
> It's all clear to me now. Thanks for the explanation.
> Now, I have two separate environments. I managed to get ARIA (v0.2.0)
> running with the virtual environment
> on my mac, and the user release on a CentOS 7 VM.
> 
> --
> Miguel Jimenez, PhD student
> Department of Computer Science
> University of Victoria
> Engineering/Computer Science Building (ECS), Room 412
> Victoria, BC
> V8W 3p6 Canada
> 
> On Tue, Nov 28, 2017 at 4:20 AM, Thomas Nadeau <tn...@lucidvision.com>
> wrote:
> 
>> 
>>        Ah I see what you did here. I made a similar mistake early on.
>> 
>>        The set of pip commands is to install the finished, released
>> edition from the PyPy distribution. That is what we we refer to as the
>> “user” release.
>> 
>>        The install you do later with git, etc… is what you do for a
>> “developer release” or “source build” (i.e.: you build and assemble aria
>> from scratch locally).
>> 
>>        Generally speaking, you choose one or the other just to ensure you
>> don’t clobber the other one but I am sure you can install
>> run both successfully if you are careful. But for the purposes of working
>> on the project, the advice is to stick with one or the other. I actually
>> created a separate VM for my “user” installation that is a clean VM that
>> just installs pip and aria for testing.  We created a Docker container
>> version of this just last week making doing that even easier.
>> 
>>        —Tom
>> 
>> 
>>> On Nov 27, 2017, at 8:48 PM, Miguel Angel Jimenez Achinte <
>> miguel@rigiresearch.com> wrote:
>>> 
>>> Okay, it's working now.
>>> I needed to check out the tag 0.1.1. The complete list of commands is:
>>> 
>>> sudo pip install --upgrade setuptools
>>> sudo pip install apache-ariatosca[ssh]
>>> ...
>>> aria --version
>>> v0.1.1
>>> ...
>>> git clone https://github.com/apache/incubator-ariatosca; cd
>>> incubator-ariatosca
>>> git checkout tags/0.1.1
>>> aria service-templates store examples/hello-world/helloworld.yaml
>>> my-service-template
>>> 
>>> Notice that in tag 0.1.1, the blueprint's name is helloworld.yaml,
>> without
>>> the hyphen.
>>> 
>>> 
>>> --
>>> Miguel Jimenez, PhD student
>>> Department of Computer Science
>>> University of Victoria
>>> Engineering/Computer Science Building (ECS), Room 412
>>> Victoria, BC
>>> V8W 3p6 Canada
>>> 
>>> On Mon, Nov 27, 2017 at 3:28 PM, Vishwanath Jayaraman <
>>> vishwanathj@hotmail.com> wrote:
>>> 
>>>> Ok, got it.
>>>> 
>>>> 
>>>> Vish
>>>> 
>>>> 
>>>> ________________________________
>>>> From: Tal Liron <ta...@cloudify.co>
>>>> Sent: Monday, November 27, 2017 5:19 PM
>>>> To: dev@ariatosca.incubator.apache.org
>>>> Subject: Re: ARIA-354 Verified
>>>> 
>>>> Vish, I'm pretty sure the version suffix is not required, because 0.1.1
>> is
>>>> the highest version.
>>>> 
>>>> On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman <
>>>> vishwanathj@hotmail.com> wrote:
>>>> 
>>>>> 
>>>>> You need to execute
>>>>> 
>>>>> pip install apache-ariatosca[ssh]==0.1.1
>>>>> 
>>>>> Sent from my iPhone
>>>>> 
>>>>> On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <
>>>>> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
>>>>> 
>>>>> I executed: pip install apache-ariatosca[ssh]
>>>>> Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
>>>>> apache-ariatosca" instead?
>>>>> 
>>>>> 
>>>>> --
>>>>> Miguel Jimenez, PhD student
>>>>> Department of Computer Science
>>>>> University of Victoria
>>>>> Engineering/Computer Science Building (ECS), Room 412
>>>>> Victoria, BC
>>>>> V8W 3p6 Canada
>>>>> 
>>>>> On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <tal@cloudify.co<mailto:
>> tal@
>>>>> cloudify.co>> wrote:
>>>>> 
>>>>> Miguel, how did you install ARIA?
>>>>> 
>>>>> On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
>>>>> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
>>>>> 
>>>>> I just installed ARIA on Centos 7 and I get the same error:
>>>>> 
>>>>> Storing service template my-service-template...
>>>>> 
>>>>> *AttributeError*: 'NoneType' object has no attribute '_get_properties'
>>>>> 
>>>>> File "/usr/lib/python2.7/site-packages/aria/parser/
>>>>> consumption/consumer.py",
>>>>> line 70, in consume
>>>>> 
>>>>>  consumer.consume()
>>>>> 
>>>>> File "
>>>>> /usr/lib/python2.7/site-packages/aria/parser/
>> consumption/validation.py",
>>>>> line 30, in consume
>>>>> 
>>>>>  self.context.presentation.presenter._validate(self.context)
>>>>> 
>>>>> File "
>>>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>>>> simple_v1_0/presenter.py",
>>>>> line 65, in _validate
>>>>> 
>>>>>  self.service_template._validate(context)
>>>>> 
>>>>> File "
>>>>> /usr/lib/python2.7/site-packages/aria/parser/
>>>>> presentation/presentation.py",
>>>>> line 193, in _validate
>>>>> 
>>>>>  validate_known_fields(context, self)
>>>>> 
>>>>> File "/usr/lib/python2.7/site-packages/aria/parser/
>>>>> presentation/utils.py",
>>>>> line 110, in validate_known_fields
>>>>> 
>>>>>  field.validate(presentation, context)
>>>>> 
>>>>> File "/usr/lib/python2.7/site-packages/aria/parser/
>>>>> presentation/fields.py",
>>>>> line 409, in validate
>>>>> 
>>>>>  self.default_validate(presentation, context)
>>>>> 
>>>>> File "/usr/lib/python2.7/site-packages/aria/parser/
>>>>> presentation/fields.py",
>>>>> line 524, in default_validate
>>>>> 
>>>>>  self.validate_value(value, context)
>>>>> 
>>>>> File "/usr/lib/python2.7/site-packages/aria/parser/
>>>>> presentation/fields.py",
>>>>> line 540, in validate_value
>>>>> 
>>>>>  inner_value._validate(context)
>>>>> 
>>>>> File "
>>>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>>>> simple_v1_0/types.py",
>>>>> line 654, in _validate
>>>>> 
>>>>>  self._get_capabilities(context)
>>>>> 
>>>>> File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
>>>>> 84,
>>>>> in __call__
>>>>> 
>>>>>  return_value = self.func(*args, **kwargs)
>>>>> 
>>>>> File "
>>>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>>>> simple_v1_0/types.py",
>>>>> line 639, in _get_capabilities
>>>>> 
>>>>>  return FrozenDict(get_inherited_capability_definitions(context,
>>>>> self))
>>>>> 
>>>>> File "
>>>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>>>> simple_v1_0/modeling/capabilities.py",
>>>>> line 90, in get_inherited_capability_definitions
>>>>> 
>>>>>  merge_capability_definition_from_type(context, presentation,
>>>>> capability_definition)
>>>>> 
>>>>> File "
>>>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>>>> simple_v1_0/modeling/capabilities.py",
>>>>> line 170, in merge_capability_definition_from_type
>>>>> 
>>>>>  type_property_defintions = the_type._get_properties(context)
>>>>> 
>>>>> *Validation issues:*
>>>>> 
>>>>> 0: 'NoneType' object has no attribute '_get_properties'
>>>>> 
>>>>>   *AttributeError*: 'NoneType' object has no attribute
>>>>> '_get_properties'
>>>>> 
>>>>> 4: unknown parent type "tosca:Root" in "WebServer"
>>>>> 
>>>>> 
>>>>> @"/home/centos/incubator-ariatosca/examples/hello-
>>>>> world/hello-world.yaml":6:19
>>>>> 
>>>>> 4: "type" refers to an unknown capability type in "host":
>>>>> 'tosca:Container'
>>>>> 
>>>>> 
>>>>> @"/home/centos/incubator-ariatosca/examples/hello-
>>>>> world/hello-world.yaml":9:15
>>>>> 
>>>>> 4: unknown parent type "tosca:WebApplication" in "WebApp"
>>>>> 
>>>>> 
>>>>> @"/home/centos/incubator-ariatosca/examples/hello-
>>>>> world/hello-world.yaml":12:19
>>>>> 
>>>>> Failed to parse service template
>>>>> 
>>>>> Also, the gettingstarted.md file in the website repository is using
>> the
>>>>> wrong name for the hello-world blueprint.
>>>>> It's missing the hyphen. I'll add the issue tonight.
>>>>> 
>>>>> I clone the master branch to try the hello-world example.
>>>>> To install ARIA, I executed: pip install apache-ariatosca[ssh]
>>>>> 
>>>>> --
>>>>> Miguel Jimenez, PhD student
>>>>> Department of Computer Science
>>>>> University of Victoria
>>>>> Engineering/Computer Science Building (ECS), Room 412
>>>>> Victoria, BC
>>>>> V8W 3p6 Canada
>>>>> 
>>>>> On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <tal@cloudify.co<mailto:
>> tal@
>>>>> cloudify.co>> wrote:
>>>>> 
>>>>> Tom, the specific problems we had were not with installation, but
>>>>> rather
>>>>> in
>>>>> running workflows. Have you tried to install the Hello World example?
>>>>> 
>>>>> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tnadeauaria@gmail.com
>>>>> <ma...@gmail.com>>
>>>>> wrote:
>>>>> 
>>>>> 
>>>>>      I took an action during the grooming to verify the
>>>>> installation
>>>>> of
>>>>> the latest PIP artifacts.
>>>>> I was able to install successfully on Ubuntu 16.04 LTS just now.
>>>>> 
>>>>>      —Tom
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>> 
>> 


Re: ARIA-354 Verified

Posted by Miguel Angel Jimenez Achinte <mi...@rigiresearch.com>.
It's all clear to me now. Thanks for the explanation.
Now, I have two separate environments. I managed to get ARIA (v0.2.0)
running with the virtual environment
on my mac, and the user release on a CentOS 7 VM.

--
Miguel Jimenez, PhD student
Department of Computer Science
University of Victoria
Engineering/Computer Science Building (ECS), Room 412
Victoria, BC
V8W 3p6 Canada

On Tue, Nov 28, 2017 at 4:20 AM, Thomas Nadeau <tn...@lucidvision.com>
wrote:

>
>         Ah I see what you did here. I made a similar mistake early on.
>
>         The set of pip commands is to install the finished, released
> edition from the PyPy distribution. That is what we we refer to as the
> “user” release.
>
>         The install you do later with git, etc… is what you do for a
> “developer release” or “source build” (i.e.: you build and assemble aria
> from scratch locally).
>
>         Generally speaking, you choose one or the other just to ensure you
> don’t clobber the other one but I am sure you can install
> run both successfully if you are careful. But for the purposes of working
> on the project, the advice is to stick with one or the other. I actually
> created a separate VM for my “user” installation that is a clean VM that
> just installs pip and aria for testing.  We created a Docker container
> version of this just last week making doing that even easier.
>
>         —Tom
>
>
> > On Nov 27, 2017, at 8:48 PM, Miguel Angel Jimenez Achinte <
> miguel@rigiresearch.com> wrote:
> >
> > Okay, it's working now.
> > I needed to check out the tag 0.1.1. The complete list of commands is:
> >
> > sudo pip install --upgrade setuptools
> > sudo pip install apache-ariatosca[ssh]
> > ...
> > aria --version
> > v0.1.1
> > ...
> > git clone https://github.com/apache/incubator-ariatosca; cd
> > incubator-ariatosca
> > git checkout tags/0.1.1
> > aria service-templates store examples/hello-world/helloworld.yaml
> > my-service-template
> >
> > Notice that in tag 0.1.1, the blueprint's name is helloworld.yaml,
> without
> > the hyphen.
> >
> >
> > --
> > Miguel Jimenez, PhD student
> > Department of Computer Science
> > University of Victoria
> > Engineering/Computer Science Building (ECS), Room 412
> > Victoria, BC
> > V8W 3p6 Canada
> >
> > On Mon, Nov 27, 2017 at 3:28 PM, Vishwanath Jayaraman <
> > vishwanathj@hotmail.com> wrote:
> >
> >> Ok, got it.
> >>
> >>
> >> Vish
> >>
> >>
> >> ________________________________
> >> From: Tal Liron <ta...@cloudify.co>
> >> Sent: Monday, November 27, 2017 5:19 PM
> >> To: dev@ariatosca.incubator.apache.org
> >> Subject: Re: ARIA-354 Verified
> >>
> >> Vish, I'm pretty sure the version suffix is not required, because 0.1.1
> is
> >> the highest version.
> >>
> >> On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman <
> >> vishwanathj@hotmail.com> wrote:
> >>
> >>>
> >>> You need to execute
> >>>
> >>> pip install apache-ariatosca[ssh]==0.1.1
> >>>
> >>> Sent from my iPhone
> >>>
> >>> On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <
> >>> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> >>>
> >>> I executed: pip install apache-ariatosca[ssh]
> >>> Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
> >>> apache-ariatosca" instead?
> >>>
> >>>
> >>> --
> >>> Miguel Jimenez, PhD student
> >>> Department of Computer Science
> >>> University of Victoria
> >>> Engineering/Computer Science Building (ECS), Room 412
> >>> Victoria, BC
> >>> V8W 3p6 Canada
> >>>
> >>> On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <tal@cloudify.co<mailto:
> tal@
> >>> cloudify.co>> wrote:
> >>>
> >>> Miguel, how did you install ARIA?
> >>>
> >>> On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> >>> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> >>>
> >>> I just installed ARIA on Centos 7 and I get the same error:
> >>>
> >>> Storing service template my-service-template...
> >>>
> >>> *AttributeError*: 'NoneType' object has no attribute '_get_properties'
> >>>
> >>> File "/usr/lib/python2.7/site-packages/aria/parser/
> >>> consumption/consumer.py",
> >>> line 70, in consume
> >>>
> >>>   consumer.consume()
> >>>
> >>> File "
> >>> /usr/lib/python2.7/site-packages/aria/parser/
> consumption/validation.py",
> >>> line 30, in consume
> >>>
> >>>   self.context.presentation.presenter._validate(self.context)
> >>>
> >>> File "
> >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> >>> simple_v1_0/presenter.py",
> >>> line 65, in _validate
> >>>
> >>>   self.service_template._validate(context)
> >>>
> >>> File "
> >>> /usr/lib/python2.7/site-packages/aria/parser/
> >>> presentation/presentation.py",
> >>> line 193, in _validate
> >>>
> >>>   validate_known_fields(context, self)
> >>>
> >>> File "/usr/lib/python2.7/site-packages/aria/parser/
> >>> presentation/utils.py",
> >>> line 110, in validate_known_fields
> >>>
> >>>   field.validate(presentation, context)
> >>>
> >>> File "/usr/lib/python2.7/site-packages/aria/parser/
> >>> presentation/fields.py",
> >>> line 409, in validate
> >>>
> >>>   self.default_validate(presentation, context)
> >>>
> >>> File "/usr/lib/python2.7/site-packages/aria/parser/
> >>> presentation/fields.py",
> >>> line 524, in default_validate
> >>>
> >>>   self.validate_value(value, context)
> >>>
> >>> File "/usr/lib/python2.7/site-packages/aria/parser/
> >>> presentation/fields.py",
> >>> line 540, in validate_value
> >>>
> >>>   inner_value._validate(context)
> >>>
> >>> File "
> >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> >>> simple_v1_0/types.py",
> >>> line 654, in _validate
> >>>
> >>>   self._get_capabilities(context)
> >>>
> >>> File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
> >>> 84,
> >>> in __call__
> >>>
> >>>   return_value = self.func(*args, **kwargs)
> >>>
> >>> File "
> >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> >>> simple_v1_0/types.py",
> >>> line 639, in _get_capabilities
> >>>
> >>>   return FrozenDict(get_inherited_capability_definitions(context,
> >>> self))
> >>>
> >>> File "
> >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> >>> simple_v1_0/modeling/capabilities.py",
> >>> line 90, in get_inherited_capability_definitions
> >>>
> >>>   merge_capability_definition_from_type(context, presentation,
> >>> capability_definition)
> >>>
> >>> File "
> >>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> >>> simple_v1_0/modeling/capabilities.py",
> >>> line 170, in merge_capability_definition_from_type
> >>>
> >>>   type_property_defintions = the_type._get_properties(context)
> >>>
> >>> *Validation issues:*
> >>>
> >>> 0: 'NoneType' object has no attribute '_get_properties'
> >>>
> >>>    *AttributeError*: 'NoneType' object has no attribute
> >>> '_get_properties'
> >>>
> >>> 4: unknown parent type "tosca:Root" in "WebServer"
> >>>
> >>>
> >>> @"/home/centos/incubator-ariatosca/examples/hello-
> >>> world/hello-world.yaml":6:19
> >>>
> >>> 4: "type" refers to an unknown capability type in "host":
> >>> 'tosca:Container'
> >>>
> >>>
> >>> @"/home/centos/incubator-ariatosca/examples/hello-
> >>> world/hello-world.yaml":9:15
> >>>
> >>> 4: unknown parent type "tosca:WebApplication" in "WebApp"
> >>>
> >>>
> >>> @"/home/centos/incubator-ariatosca/examples/hello-
> >>> world/hello-world.yaml":12:19
> >>>
> >>> Failed to parse service template
> >>>
> >>> Also, the gettingstarted.md file in the website repository is using
> the
> >>> wrong name for the hello-world blueprint.
> >>> It's missing the hyphen. I'll add the issue tonight.
> >>>
> >>> I clone the master branch to try the hello-world example.
> >>> To install ARIA, I executed: pip install apache-ariatosca[ssh]
> >>>
> >>> --
> >>> Miguel Jimenez, PhD student
> >>> Department of Computer Science
> >>> University of Victoria
> >>> Engineering/Computer Science Building (ECS), Room 412
> >>> Victoria, BC
> >>> V8W 3p6 Canada
> >>>
> >>> On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <tal@cloudify.co<mailto:
> tal@
> >>> cloudify.co>> wrote:
> >>>
> >>> Tom, the specific problems we had were not with installation, but
> >>> rather
> >>> in
> >>> running workflows. Have you tried to install the Hello World example?
> >>>
> >>> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tnadeauaria@gmail.com
> >>> <ma...@gmail.com>>
> >>> wrote:
> >>>
> >>>
> >>>       I took an action during the grooming to verify the
> >>> installation
> >>> of
> >>> the latest PIP artifacts.
> >>> I was able to install successfully on Ubuntu 16.04 LTS just now.
> >>>
> >>>       —Tom
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
>
>

Re: ARIA-354 Verified

Posted by Thomas Nadeau <tn...@lucidvision.com>.
	Ah I see what you did here. I made a similar mistake early on.

	The set of pip commands is to install the finished, released edition from the PyPy distribution. That is what we we refer to as the “user” release.

	The install you do later with git, etc… is what you do for a “developer release” or “source build” (i.e.: you build and assemble aria from scratch locally).

	Generally speaking, you choose one or the other just to ensure you don’t clobber the other one but I am sure you can install
run both successfully if you are careful. But for the purposes of working on the project, the advice is to stick with one or the other. I actually
created a separate VM for my “user” installation that is a clean VM that just installs pip and aria for testing.  We created a Docker container
version of this just last week making doing that even easier. 

	—Tom


> On Nov 27, 2017, at 8:48 PM, Miguel Angel Jimenez Achinte <mi...@rigiresearch.com> wrote:
> 
> Okay, it's working now.
> I needed to check out the tag 0.1.1. The complete list of commands is:
> 
> sudo pip install --upgrade setuptools
> sudo pip install apache-ariatosca[ssh]
> ...
> aria --version
> v0.1.1
> ...
> git clone https://github.com/apache/incubator-ariatosca; cd
> incubator-ariatosca
> git checkout tags/0.1.1
> aria service-templates store examples/hello-world/helloworld.yaml
> my-service-template
> 
> Notice that in tag 0.1.1, the blueprint's name is helloworld.yaml, without
> the hyphen.
> 
> 
> --
> Miguel Jimenez, PhD student
> Department of Computer Science
> University of Victoria
> Engineering/Computer Science Building (ECS), Room 412
> Victoria, BC
> V8W 3p6 Canada
> 
> On Mon, Nov 27, 2017 at 3:28 PM, Vishwanath Jayaraman <
> vishwanathj@hotmail.com> wrote:
> 
>> Ok, got it.
>> 
>> 
>> Vish
>> 
>> 
>> ________________________________
>> From: Tal Liron <ta...@cloudify.co>
>> Sent: Monday, November 27, 2017 5:19 PM
>> To: dev@ariatosca.incubator.apache.org
>> Subject: Re: ARIA-354 Verified
>> 
>> Vish, I'm pretty sure the version suffix is not required, because 0.1.1 is
>> the highest version.
>> 
>> On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman <
>> vishwanathj@hotmail.com> wrote:
>> 
>>> 
>>> You need to execute
>>> 
>>> pip install apache-ariatosca[ssh]==0.1.1
>>> 
>>> Sent from my iPhone
>>> 
>>> On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <
>>> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
>>> 
>>> I executed: pip install apache-ariatosca[ssh]
>>> Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
>>> apache-ariatosca" instead?
>>> 
>>> 
>>> --
>>> Miguel Jimenez, PhD student
>>> Department of Computer Science
>>> University of Victoria
>>> Engineering/Computer Science Building (ECS), Room 412
>>> Victoria, BC
>>> V8W 3p6 Canada
>>> 
>>> On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <tal@cloudify.co<mailto:tal@
>>> cloudify.co>> wrote:
>>> 
>>> Miguel, how did you install ARIA?
>>> 
>>> On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
>>> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
>>> 
>>> I just installed ARIA on Centos 7 and I get the same error:
>>> 
>>> Storing service template my-service-template...
>>> 
>>> *AttributeError*: 'NoneType' object has no attribute '_get_properties'
>>> 
>>> File "/usr/lib/python2.7/site-packages/aria/parser/
>>> consumption/consumer.py",
>>> line 70, in consume
>>> 
>>>   consumer.consume()
>>> 
>>> File "
>>> /usr/lib/python2.7/site-packages/aria/parser/consumption/validation.py",
>>> line 30, in consume
>>> 
>>>   self.context.presentation.presenter._validate(self.context)
>>> 
>>> File "
>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>> simple_v1_0/presenter.py",
>>> line 65, in _validate
>>> 
>>>   self.service_template._validate(context)
>>> 
>>> File "
>>> /usr/lib/python2.7/site-packages/aria/parser/
>>> presentation/presentation.py",
>>> line 193, in _validate
>>> 
>>>   validate_known_fields(context, self)
>>> 
>>> File "/usr/lib/python2.7/site-packages/aria/parser/
>>> presentation/utils.py",
>>> line 110, in validate_known_fields
>>> 
>>>   field.validate(presentation, context)
>>> 
>>> File "/usr/lib/python2.7/site-packages/aria/parser/
>>> presentation/fields.py",
>>> line 409, in validate
>>> 
>>>   self.default_validate(presentation, context)
>>> 
>>> File "/usr/lib/python2.7/site-packages/aria/parser/
>>> presentation/fields.py",
>>> line 524, in default_validate
>>> 
>>>   self.validate_value(value, context)
>>> 
>>> File "/usr/lib/python2.7/site-packages/aria/parser/
>>> presentation/fields.py",
>>> line 540, in validate_value
>>> 
>>>   inner_value._validate(context)
>>> 
>>> File "
>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>> simple_v1_0/types.py",
>>> line 654, in _validate
>>> 
>>>   self._get_capabilities(context)
>>> 
>>> File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
>>> 84,
>>> in __call__
>>> 
>>>   return_value = self.func(*args, **kwargs)
>>> 
>>> File "
>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>> simple_v1_0/types.py",
>>> line 639, in _get_capabilities
>>> 
>>>   return FrozenDict(get_inherited_capability_definitions(context,
>>> self))
>>> 
>>> File "
>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>> simple_v1_0/modeling/capabilities.py",
>>> line 90, in get_inherited_capability_definitions
>>> 
>>>   merge_capability_definition_from_type(context, presentation,
>>> capability_definition)
>>> 
>>> File "
>>> /usr/lib/python2.7/site-packages/aria_extension_tosca/
>>> simple_v1_0/modeling/capabilities.py",
>>> line 170, in merge_capability_definition_from_type
>>> 
>>>   type_property_defintions = the_type._get_properties(context)
>>> 
>>> *Validation issues:*
>>> 
>>> 0: 'NoneType' object has no attribute '_get_properties'
>>> 
>>>    *AttributeError*: 'NoneType' object has no attribute
>>> '_get_properties'
>>> 
>>> 4: unknown parent type "tosca:Root" in "WebServer"
>>> 
>>> 
>>> @"/home/centos/incubator-ariatosca/examples/hello-
>>> world/hello-world.yaml":6:19
>>> 
>>> 4: "type" refers to an unknown capability type in "host":
>>> 'tosca:Container'
>>> 
>>> 
>>> @"/home/centos/incubator-ariatosca/examples/hello-
>>> world/hello-world.yaml":9:15
>>> 
>>> 4: unknown parent type "tosca:WebApplication" in "WebApp"
>>> 
>>> 
>>> @"/home/centos/incubator-ariatosca/examples/hello-
>>> world/hello-world.yaml":12:19
>>> 
>>> Failed to parse service template
>>> 
>>> Also, the gettingstarted.md file in the website repository is using the
>>> wrong name for the hello-world blueprint.
>>> It's missing the hyphen. I'll add the issue tonight.
>>> 
>>> I clone the master branch to try the hello-world example.
>>> To install ARIA, I executed: pip install apache-ariatosca[ssh]
>>> 
>>> --
>>> Miguel Jimenez, PhD student
>>> Department of Computer Science
>>> University of Victoria
>>> Engineering/Computer Science Building (ECS), Room 412
>>> Victoria, BC
>>> V8W 3p6 Canada
>>> 
>>> On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <tal@cloudify.co<mailto:tal@
>>> cloudify.co>> wrote:
>>> 
>>> Tom, the specific problems we had were not with installation, but
>>> rather
>>> in
>>> running workflows. Have you tried to install the Hello World example?
>>> 
>>> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tnadeauaria@gmail.com
>>> <ma...@gmail.com>>
>>> wrote:
>>> 
>>> 
>>>       I took an action during the grooming to verify the
>>> installation
>>> of
>>> the latest PIP artifacts.
>>> I was able to install successfully on Ubuntu 16.04 LTS just now.
>>> 
>>>       —Tom
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 


Re: ARIA-354 Verified

Posted by Miguel Angel Jimenez Achinte <mi...@rigiresearch.com>.
OH, indeed that's pro :D

--
Miguel Jimenez, PhD student
Department of Computer Science
University of Victoria
Engineering/Computer Science Building (ECS), Room 412
Victoria, BC
V8W 3p6 Canada

On Mon, Nov 27, 2017 at 6:51 PM, Tal Liron <ta...@cloudify.co> wrote:

> In your case, I would replace the "pip install" line with this one:
>
> make install-virtual
>
> This will install your checked-out git repo in development mode into the
> virtual environment, meaning that any code changes you make will
> immediately be reflected. This is how we pro devs work. :)
>
> On Mon, Nov 27, 2017 at 8:06 PM, Miguel Angel Jimenez Achinte <
> miguel@rigiresearch.com> wrote:
>
> > I'm sorry if that was confusing. I checked out the 0.1.1 tag because the
> > working blueprint is there.
> > To install ARIA, I used pip.
> >
> > Just to make sure everything is clear, these are the steps I executed:
> >
> > sudo pip install virtualenv
> > virtualenv tosca-environment
> > source tosca-environment/bin/activate
> > pip install apache-ariatosca[ssh]
> > git clone https://github.com/apache/incubator-ariatosca.git
> > cd incubator-ariatosca
> > git checkout tags/0.1.1
> > aria service-templates store examples/hello-world/helloworld.yaml
> > my-service-template
> > aria services create my-service -t my-service-template
> > aria executions start install -s my-service
> > curl http://localhost:9090
> >
> > <html>
> >     <header>
> >         <title>ARIA Hello World</title>
> >     </header>
> > <body>
> >     <h1>Hello, World!</h1>
> >     <p>
> >         blueprint_id = my-service-template3<br/>
> >         deployment_id = my-service2<br/>
> >         node_id = web_app_1
> >     </p>
> >     <img src="aria-logo.png">
> > </body>
> > </html>
> >
> > --
> > Miguel Jimenez, PhD student
> > Department of Computer Science
> > University of Victoria
> > Engineering/Computer Science Building (ECS), Room 412
> > Victoria, BC
> > V8W 3p6 Canada
> >
> > On Mon, Nov 27, 2017 at 5:53 PM, Tal Liron <ta...@cloudify.co> wrote:
> >
> > > I'm confused, Miguel. You checked out the git repository, but then
> > > installed ARIA from the PyPI (using pip). I would recommend not mixing
> > the
> > > two methods, because indeed if the git repo is at master's tip, then it
> > > would not much what was last released to PyPI. You found a workaround
> > here,
> > > using tags, but I wouldn't recommend this generally.
> > >
> > > If you use the git repo, just running "make install" should do what you
> > > need.
> > >
> > > On Mon, Nov 27, 2017 at 7:48 PM, Miguel Angel Jimenez Achinte <
> > > miguel@rigiresearch.com> wrote:
> > >
> > > > Okay, it's working now.
> > > > I needed to check out the tag 0.1.1. The complete list of commands
> is:
> > > >
> > > > sudo pip install --upgrade setuptools
> > > > sudo pip install apache-ariatosca[ssh]
> > > > ...
> > > > aria --version
> > > > v0.1.1
> > > > ...
> > > > git clone https://github.com/apache/incubator-ariatosca; cd
> > > > incubator-ariatosca
> > > > git checkout tags/0.1.1
> > > > aria service-templates store examples/hello-world/helloworld.yaml
> > > > my-service-template
> > > >
> > > > Notice that in tag 0.1.1, the blueprint's name is helloworld.yaml,
> > > without
> > > > the hyphen.
> > > >
> > > >
> > > > --
> > > > Miguel Jimenez, PhD student
> > > > Department of Computer Science
> > > > University of Victoria
> > > > Engineering/Computer Science Building (ECS), Room 412
> > > > Victoria, BC
> > > > V8W 3p6 Canada
> > > >
> > > > On Mon, Nov 27, 2017 at 3:28 PM, Vishwanath Jayaraman <
> > > > vishwanathj@hotmail.com> wrote:
> > > >
> > > > > Ok, got it.
> > > > >
> > > > >
> > > > > Vish
> > > > >
> > > > >
> > > > > ________________________________
> > > > > From: Tal Liron <ta...@cloudify.co>
> > > > > Sent: Monday, November 27, 2017 5:19 PM
> > > > > To: dev@ariatosca.incubator.apache.org
> > > > > Subject: Re: ARIA-354 Verified
> > > > >
> > > > > Vish, I'm pretty sure the version suffix is not required, because
> > 0.1.1
> > > > is
> > > > > the highest version.
> > > > >
> > > > > On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman <
> > > > > vishwanathj@hotmail.com> wrote:
> > > > >
> > > > > >
> > > > > > You need to execute
> > > > > >
> > > > > > pip install apache-ariatosca[ssh]==0.1.1
> > > > > >
> > > > > > Sent from my iPhone
> > > > > >
> > > > > > On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <
> > > > > > miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> > > > > >
> > > > > > I executed: pip install apache-ariatosca[ssh]
> > > > > > Should I use "pip install apache-ariatosca[ssh]==0.1.1
> --no-binary
> > > > > > apache-ariatosca" instead?
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Miguel Jimenez, PhD student
> > > > > > Department of Computer Science
> > > > > > University of Victoria
> > > > > > Engineering/Computer Science Building (ECS), Room 412
> > > > > > Victoria, BC
> > > > > > V8W 3p6 Canada
> > > > > >
> > > > > > On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <tal@cloudify.co
> > <mailto:
> > > > tal@
> > > > > > cloudify.co>> wrote:
> > > > > >
> > > > > > Miguel, how did you install ARIA?
> > > > > >
> > > > > > On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> > > > > > miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> > > > > >
> > > > > > I just installed ARIA on Centos 7 and I get the same error:
> > > > > >
> > > > > > Storing service template my-service-template...
> > > > > >
> > > > > > *AttributeError*: 'NoneType' object has no attribute
> > > '_get_properties'
> > > > > >
> > > > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > > > consumption/consumer.py",
> > > > > > line 70, in consume
> > > > > >
> > > > > >    consumer.consume()
> > > > > >
> > > > > >  File "
> > > > > > /usr/lib/python2.7/site-packages/aria/parser/
> > > > consumption/validation.py",
> > > > > > line 30, in consume
> > > > > >
> > > > > >    self.context.presentation.presenter._validate(self.context)
> > > > > >
> > > > > >  File "
> > > > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > > > simple_v1_0/presenter.py",
> > > > > > line 65, in _validate
> > > > > >
> > > > > >    self.service_template._validate(context)
> > > > > >
> > > > > >  File "
> > > > > > /usr/lib/python2.7/site-packages/aria/parser/
> > > > > > presentation/presentation.py",
> > > > > > line 193, in _validate
> > > > > >
> > > > > >    validate_known_fields(context, self)
> > > > > >
> > > > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > > > presentation/utils.py",
> > > > > > line 110, in validate_known_fields
> > > > > >
> > > > > >    field.validate(presentation, context)
> > > > > >
> > > > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > > > presentation/fields.py",
> > > > > > line 409, in validate
> > > > > >
> > > > > >    self.default_validate(presentation, context)
> > > > > >
> > > > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > > > presentation/fields.py",
> > > > > > line 524, in default_validate
> > > > > >
> > > > > >    self.validate_value(value, context)
> > > > > >
> > > > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > > > presentation/fields.py",
> > > > > > line 540, in validate_value
> > > > > >
> > > > > >    inner_value._validate(context)
> > > > > >
> > > > > >  File "
> > > > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > > > simple_v1_0/types.py",
> > > > > > line 654, in _validate
> > > > > >
> > > > > >    self._get_capabilities(context)
> > > > > >
> > > > > >  File "/usr/lib/python2.7/site-packages/aria/utils/caching.py",
> > line
> > > > > > 84,
> > > > > > in __call__
> > > > > >
> > > > > >    return_value = self.func(*args, **kwargs)
> > > > > >
> > > > > >  File "
> > > > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > > > simple_v1_0/types.py",
> > > > > > line 639, in _get_capabilities
> > > > > >
> > > > > >    return FrozenDict(get_inherited_capability_definitions(
> context,
> > > > > > self))
> > > > > >
> > > > > >  File "
> > > > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > > > simple_v1_0/modeling/capabilities.py",
> > > > > > line 90, in get_inherited_capability_definitions
> > > > > >
> > > > > >    merge_capability_definition_from_type(context, presentation,
> > > > > > capability_definition)
> > > > > >
> > > > > >  File "
> > > > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > > > simple_v1_0/modeling/capabilities.py",
> > > > > > line 170, in merge_capability_definition_from_type
> > > > > >
> > > > > >    type_property_defintions = the_type._get_properties(context)
> > > > > >
> > > > > > *Validation issues:*
> > > > > >
> > > > > >  0: 'NoneType' object has no attribute '_get_properties'
> > > > > >
> > > > > >     *AttributeError*: 'NoneType' object has no attribute
> > > > > > '_get_properties'
> > > > > >
> > > > > >  4: unknown parent type "tosca:Root" in "WebServer"
> > > > > >
> > > > > >
> > > > > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > > > > world/hello-world.yaml":6:19
> > > > > >
> > > > > >  4: "type" refers to an unknown capability type in "host":
> > > > > > 'tosca:Container'
> > > > > >
> > > > > >
> > > > > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > > > > world/hello-world.yaml":9:15
> > > > > >
> > > > > >  4: unknown parent type "tosca:WebApplication" in "WebApp"
> > > > > >
> > > > > >
> > > > > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > > > > world/hello-world.yaml":12:19
> > > > > >
> > > > > > Failed to parse service template
> > > > > >
> > > > > > Also, the gettingstarted.md file in the website repository is
> > using
> > > > the
> > > > > > wrong name for the hello-world blueprint.
> > > > > > It's missing the hyphen. I'll add the issue tonight.
> > > > > >
> > > > > > I clone the master branch to try the hello-world example.
> > > > > > To install ARIA, I executed: pip install apache-ariatosca[ssh]
> > > > > >
> > > > > > --
> > > > > > Miguel Jimenez, PhD student
> > > > > > Department of Computer Science
> > > > > > University of Victoria
> > > > > > Engineering/Computer Science Building (ECS), Room 412
> > > > > > Victoria, BC
> > > > > > V8W 3p6 Canada
> > > > > >
> > > > > > On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <tal@cloudify.co
> > <mailto:
> > > > tal@
> > > > > > cloudify.co>> wrote:
> > > > > >
> > > > > > Tom, the specific problems we had were not with installation, but
> > > > > > rather
> > > > > > in
> > > > > > running workflows. Have you tried to install the Hello World
> > example?
> > > > > >
> > > > > > On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <
> > > tnadeauaria@gmail.com
> > > > > > <ma...@gmail.com>>
> > > > > > wrote:
> > > > > >
> > > > > >
> > > > > >        I took an action during the grooming to verify the
> > > > > > installation
> > > > > > of
> > > > > > the latest PIP artifacts.
> > > > > > I was able to install successfully on Ubuntu 16.04 LTS just now.
> > > > > >
> > > > > >        —Tom
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: ARIA-354 Verified

Posted by Tal Liron <ta...@cloudify.co>.
In your case, I would replace the "pip install" line with this one:

make install-virtual

This will install your checked-out git repo in development mode into the
virtual environment, meaning that any code changes you make will
immediately be reflected. This is how we pro devs work. :)

On Mon, Nov 27, 2017 at 8:06 PM, Miguel Angel Jimenez Achinte <
miguel@rigiresearch.com> wrote:

> I'm sorry if that was confusing. I checked out the 0.1.1 tag because the
> working blueprint is there.
> To install ARIA, I used pip.
>
> Just to make sure everything is clear, these are the steps I executed:
>
> sudo pip install virtualenv
> virtualenv tosca-environment
> source tosca-environment/bin/activate
> pip install apache-ariatosca[ssh]
> git clone https://github.com/apache/incubator-ariatosca.git
> cd incubator-ariatosca
> git checkout tags/0.1.1
> aria service-templates store examples/hello-world/helloworld.yaml
> my-service-template
> aria services create my-service -t my-service-template
> aria executions start install -s my-service
> curl http://localhost:9090
>
> <html>
>     <header>
>         <title>ARIA Hello World</title>
>     </header>
> <body>
>     <h1>Hello, World!</h1>
>     <p>
>         blueprint_id = my-service-template3<br/>
>         deployment_id = my-service2<br/>
>         node_id = web_app_1
>     </p>
>     <img src="aria-logo.png">
> </body>
> </html>
>
> --
> Miguel Jimenez, PhD student
> Department of Computer Science
> University of Victoria
> Engineering/Computer Science Building (ECS), Room 412
> Victoria, BC
> V8W 3p6 Canada
>
> On Mon, Nov 27, 2017 at 5:53 PM, Tal Liron <ta...@cloudify.co> wrote:
>
> > I'm confused, Miguel. You checked out the git repository, but then
> > installed ARIA from the PyPI (using pip). I would recommend not mixing
> the
> > two methods, because indeed if the git repo is at master's tip, then it
> > would not much what was last released to PyPI. You found a workaround
> here,
> > using tags, but I wouldn't recommend this generally.
> >
> > If you use the git repo, just running "make install" should do what you
> > need.
> >
> > On Mon, Nov 27, 2017 at 7:48 PM, Miguel Angel Jimenez Achinte <
> > miguel@rigiresearch.com> wrote:
> >
> > > Okay, it's working now.
> > > I needed to check out the tag 0.1.1. The complete list of commands is:
> > >
> > > sudo pip install --upgrade setuptools
> > > sudo pip install apache-ariatosca[ssh]
> > > ...
> > > aria --version
> > > v0.1.1
> > > ...
> > > git clone https://github.com/apache/incubator-ariatosca; cd
> > > incubator-ariatosca
> > > git checkout tags/0.1.1
> > > aria service-templates store examples/hello-world/helloworld.yaml
> > > my-service-template
> > >
> > > Notice that in tag 0.1.1, the blueprint's name is helloworld.yaml,
> > without
> > > the hyphen.
> > >
> > >
> > > --
> > > Miguel Jimenez, PhD student
> > > Department of Computer Science
> > > University of Victoria
> > > Engineering/Computer Science Building (ECS), Room 412
> > > Victoria, BC
> > > V8W 3p6 Canada
> > >
> > > On Mon, Nov 27, 2017 at 3:28 PM, Vishwanath Jayaraman <
> > > vishwanathj@hotmail.com> wrote:
> > >
> > > > Ok, got it.
> > > >
> > > >
> > > > Vish
> > > >
> > > >
> > > > ________________________________
> > > > From: Tal Liron <ta...@cloudify.co>
> > > > Sent: Monday, November 27, 2017 5:19 PM
> > > > To: dev@ariatosca.incubator.apache.org
> > > > Subject: Re: ARIA-354 Verified
> > > >
> > > > Vish, I'm pretty sure the version suffix is not required, because
> 0.1.1
> > > is
> > > > the highest version.
> > > >
> > > > On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman <
> > > > vishwanathj@hotmail.com> wrote:
> > > >
> > > > >
> > > > > You need to execute
> > > > >
> > > > > pip install apache-ariatosca[ssh]==0.1.1
> > > > >
> > > > > Sent from my iPhone
> > > > >
> > > > > On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <
> > > > > miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> > > > >
> > > > > I executed: pip install apache-ariatosca[ssh]
> > > > > Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
> > > > > apache-ariatosca" instead?
> > > > >
> > > > >
> > > > > --
> > > > > Miguel Jimenez, PhD student
> > > > > Department of Computer Science
> > > > > University of Victoria
> > > > > Engineering/Computer Science Building (ECS), Room 412
> > > > > Victoria, BC
> > > > > V8W 3p6 Canada
> > > > >
> > > > > On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <tal@cloudify.co
> <mailto:
> > > tal@
> > > > > cloudify.co>> wrote:
> > > > >
> > > > > Miguel, how did you install ARIA?
> > > > >
> > > > > On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> > > > > miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> > > > >
> > > > > I just installed ARIA on Centos 7 and I get the same error:
> > > > >
> > > > > Storing service template my-service-template...
> > > > >
> > > > > *AttributeError*: 'NoneType' object has no attribute
> > '_get_properties'
> > > > >
> > > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > > consumption/consumer.py",
> > > > > line 70, in consume
> > > > >
> > > > >    consumer.consume()
> > > > >
> > > > >  File "
> > > > > /usr/lib/python2.7/site-packages/aria/parser/
> > > consumption/validation.py",
> > > > > line 30, in consume
> > > > >
> > > > >    self.context.presentation.presenter._validate(self.context)
> > > > >
> > > > >  File "
> > > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > > simple_v1_0/presenter.py",
> > > > > line 65, in _validate
> > > > >
> > > > >    self.service_template._validate(context)
> > > > >
> > > > >  File "
> > > > > /usr/lib/python2.7/site-packages/aria/parser/
> > > > > presentation/presentation.py",
> > > > > line 193, in _validate
> > > > >
> > > > >    validate_known_fields(context, self)
> > > > >
> > > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > > presentation/utils.py",
> > > > > line 110, in validate_known_fields
> > > > >
> > > > >    field.validate(presentation, context)
> > > > >
> > > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > > presentation/fields.py",
> > > > > line 409, in validate
> > > > >
> > > > >    self.default_validate(presentation, context)
> > > > >
> > > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > > presentation/fields.py",
> > > > > line 524, in default_validate
> > > > >
> > > > >    self.validate_value(value, context)
> > > > >
> > > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > > presentation/fields.py",
> > > > > line 540, in validate_value
> > > > >
> > > > >    inner_value._validate(context)
> > > > >
> > > > >  File "
> > > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > > simple_v1_0/types.py",
> > > > > line 654, in _validate
> > > > >
> > > > >    self._get_capabilities(context)
> > > > >
> > > > >  File "/usr/lib/python2.7/site-packages/aria/utils/caching.py",
> line
> > > > > 84,
> > > > > in __call__
> > > > >
> > > > >    return_value = self.func(*args, **kwargs)
> > > > >
> > > > >  File "
> > > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > > simple_v1_0/types.py",
> > > > > line 639, in _get_capabilities
> > > > >
> > > > >    return FrozenDict(get_inherited_capability_definitions(context,
> > > > > self))
> > > > >
> > > > >  File "
> > > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > > simple_v1_0/modeling/capabilities.py",
> > > > > line 90, in get_inherited_capability_definitions
> > > > >
> > > > >    merge_capability_definition_from_type(context, presentation,
> > > > > capability_definition)
> > > > >
> > > > >  File "
> > > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > > simple_v1_0/modeling/capabilities.py",
> > > > > line 170, in merge_capability_definition_from_type
> > > > >
> > > > >    type_property_defintions = the_type._get_properties(context)
> > > > >
> > > > > *Validation issues:*
> > > > >
> > > > >  0: 'NoneType' object has no attribute '_get_properties'
> > > > >
> > > > >     *AttributeError*: 'NoneType' object has no attribute
> > > > > '_get_properties'
> > > > >
> > > > >  4: unknown parent type "tosca:Root" in "WebServer"
> > > > >
> > > > >
> > > > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > > > world/hello-world.yaml":6:19
> > > > >
> > > > >  4: "type" refers to an unknown capability type in "host":
> > > > > 'tosca:Container'
> > > > >
> > > > >
> > > > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > > > world/hello-world.yaml":9:15
> > > > >
> > > > >  4: unknown parent type "tosca:WebApplication" in "WebApp"
> > > > >
> > > > >
> > > > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > > > world/hello-world.yaml":12:19
> > > > >
> > > > > Failed to parse service template
> > > > >
> > > > > Also, the gettingstarted.md file in the website repository is
> using
> > > the
> > > > > wrong name for the hello-world blueprint.
> > > > > It's missing the hyphen. I'll add the issue tonight.
> > > > >
> > > > > I clone the master branch to try the hello-world example.
> > > > > To install ARIA, I executed: pip install apache-ariatosca[ssh]
> > > > >
> > > > > --
> > > > > Miguel Jimenez, PhD student
> > > > > Department of Computer Science
> > > > > University of Victoria
> > > > > Engineering/Computer Science Building (ECS), Room 412
> > > > > Victoria, BC
> > > > > V8W 3p6 Canada
> > > > >
> > > > > On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <tal@cloudify.co
> <mailto:
> > > tal@
> > > > > cloudify.co>> wrote:
> > > > >
> > > > > Tom, the specific problems we had were not with installation, but
> > > > > rather
> > > > > in
> > > > > running workflows. Have you tried to install the Hello World
> example?
> > > > >
> > > > > On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <
> > tnadeauaria@gmail.com
> > > > > <ma...@gmail.com>>
> > > > > wrote:
> > > > >
> > > > >
> > > > >        I took an action during the grooming to verify the
> > > > > installation
> > > > > of
> > > > > the latest PIP artifacts.
> > > > > I was able to install successfully on Ubuntu 16.04 LTS just now.
> > > > >
> > > > >        —Tom
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: ARIA-354 Verified

Posted by Miguel Angel Jimenez Achinte <mi...@rigiresearch.com>.
I'm sorry if that was confusing. I checked out the 0.1.1 tag because the
working blueprint is there.
To install ARIA, I used pip.

Just to make sure everything is clear, these are the steps I executed:

sudo pip install virtualenv
virtualenv tosca-environment
source tosca-environment/bin/activate
pip install apache-ariatosca[ssh]
git clone https://github.com/apache/incubator-ariatosca.git
cd incubator-ariatosca
git checkout tags/0.1.1
aria service-templates store examples/hello-world/helloworld.yaml
my-service-template
aria services create my-service -t my-service-template
aria executions start install -s my-service
curl http://localhost:9090

<html>
    <header>
        <title>ARIA Hello World</title>
    </header>
<body>
    <h1>Hello, World!</h1>
    <p>
        blueprint_id = my-service-template3<br/>
        deployment_id = my-service2<br/>
        node_id = web_app_1
    </p>
    <img src="aria-logo.png">
</body>
</html>

--
Miguel Jimenez, PhD student
Department of Computer Science
University of Victoria
Engineering/Computer Science Building (ECS), Room 412
Victoria, BC
V8W 3p6 Canada

On Mon, Nov 27, 2017 at 5:53 PM, Tal Liron <ta...@cloudify.co> wrote:

> I'm confused, Miguel. You checked out the git repository, but then
> installed ARIA from the PyPI (using pip). I would recommend not mixing the
> two methods, because indeed if the git repo is at master's tip, then it
> would not much what was last released to PyPI. You found a workaround here,
> using tags, but I wouldn't recommend this generally.
>
> If you use the git repo, just running "make install" should do what you
> need.
>
> On Mon, Nov 27, 2017 at 7:48 PM, Miguel Angel Jimenez Achinte <
> miguel@rigiresearch.com> wrote:
>
> > Okay, it's working now.
> > I needed to check out the tag 0.1.1. The complete list of commands is:
> >
> > sudo pip install --upgrade setuptools
> > sudo pip install apache-ariatosca[ssh]
> > ...
> > aria --version
> > v0.1.1
> > ...
> > git clone https://github.com/apache/incubator-ariatosca; cd
> > incubator-ariatosca
> > git checkout tags/0.1.1
> > aria service-templates store examples/hello-world/helloworld.yaml
> > my-service-template
> >
> > Notice that in tag 0.1.1, the blueprint's name is helloworld.yaml,
> without
> > the hyphen.
> >
> >
> > --
> > Miguel Jimenez, PhD student
> > Department of Computer Science
> > University of Victoria
> > Engineering/Computer Science Building (ECS), Room 412
> > Victoria, BC
> > V8W 3p6 Canada
> >
> > On Mon, Nov 27, 2017 at 3:28 PM, Vishwanath Jayaraman <
> > vishwanathj@hotmail.com> wrote:
> >
> > > Ok, got it.
> > >
> > >
> > > Vish
> > >
> > >
> > > ________________________________
> > > From: Tal Liron <ta...@cloudify.co>
> > > Sent: Monday, November 27, 2017 5:19 PM
> > > To: dev@ariatosca.incubator.apache.org
> > > Subject: Re: ARIA-354 Verified
> > >
> > > Vish, I'm pretty sure the version suffix is not required, because 0.1.1
> > is
> > > the highest version.
> > >
> > > On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman <
> > > vishwanathj@hotmail.com> wrote:
> > >
> > > >
> > > > You need to execute
> > > >
> > > > pip install apache-ariatosca[ssh]==0.1.1
> > > >
> > > > Sent from my iPhone
> > > >
> > > > On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <
> > > > miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> > > >
> > > > I executed: pip install apache-ariatosca[ssh]
> > > > Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
> > > > apache-ariatosca" instead?
> > > >
> > > >
> > > > --
> > > > Miguel Jimenez, PhD student
> > > > Department of Computer Science
> > > > University of Victoria
> > > > Engineering/Computer Science Building (ECS), Room 412
> > > > Victoria, BC
> > > > V8W 3p6 Canada
> > > >
> > > > On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <tal@cloudify.co<mailto:
> > tal@
> > > > cloudify.co>> wrote:
> > > >
> > > > Miguel, how did you install ARIA?
> > > >
> > > > On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> > > > miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> > > >
> > > > I just installed ARIA on Centos 7 and I get the same error:
> > > >
> > > > Storing service template my-service-template...
> > > >
> > > > *AttributeError*: 'NoneType' object has no attribute
> '_get_properties'
> > > >
> > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > consumption/consumer.py",
> > > > line 70, in consume
> > > >
> > > >    consumer.consume()
> > > >
> > > >  File "
> > > > /usr/lib/python2.7/site-packages/aria/parser/
> > consumption/validation.py",
> > > > line 30, in consume
> > > >
> > > >    self.context.presentation.presenter._validate(self.context)
> > > >
> > > >  File "
> > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > simple_v1_0/presenter.py",
> > > > line 65, in _validate
> > > >
> > > >    self.service_template._validate(context)
> > > >
> > > >  File "
> > > > /usr/lib/python2.7/site-packages/aria/parser/
> > > > presentation/presentation.py",
> > > > line 193, in _validate
> > > >
> > > >    validate_known_fields(context, self)
> > > >
> > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > presentation/utils.py",
> > > > line 110, in validate_known_fields
> > > >
> > > >    field.validate(presentation, context)
> > > >
> > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > presentation/fields.py",
> > > > line 409, in validate
> > > >
> > > >    self.default_validate(presentation, context)
> > > >
> > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > presentation/fields.py",
> > > > line 524, in default_validate
> > > >
> > > >    self.validate_value(value, context)
> > > >
> > > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > > presentation/fields.py",
> > > > line 540, in validate_value
> > > >
> > > >    inner_value._validate(context)
> > > >
> > > >  File "
> > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > simple_v1_0/types.py",
> > > > line 654, in _validate
> > > >
> > > >    self._get_capabilities(context)
> > > >
> > > >  File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
> > > > 84,
> > > > in __call__
> > > >
> > > >    return_value = self.func(*args, **kwargs)
> > > >
> > > >  File "
> > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > simple_v1_0/types.py",
> > > > line 639, in _get_capabilities
> > > >
> > > >    return FrozenDict(get_inherited_capability_definitions(context,
> > > > self))
> > > >
> > > >  File "
> > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > simple_v1_0/modeling/capabilities.py",
> > > > line 90, in get_inherited_capability_definitions
> > > >
> > > >    merge_capability_definition_from_type(context, presentation,
> > > > capability_definition)
> > > >
> > > >  File "
> > > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > > simple_v1_0/modeling/capabilities.py",
> > > > line 170, in merge_capability_definition_from_type
> > > >
> > > >    type_property_defintions = the_type._get_properties(context)
> > > >
> > > > *Validation issues:*
> > > >
> > > >  0: 'NoneType' object has no attribute '_get_properties'
> > > >
> > > >     *AttributeError*: 'NoneType' object has no attribute
> > > > '_get_properties'
> > > >
> > > >  4: unknown parent type "tosca:Root" in "WebServer"
> > > >
> > > >
> > > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > > world/hello-world.yaml":6:19
> > > >
> > > >  4: "type" refers to an unknown capability type in "host":
> > > > 'tosca:Container'
> > > >
> > > >
> > > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > > world/hello-world.yaml":9:15
> > > >
> > > >  4: unknown parent type "tosca:WebApplication" in "WebApp"
> > > >
> > > >
> > > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > > world/hello-world.yaml":12:19
> > > >
> > > > Failed to parse service template
> > > >
> > > > Also, the gettingstarted.md file in the website repository is using
> > the
> > > > wrong name for the hello-world blueprint.
> > > > It's missing the hyphen. I'll add the issue tonight.
> > > >
> > > > I clone the master branch to try the hello-world example.
> > > > To install ARIA, I executed: pip install apache-ariatosca[ssh]
> > > >
> > > > --
> > > > Miguel Jimenez, PhD student
> > > > Department of Computer Science
> > > > University of Victoria
> > > > Engineering/Computer Science Building (ECS), Room 412
> > > > Victoria, BC
> > > > V8W 3p6 Canada
> > > >
> > > > On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <tal@cloudify.co<mailto:
> > tal@
> > > > cloudify.co>> wrote:
> > > >
> > > > Tom, the specific problems we had were not with installation, but
> > > > rather
> > > > in
> > > > running workflows. Have you tried to install the Hello World example?
> > > >
> > > > On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <
> tnadeauaria@gmail.com
> > > > <ma...@gmail.com>>
> > > > wrote:
> > > >
> > > >
> > > >        I took an action during the grooming to verify the
> > > > installation
> > > > of
> > > > the latest PIP artifacts.
> > > > I was able to install successfully on Ubuntu 16.04 LTS just now.
> > > >
> > > >        —Tom
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>

Re: ARIA-354 Verified

Posted by Tal Liron <ta...@cloudify.co>.
I'm confused, Miguel. You checked out the git repository, but then
installed ARIA from the PyPI (using pip). I would recommend not mixing the
two methods, because indeed if the git repo is at master's tip, then it
would not much what was last released to PyPI. You found a workaround here,
using tags, but I wouldn't recommend this generally.

If you use the git repo, just running "make install" should do what you
need.

On Mon, Nov 27, 2017 at 7:48 PM, Miguel Angel Jimenez Achinte <
miguel@rigiresearch.com> wrote:

> Okay, it's working now.
> I needed to check out the tag 0.1.1. The complete list of commands is:
>
> sudo pip install --upgrade setuptools
> sudo pip install apache-ariatosca[ssh]
> ...
> aria --version
> v0.1.1
> ...
> git clone https://github.com/apache/incubator-ariatosca; cd
> incubator-ariatosca
> git checkout tags/0.1.1
> aria service-templates store examples/hello-world/helloworld.yaml
> my-service-template
>
> Notice that in tag 0.1.1, the blueprint's name is helloworld.yaml, without
> the hyphen.
>
>
> --
> Miguel Jimenez, PhD student
> Department of Computer Science
> University of Victoria
> Engineering/Computer Science Building (ECS), Room 412
> Victoria, BC
> V8W 3p6 Canada
>
> On Mon, Nov 27, 2017 at 3:28 PM, Vishwanath Jayaraman <
> vishwanathj@hotmail.com> wrote:
>
> > Ok, got it.
> >
> >
> > Vish
> >
> >
> > ________________________________
> > From: Tal Liron <ta...@cloudify.co>
> > Sent: Monday, November 27, 2017 5:19 PM
> > To: dev@ariatosca.incubator.apache.org
> > Subject: Re: ARIA-354 Verified
> >
> > Vish, I'm pretty sure the version suffix is not required, because 0.1.1
> is
> > the highest version.
> >
> > On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman <
> > vishwanathj@hotmail.com> wrote:
> >
> > >
> > > You need to execute
> > >
> > > pip install apache-ariatosca[ssh]==0.1.1
> > >
> > > Sent from my iPhone
> > >
> > > On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <
> > > miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> > >
> > > I executed: pip install apache-ariatosca[ssh]
> > > Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
> > > apache-ariatosca" instead?
> > >
> > >
> > > --
> > > Miguel Jimenez, PhD student
> > > Department of Computer Science
> > > University of Victoria
> > > Engineering/Computer Science Building (ECS), Room 412
> > > Victoria, BC
> > > V8W 3p6 Canada
> > >
> > > On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <tal@cloudify.co<mailto:
> tal@
> > > cloudify.co>> wrote:
> > >
> > > Miguel, how did you install ARIA?
> > >
> > > On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> > > miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> > >
> > > I just installed ARIA on Centos 7 and I get the same error:
> > >
> > > Storing service template my-service-template...
> > >
> > > *AttributeError*: 'NoneType' object has no attribute '_get_properties'
> > >
> > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > consumption/consumer.py",
> > > line 70, in consume
> > >
> > >    consumer.consume()
> > >
> > >  File "
> > > /usr/lib/python2.7/site-packages/aria/parser/
> consumption/validation.py",
> > > line 30, in consume
> > >
> > >    self.context.presentation.presenter._validate(self.context)
> > >
> > >  File "
> > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > simple_v1_0/presenter.py",
> > > line 65, in _validate
> > >
> > >    self.service_template._validate(context)
> > >
> > >  File "
> > > /usr/lib/python2.7/site-packages/aria/parser/
> > > presentation/presentation.py",
> > > line 193, in _validate
> > >
> > >    validate_known_fields(context, self)
> > >
> > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > presentation/utils.py",
> > > line 110, in validate_known_fields
> > >
> > >    field.validate(presentation, context)
> > >
> > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > presentation/fields.py",
> > > line 409, in validate
> > >
> > >    self.default_validate(presentation, context)
> > >
> > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > presentation/fields.py",
> > > line 524, in default_validate
> > >
> > >    self.validate_value(value, context)
> > >
> > >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > > presentation/fields.py",
> > > line 540, in validate_value
> > >
> > >    inner_value._validate(context)
> > >
> > >  File "
> > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > simple_v1_0/types.py",
> > > line 654, in _validate
> > >
> > >    self._get_capabilities(context)
> > >
> > >  File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
> > > 84,
> > > in __call__
> > >
> > >    return_value = self.func(*args, **kwargs)
> > >
> > >  File "
> > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > simple_v1_0/types.py",
> > > line 639, in _get_capabilities
> > >
> > >    return FrozenDict(get_inherited_capability_definitions(context,
> > > self))
> > >
> > >  File "
> > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > simple_v1_0/modeling/capabilities.py",
> > > line 90, in get_inherited_capability_definitions
> > >
> > >    merge_capability_definition_from_type(context, presentation,
> > > capability_definition)
> > >
> > >  File "
> > > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > > simple_v1_0/modeling/capabilities.py",
> > > line 170, in merge_capability_definition_from_type
> > >
> > >    type_property_defintions = the_type._get_properties(context)
> > >
> > > *Validation issues:*
> > >
> > >  0: 'NoneType' object has no attribute '_get_properties'
> > >
> > >     *AttributeError*: 'NoneType' object has no attribute
> > > '_get_properties'
> > >
> > >  4: unknown parent type "tosca:Root" in "WebServer"
> > >
> > >
> > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > world/hello-world.yaml":6:19
> > >
> > >  4: "type" refers to an unknown capability type in "host":
> > > 'tosca:Container'
> > >
> > >
> > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > world/hello-world.yaml":9:15
> > >
> > >  4: unknown parent type "tosca:WebApplication" in "WebApp"
> > >
> > >
> > > @"/home/centos/incubator-ariatosca/examples/hello-
> > > world/hello-world.yaml":12:19
> > >
> > > Failed to parse service template
> > >
> > > Also, the gettingstarted.md file in the website repository is using
> the
> > > wrong name for the hello-world blueprint.
> > > It's missing the hyphen. I'll add the issue tonight.
> > >
> > > I clone the master branch to try the hello-world example.
> > > To install ARIA, I executed: pip install apache-ariatosca[ssh]
> > >
> > > --
> > > Miguel Jimenez, PhD student
> > > Department of Computer Science
> > > University of Victoria
> > > Engineering/Computer Science Building (ECS), Room 412
> > > Victoria, BC
> > > V8W 3p6 Canada
> > >
> > > On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <tal@cloudify.co<mailto:
> tal@
> > > cloudify.co>> wrote:
> > >
> > > Tom, the specific problems we had were not with installation, but
> > > rather
> > > in
> > > running workflows. Have you tried to install the Hello World example?
> > >
> > > On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tnadeauaria@gmail.com
> > > <ma...@gmail.com>>
> > > wrote:
> > >
> > >
> > >        I took an action during the grooming to verify the
> > > installation
> > > of
> > > the latest PIP artifacts.
> > > I was able to install successfully on Ubuntu 16.04 LTS just now.
> > >
> > >        —Tom
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>

Re: ARIA-354 Verified

Posted by Miguel Angel Jimenez Achinte <mi...@rigiresearch.com>.
Okay, it's working now.
I needed to check out the tag 0.1.1. The complete list of commands is:

sudo pip install --upgrade setuptools
sudo pip install apache-ariatosca[ssh]
...
aria --version
v0.1.1
...
git clone https://github.com/apache/incubator-ariatosca; cd
incubator-ariatosca
git checkout tags/0.1.1
aria service-templates store examples/hello-world/helloworld.yaml
my-service-template

Notice that in tag 0.1.1, the blueprint's name is helloworld.yaml, without
the hyphen.


--
Miguel Jimenez, PhD student
Department of Computer Science
University of Victoria
Engineering/Computer Science Building (ECS), Room 412
Victoria, BC
V8W 3p6 Canada

On Mon, Nov 27, 2017 at 3:28 PM, Vishwanath Jayaraman <
vishwanathj@hotmail.com> wrote:

> Ok, got it.
>
>
> Vish
>
>
> ________________________________
> From: Tal Liron <ta...@cloudify.co>
> Sent: Monday, November 27, 2017 5:19 PM
> To: dev@ariatosca.incubator.apache.org
> Subject: Re: ARIA-354 Verified
>
> Vish, I'm pretty sure the version suffix is not required, because 0.1.1 is
> the highest version.
>
> On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman <
> vishwanathj@hotmail.com> wrote:
>
> >
> > You need to execute
> >
> > pip install apache-ariatosca[ssh]==0.1.1
> >
> > Sent from my iPhone
> >
> > On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <
> > miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> >
> > I executed: pip install apache-ariatosca[ssh]
> > Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
> > apache-ariatosca" instead?
> >
> >
> > --
> > Miguel Jimenez, PhD student
> > Department of Computer Science
> > University of Victoria
> > Engineering/Computer Science Building (ECS), Room 412
> > Victoria, BC
> > V8W 3p6 Canada
> >
> > On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <tal@cloudify.co<mailto:tal@
> > cloudify.co>> wrote:
> >
> > Miguel, how did you install ARIA?
> >
> > On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> > miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
> >
> > I just installed ARIA on Centos 7 and I get the same error:
> >
> > Storing service template my-service-template...
> >
> > *AttributeError*: 'NoneType' object has no attribute '_get_properties'
> >
> >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > consumption/consumer.py",
> > line 70, in consume
> >
> >    consumer.consume()
> >
> >  File "
> > /usr/lib/python2.7/site-packages/aria/parser/consumption/validation.py",
> > line 30, in consume
> >
> >    self.context.presentation.presenter._validate(self.context)
> >
> >  File "
> > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > simple_v1_0/presenter.py",
> > line 65, in _validate
> >
> >    self.service_template._validate(context)
> >
> >  File "
> > /usr/lib/python2.7/site-packages/aria/parser/
> > presentation/presentation.py",
> > line 193, in _validate
> >
> >    validate_known_fields(context, self)
> >
> >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > presentation/utils.py",
> > line 110, in validate_known_fields
> >
> >    field.validate(presentation, context)
> >
> >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > presentation/fields.py",
> > line 409, in validate
> >
> >    self.default_validate(presentation, context)
> >
> >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > presentation/fields.py",
> > line 524, in default_validate
> >
> >    self.validate_value(value, context)
> >
> >  File "/usr/lib/python2.7/site-packages/aria/parser/
> > presentation/fields.py",
> > line 540, in validate_value
> >
> >    inner_value._validate(context)
> >
> >  File "
> > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > simple_v1_0/types.py",
> > line 654, in _validate
> >
> >    self._get_capabilities(context)
> >
> >  File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
> > 84,
> > in __call__
> >
> >    return_value = self.func(*args, **kwargs)
> >
> >  File "
> > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > simple_v1_0/types.py",
> > line 639, in _get_capabilities
> >
> >    return FrozenDict(get_inherited_capability_definitions(context,
> > self))
> >
> >  File "
> > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > simple_v1_0/modeling/capabilities.py",
> > line 90, in get_inherited_capability_definitions
> >
> >    merge_capability_definition_from_type(context, presentation,
> > capability_definition)
> >
> >  File "
> > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > simple_v1_0/modeling/capabilities.py",
> > line 170, in merge_capability_definition_from_type
> >
> >    type_property_defintions = the_type._get_properties(context)
> >
> > *Validation issues:*
> >
> >  0: 'NoneType' object has no attribute '_get_properties'
> >
> >     *AttributeError*: 'NoneType' object has no attribute
> > '_get_properties'
> >
> >  4: unknown parent type "tosca:Root" in "WebServer"
> >
> >
> > @"/home/centos/incubator-ariatosca/examples/hello-
> > world/hello-world.yaml":6:19
> >
> >  4: "type" refers to an unknown capability type in "host":
> > 'tosca:Container'
> >
> >
> > @"/home/centos/incubator-ariatosca/examples/hello-
> > world/hello-world.yaml":9:15
> >
> >  4: unknown parent type "tosca:WebApplication" in "WebApp"
> >
> >
> > @"/home/centos/incubator-ariatosca/examples/hello-
> > world/hello-world.yaml":12:19
> >
> > Failed to parse service template
> >
> > Also, the gettingstarted.md file in the website repository is using the
> > wrong name for the hello-world blueprint.
> > It's missing the hyphen. I'll add the issue tonight.
> >
> > I clone the master branch to try the hello-world example.
> > To install ARIA, I executed: pip install apache-ariatosca[ssh]
> >
> > --
> > Miguel Jimenez, PhD student
> > Department of Computer Science
> > University of Victoria
> > Engineering/Computer Science Building (ECS), Room 412
> > Victoria, BC
> > V8W 3p6 Canada
> >
> > On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <tal@cloudify.co<mailto:tal@
> > cloudify.co>> wrote:
> >
> > Tom, the specific problems we had were not with installation, but
> > rather
> > in
> > running workflows. Have you tried to install the Hello World example?
> >
> > On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tnadeauaria@gmail.com
> > <ma...@gmail.com>>
> > wrote:
> >
> >
> >        I took an action during the grooming to verify the
> > installation
> > of
> > the latest PIP artifacts.
> > I was able to install successfully on Ubuntu 16.04 LTS just now.
> >
> >        —Tom
> >
> >
> >
> >
> >
> >
> >
>

Re: ARIA-354 Verified

Posted by Vishwanath Jayaraman <vi...@hotmail.com>.
Ok, got it.


Vish


________________________________
From: Tal Liron <ta...@cloudify.co>
Sent: Monday, November 27, 2017 5:19 PM
To: dev@ariatosca.incubator.apache.org
Subject: Re: ARIA-354 Verified

Vish, I'm pretty sure the version suffix is not required, because 0.1.1 is
the highest version.

On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman <
vishwanathj@hotmail.com> wrote:

>
> You need to execute
>
> pip install apache-ariatosca[ssh]==0.1.1
>
> Sent from my iPhone
>
> On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <
> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
>
> I executed: pip install apache-ariatosca[ssh]
> Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
> apache-ariatosca" instead?
>
>
> --
> Miguel Jimenez, PhD student
> Department of Computer Science
> University of Victoria
> Engineering/Computer Science Building (ECS), Room 412
> Victoria, BC
> V8W 3p6 Canada
>
> On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <tal@cloudify.co<mailto:tal@
> cloudify.co>> wrote:
>
> Miguel, how did you install ARIA?
>
> On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
>
> I just installed ARIA on Centos 7 and I get the same error:
>
> Storing service template my-service-template...
>
> *AttributeError*: 'NoneType' object has no attribute '_get_properties'
>
>  File "/usr/lib/python2.7/site-packages/aria/parser/
> consumption/consumer.py",
> line 70, in consume
>
>    consumer.consume()
>
>  File "
> /usr/lib/python2.7/site-packages/aria/parser/consumption/validation.py",
> line 30, in consume
>
>    self.context.presentation.presenter._validate(self.context)
>
>  File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/presenter.py",
> line 65, in _validate
>
>    self.service_template._validate(context)
>
>  File "
> /usr/lib/python2.7/site-packages/aria/parser/
> presentation/presentation.py",
> line 193, in _validate
>
>    validate_known_fields(context, self)
>
>  File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/utils.py",
> line 110, in validate_known_fields
>
>    field.validate(presentation, context)
>
>  File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/fields.py",
> line 409, in validate
>
>    self.default_validate(presentation, context)
>
>  File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/fields.py",
> line 524, in default_validate
>
>    self.validate_value(value, context)
>
>  File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/fields.py",
> line 540, in validate_value
>
>    inner_value._validate(context)
>
>  File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/types.py",
> line 654, in _validate
>
>    self._get_capabilities(context)
>
>  File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
> 84,
> in __call__
>
>    return_value = self.func(*args, **kwargs)
>
>  File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/types.py",
> line 639, in _get_capabilities
>
>    return FrozenDict(get_inherited_capability_definitions(context,
> self))
>
>  File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/modeling/capabilities.py",
> line 90, in get_inherited_capability_definitions
>
>    merge_capability_definition_from_type(context, presentation,
> capability_definition)
>
>  File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/modeling/capabilities.py",
> line 170, in merge_capability_definition_from_type
>
>    type_property_defintions = the_type._get_properties(context)
>
> *Validation issues:*
>
>  0: 'NoneType' object has no attribute '_get_properties'
>
>     *AttributeError*: 'NoneType' object has no attribute
> '_get_properties'
>
>  4: unknown parent type "tosca:Root" in "WebServer"
>
>
> @"/home/centos/incubator-ariatosca/examples/hello-
> world/hello-world.yaml":6:19
>
>  4: "type" refers to an unknown capability type in "host":
> 'tosca:Container'
>
>
> @"/home/centos/incubator-ariatosca/examples/hello-
> world/hello-world.yaml":9:15
>
>  4: unknown parent type "tosca:WebApplication" in "WebApp"
>
>
> @"/home/centos/incubator-ariatosca/examples/hello-
> world/hello-world.yaml":12:19
>
> Failed to parse service template
>
> Also, the gettingstarted.md file in the website repository is using the
> wrong name for the hello-world blueprint.
> It's missing the hyphen. I'll add the issue tonight.
>
> I clone the master branch to try the hello-world example.
> To install ARIA, I executed: pip install apache-ariatosca[ssh]
>
> --
> Miguel Jimenez, PhD student
> Department of Computer Science
> University of Victoria
> Engineering/Computer Science Building (ECS), Room 412
> Victoria, BC
> V8W 3p6 Canada
>
> On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <tal@cloudify.co<mailto:tal@
> cloudify.co>> wrote:
>
> Tom, the specific problems we had were not with installation, but
> rather
> in
> running workflows. Have you tried to install the Hello World example?
>
> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tnadeauaria@gmail.com
> <ma...@gmail.com>>
> wrote:
>
>
>        I took an action during the grooming to verify the
> installation
> of
> the latest PIP artifacts.
> I was able to install successfully on Ubuntu 16.04 LTS just now.
>
>        —Tom
>
>
>
>
>
>
>

Re: ARIA-354 Verified

Posted by Tal Liron <ta...@cloudify.co>.
Vish, I'm pretty sure the version suffix is not required, because 0.1.1 is
the highest version.

On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman <
vishwanathj@hotmail.com> wrote:

>
> You need to execute
>
> pip install apache-ariatosca[ssh]==0.1.1
>
> Sent from my iPhone
>
> On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <
> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
>
> I executed: pip install apache-ariatosca[ssh]
> Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
> apache-ariatosca" instead?
>
>
> --
> Miguel Jimenez, PhD student
> Department of Computer Science
> University of Victoria
> Engineering/Computer Science Building (ECS), Room 412
> Victoria, BC
> V8W 3p6 Canada
>
> On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <tal@cloudify.co<mailto:tal@
> cloudify.co>> wrote:
>
> Miguel, how did you install ARIA?
>
> On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:
>
> I just installed ARIA on Centos 7 and I get the same error:
>
> Storing service template my-service-template...
>
> *AttributeError*: 'NoneType' object has no attribute '_get_properties'
>
>  File "/usr/lib/python2.7/site-packages/aria/parser/
> consumption/consumer.py",
> line 70, in consume
>
>    consumer.consume()
>
>  File "
> /usr/lib/python2.7/site-packages/aria/parser/consumption/validation.py",
> line 30, in consume
>
>    self.context.presentation.presenter._validate(self.context)
>
>  File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/presenter.py",
> line 65, in _validate
>
>    self.service_template._validate(context)
>
>  File "
> /usr/lib/python2.7/site-packages/aria/parser/
> presentation/presentation.py",
> line 193, in _validate
>
>    validate_known_fields(context, self)
>
>  File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/utils.py",
> line 110, in validate_known_fields
>
>    field.validate(presentation, context)
>
>  File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/fields.py",
> line 409, in validate
>
>    self.default_validate(presentation, context)
>
>  File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/fields.py",
> line 524, in default_validate
>
>    self.validate_value(value, context)
>
>  File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/fields.py",
> line 540, in validate_value
>
>    inner_value._validate(context)
>
>  File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/types.py",
> line 654, in _validate
>
>    self._get_capabilities(context)
>
>  File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
> 84,
> in __call__
>
>    return_value = self.func(*args, **kwargs)
>
>  File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/types.py",
> line 639, in _get_capabilities
>
>    return FrozenDict(get_inherited_capability_definitions(context,
> self))
>
>  File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/modeling/capabilities.py",
> line 90, in get_inherited_capability_definitions
>
>    merge_capability_definition_from_type(context, presentation,
> capability_definition)
>
>  File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/modeling/capabilities.py",
> line 170, in merge_capability_definition_from_type
>
>    type_property_defintions = the_type._get_properties(context)
>
> *Validation issues:*
>
>  0: 'NoneType' object has no attribute '_get_properties'
>
>     *AttributeError*: 'NoneType' object has no attribute
> '_get_properties'
>
>  4: unknown parent type "tosca:Root" in "WebServer"
>
>
> @"/home/centos/incubator-ariatosca/examples/hello-
> world/hello-world.yaml":6:19
>
>  4: "type" refers to an unknown capability type in "host":
> 'tosca:Container'
>
>
> @"/home/centos/incubator-ariatosca/examples/hello-
> world/hello-world.yaml":9:15
>
>  4: unknown parent type "tosca:WebApplication" in "WebApp"
>
>
> @"/home/centos/incubator-ariatosca/examples/hello-
> world/hello-world.yaml":12:19
>
> Failed to parse service template
>
> Also, the gettingstarted.md file in the website repository is using the
> wrong name for the hello-world blueprint.
> It's missing the hyphen. I'll add the issue tonight.
>
> I clone the master branch to try the hello-world example.
> To install ARIA, I executed: pip install apache-ariatosca[ssh]
>
> --
> Miguel Jimenez, PhD student
> Department of Computer Science
> University of Victoria
> Engineering/Computer Science Building (ECS), Room 412
> Victoria, BC
> V8W 3p6 Canada
>
> On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <tal@cloudify.co<mailto:tal@
> cloudify.co>> wrote:
>
> Tom, the specific problems we had were not with installation, but
> rather
> in
> running workflows. Have you tried to install the Hello World example?
>
> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tnadeauaria@gmail.com
> <ma...@gmail.com>>
> wrote:
>
>
>        I took an action during the grooming to verify the
> installation
> of
> the latest PIP artifacts.
> I was able to install successfully on Ubuntu 16.04 LTS just now.
>
>        —Tom
>
>
>
>
>
>
>

Re: ARIA-354 Verified

Posted by Vishwanath Jayaraman <vi...@hotmail.com>.
You need to execute

pip install apache-ariatosca[ssh]==0.1.1

Sent from my iPhone

On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte <mi...@rigiresearch.com>> wrote:

I executed: pip install apache-ariatosca[ssh]
Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
apache-ariatosca" instead?


--
Miguel Jimenez, PhD student
Department of Computer Science
University of Victoria
Engineering/Computer Science Building (ECS), Room 412
Victoria, BC
V8W 3p6 Canada

On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <ta...@cloudify.co>> wrote:

Miguel, how did you install ARIA?

On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
miguel@rigiresearch.com<ma...@rigiresearch.com>> wrote:

I just installed ARIA on Centos 7 and I get the same error:

Storing service template my-service-template...

*AttributeError*: 'NoneType' object has no attribute '_get_properties'

 File "/usr/lib/python2.7/site-packages/aria/parser/
consumption/consumer.py",
line 70, in consume

   consumer.consume()

 File "
/usr/lib/python2.7/site-packages/aria/parser/consumption/validation.py",
line 30, in consume

   self.context.presentation.presenter._validate(self.context)

 File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/
simple_v1_0/presenter.py",
line 65, in _validate

   self.service_template._validate(context)

 File "
/usr/lib/python2.7/site-packages/aria/parser/
presentation/presentation.py",
line 193, in _validate

   validate_known_fields(context, self)

 File "/usr/lib/python2.7/site-packages/aria/parser/
presentation/utils.py",
line 110, in validate_known_fields

   field.validate(presentation, context)

 File "/usr/lib/python2.7/site-packages/aria/parser/
presentation/fields.py",
line 409, in validate

   self.default_validate(presentation, context)

 File "/usr/lib/python2.7/site-packages/aria/parser/
presentation/fields.py",
line 524, in default_validate

   self.validate_value(value, context)

 File "/usr/lib/python2.7/site-packages/aria/parser/
presentation/fields.py",
line 540, in validate_value

   inner_value._validate(context)

 File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/
simple_v1_0/types.py",
line 654, in _validate

   self._get_capabilities(context)

 File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
84,
in __call__

   return_value = self.func(*args, **kwargs)

 File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/
simple_v1_0/types.py",
line 639, in _get_capabilities

   return FrozenDict(get_inherited_capability_definitions(context,
self))

 File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/
simple_v1_0/modeling/capabilities.py",
line 90, in get_inherited_capability_definitions

   merge_capability_definition_from_type(context, presentation,
capability_definition)

 File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/
simple_v1_0/modeling/capabilities.py",
line 170, in merge_capability_definition_from_type

   type_property_defintions = the_type._get_properties(context)

*Validation issues:*

 0: 'NoneType' object has no attribute '_get_properties'

    *AttributeError*: 'NoneType' object has no attribute
'_get_properties'

 4: unknown parent type "tosca:Root" in "WebServer"


@"/home/centos/incubator-ariatosca/examples/hello-
world/hello-world.yaml":6:19

 4: "type" refers to an unknown capability type in "host":
'tosca:Container'


@"/home/centos/incubator-ariatosca/examples/hello-
world/hello-world.yaml":9:15

 4: unknown parent type "tosca:WebApplication" in "WebApp"


@"/home/centos/incubator-ariatosca/examples/hello-
world/hello-world.yaml":12:19

Failed to parse service template

Also, the gettingstarted.md file in the website repository is using the
wrong name for the hello-world blueprint.
It's missing the hyphen. I'll add the issue tonight.

I clone the master branch to try the hello-world example.
To install ARIA, I executed: pip install apache-ariatosca[ssh]

--
Miguel Jimenez, PhD student
Department of Computer Science
University of Victoria
Engineering/Computer Science Building (ECS), Room 412
Victoria, BC
V8W 3p6 Canada

On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <ta...@cloudify.co>> wrote:

Tom, the specific problems we had were not with installation, but
rather
in
running workflows. Have you tried to install the Hello World example?

On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tn...@gmail.com>>
wrote:


       I took an action during the grooming to verify the
installation
of
the latest PIP artifacts.
I was able to install successfully on Ubuntu 16.04 LTS just now.

       —Tom







Re: ARIA-354 Verified

Posted by Miguel Angel Jimenez Achinte <mi...@rigiresearch.com>.
I executed: pip install apache-ariatosca[ssh]
Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary
apache-ariatosca" instead?


--
Miguel Jimenez, PhD student
Department of Computer Science
University of Victoria
Engineering/Computer Science Building (ECS), Room 412
Victoria, BC
V8W 3p6 Canada

On Mon, Nov 27, 2017 at 2:47 PM, Tal Liron <ta...@cloudify.co> wrote:

> Miguel, how did you install ARIA?
>
> On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
> miguel@rigiresearch.com> wrote:
>
> > I just installed ARIA on Centos 7 and I get the same error:
> >
> > Storing service template my-service-template...
> >
> > *AttributeError*: 'NoneType' object has no attribute '_get_properties'
> >
> >   File "/usr/lib/python2.7/site-packages/aria/parser/
> > consumption/consumer.py",
> > line 70, in consume
> >
> >     consumer.consume()
> >
> >   File "
> > /usr/lib/python2.7/site-packages/aria/parser/consumption/validation.py",
> > line 30, in consume
> >
> >     self.context.presentation.presenter._validate(self.context)
> >
> >   File "
> > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > simple_v1_0/presenter.py",
> > line 65, in _validate
> >
> >     self.service_template._validate(context)
> >
> >   File "
> > /usr/lib/python2.7/site-packages/aria/parser/
> > presentation/presentation.py",
> > line 193, in _validate
> >
> >     validate_known_fields(context, self)
> >
> >   File "/usr/lib/python2.7/site-packages/aria/parser/
> > presentation/utils.py",
> > line 110, in validate_known_fields
> >
> >     field.validate(presentation, context)
> >
> >   File "/usr/lib/python2.7/site-packages/aria/parser/
> > presentation/fields.py",
> > line 409, in validate
> >
> >     self.default_validate(presentation, context)
> >
> >   File "/usr/lib/python2.7/site-packages/aria/parser/
> > presentation/fields.py",
> > line 524, in default_validate
> >
> >     self.validate_value(value, context)
> >
> >   File "/usr/lib/python2.7/site-packages/aria/parser/
> > presentation/fields.py",
> > line 540, in validate_value
> >
> >     inner_value._validate(context)
> >
> >   File "
> > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > simple_v1_0/types.py",
> > line 654, in _validate
> >
> >     self._get_capabilities(context)
> >
> >   File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line
> 84,
> > in __call__
> >
> >     return_value = self.func(*args, **kwargs)
> >
> >   File "
> > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > simple_v1_0/types.py",
> > line 639, in _get_capabilities
> >
> >     return FrozenDict(get_inherited_capability_definitions(context,
> self))
> >
> >   File "
> > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > simple_v1_0/modeling/capabilities.py",
> > line 90, in get_inherited_capability_definitions
> >
> >     merge_capability_definition_from_type(context, presentation,
> > capability_definition)
> >
> >   File "
> > /usr/lib/python2.7/site-packages/aria_extension_tosca/
> > simple_v1_0/modeling/capabilities.py",
> > line 170, in merge_capability_definition_from_type
> >
> >     type_property_defintions = the_type._get_properties(context)
> >
> > *Validation issues:*
> >
> >   0: 'NoneType' object has no attribute '_get_properties'
> >
> >      *AttributeError*: 'NoneType' object has no attribute
> '_get_properties'
> >
> >   4: unknown parent type "tosca:Root" in "WebServer"
> >
> >
> > @"/home/centos/incubator-ariatosca/examples/hello-
> > world/hello-world.yaml":6:19
> >
> >   4: "type" refers to an unknown capability type in "host":
> > 'tosca:Container'
> >
> >
> > @"/home/centos/incubator-ariatosca/examples/hello-
> > world/hello-world.yaml":9:15
> >
> >   4: unknown parent type "tosca:WebApplication" in "WebApp"
> >
> >
> > @"/home/centos/incubator-ariatosca/examples/hello-
> > world/hello-world.yaml":12:19
> >
> > Failed to parse service template
> >
> > Also, the gettingstarted.md file in the website repository is using the
> > wrong name for the hello-world blueprint.
> > It's missing the hyphen. I'll add the issue tonight.
> >
> > I clone the master branch to try the hello-world example.
> > To install ARIA, I executed: pip install apache-ariatosca[ssh]
> >
> > --
> > Miguel Jimenez, PhD student
> > Department of Computer Science
> > University of Victoria
> > Engineering/Computer Science Building (ECS), Room 412
> > Victoria, BC
> > V8W 3p6 Canada
> >
> > On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <ta...@cloudify.co> wrote:
> >
> > > Tom, the specific problems we had were not with installation, but
> rather
> > in
> > > running workflows. Have you tried to install the Hello World example?
> > >
> > > On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tn...@gmail.com>
> > > wrote:
> > >
> > > >
> > > >         I took an action during the grooming to verify the
> installation
> > > of
> > > > the latest PIP artifacts.
> > > > I was able to install successfully on Ubuntu 16.04 LTS just now.
> > > >
> > > >         —Tom
> > > >
> > > >
> > > >
> > >
> >
>

Re: ARIA-354 Verified

Posted by Tal Liron <ta...@cloudify.co>.
Miguel, how did you install ARIA?

On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte <
miguel@rigiresearch.com> wrote:

> I just installed ARIA on Centos 7 and I get the same error:
>
> Storing service template my-service-template...
>
> *AttributeError*: 'NoneType' object has no attribute '_get_properties'
>
>   File "/usr/lib/python2.7/site-packages/aria/parser/
> consumption/consumer.py",
> line 70, in consume
>
>     consumer.consume()
>
>   File "
> /usr/lib/python2.7/site-packages/aria/parser/consumption/validation.py",
> line 30, in consume
>
>     self.context.presentation.presenter._validate(self.context)
>
>   File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/presenter.py",
> line 65, in _validate
>
>     self.service_template._validate(context)
>
>   File "
> /usr/lib/python2.7/site-packages/aria/parser/
> presentation/presentation.py",
> line 193, in _validate
>
>     validate_known_fields(context, self)
>
>   File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/utils.py",
> line 110, in validate_known_fields
>
>     field.validate(presentation, context)
>
>   File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/fields.py",
> line 409, in validate
>
>     self.default_validate(presentation, context)
>
>   File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/fields.py",
> line 524, in default_validate
>
>     self.validate_value(value, context)
>
>   File "/usr/lib/python2.7/site-packages/aria/parser/
> presentation/fields.py",
> line 540, in validate_value
>
>     inner_value._validate(context)
>
>   File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/types.py",
> line 654, in _validate
>
>     self._get_capabilities(context)
>
>   File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line 84,
> in __call__
>
>     return_value = self.func(*args, **kwargs)
>
>   File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/types.py",
> line 639, in _get_capabilities
>
>     return FrozenDict(get_inherited_capability_definitions(context, self))
>
>   File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/modeling/capabilities.py",
> line 90, in get_inherited_capability_definitions
>
>     merge_capability_definition_from_type(context, presentation,
> capability_definition)
>
>   File "
> /usr/lib/python2.7/site-packages/aria_extension_tosca/
> simple_v1_0/modeling/capabilities.py",
> line 170, in merge_capability_definition_from_type
>
>     type_property_defintions = the_type._get_properties(context)
>
> *Validation issues:*
>
>   0: 'NoneType' object has no attribute '_get_properties'
>
>      *AttributeError*: 'NoneType' object has no attribute '_get_properties'
>
>   4: unknown parent type "tosca:Root" in "WebServer"
>
>
> @"/home/centos/incubator-ariatosca/examples/hello-
> world/hello-world.yaml":6:19
>
>   4: "type" refers to an unknown capability type in "host":
> 'tosca:Container'
>
>
> @"/home/centos/incubator-ariatosca/examples/hello-
> world/hello-world.yaml":9:15
>
>   4: unknown parent type "tosca:WebApplication" in "WebApp"
>
>
> @"/home/centos/incubator-ariatosca/examples/hello-
> world/hello-world.yaml":12:19
>
> Failed to parse service template
>
> Also, the gettingstarted.md file in the website repository is using the
> wrong name for the hello-world blueprint.
> It's missing the hyphen. I'll add the issue tonight.
>
> I clone the master branch to try the hello-world example.
> To install ARIA, I executed: pip install apache-ariatosca[ssh]
>
> --
> Miguel Jimenez, PhD student
> Department of Computer Science
> University of Victoria
> Engineering/Computer Science Building (ECS), Room 412
> Victoria, BC
> V8W 3p6 Canada
>
> On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <ta...@cloudify.co> wrote:
>
> > Tom, the specific problems we had were not with installation, but rather
> in
> > running workflows. Have you tried to install the Hello World example?
> >
> > On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tn...@gmail.com>
> > wrote:
> >
> > >
> > >         I took an action during the grooming to verify the installation
> > of
> > > the latest PIP artifacts.
> > > I was able to install successfully on Ubuntu 16.04 LTS just now.
> > >
> > >         —Tom
> > >
> > >
> > >
> >
>

Re: ARIA-354 Verified

Posted by Miguel Angel Jimenez Achinte <mi...@rigiresearch.com>.
I just installed ARIA on Centos 7 and I get the same error:

Storing service template my-service-template...

*AttributeError*: 'NoneType' object has no attribute '_get_properties'

  File "/usr/lib/python2.7/site-packages/aria/parser/consumption/consumer.py",
line 70, in consume

    consumer.consume()

  File "
/usr/lib/python2.7/site-packages/aria/parser/consumption/validation.py",
line 30, in consume

    self.context.presentation.presenter._validate(self.context)

  File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/simple_v1_0/presenter.py",
line 65, in _validate

    self.service_template._validate(context)

  File "
/usr/lib/python2.7/site-packages/aria/parser/presentation/presentation.py",
line 193, in _validate

    validate_known_fields(context, self)

  File "/usr/lib/python2.7/site-packages/aria/parser/presentation/utils.py",
line 110, in validate_known_fields

    field.validate(presentation, context)

  File "/usr/lib/python2.7/site-packages/aria/parser/presentation/fields.py",
line 409, in validate

    self.default_validate(presentation, context)

  File "/usr/lib/python2.7/site-packages/aria/parser/presentation/fields.py",
line 524, in default_validate

    self.validate_value(value, context)

  File "/usr/lib/python2.7/site-packages/aria/parser/presentation/fields.py",
line 540, in validate_value

    inner_value._validate(context)

  File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/simple_v1_0/types.py",
line 654, in _validate

    self._get_capabilities(context)

  File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line 84,
in __call__

    return_value = self.func(*args, **kwargs)

  File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/simple_v1_0/types.py",
line 639, in _get_capabilities

    return FrozenDict(get_inherited_capability_definitions(context, self))

  File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/simple_v1_0/modeling/capabilities.py",
line 90, in get_inherited_capability_definitions

    merge_capability_definition_from_type(context, presentation,
capability_definition)

  File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/simple_v1_0/modeling/capabilities.py",
line 170, in merge_capability_definition_from_type

    type_property_defintions = the_type._get_properties(context)

*Validation issues:*

  0: 'NoneType' object has no attribute '_get_properties'

     *AttributeError*: 'NoneType' object has no attribute '_get_properties'

  4: unknown parent type "tosca:Root" in "WebServer"


@"/home/centos/incubator-ariatosca/examples/hello-world/hello-world.yaml":6:19

  4: "type" refers to an unknown capability type in "host":
'tosca:Container'


@"/home/centos/incubator-ariatosca/examples/hello-world/hello-world.yaml":9:15

  4: unknown parent type "tosca:WebApplication" in "WebApp"


@"/home/centos/incubator-ariatosca/examples/hello-world/hello-world.yaml":12:19

Failed to parse service template

Also, the gettingstarted.md file in the website repository is using the
wrong name for the hello-world blueprint.
It's missing the hyphen. I'll add the issue tonight.

I clone the master branch to try the hello-world example.
To install ARIA, I executed: pip install apache-ariatosca[ssh]

--
Miguel Jimenez, PhD student
Department of Computer Science
University of Victoria
Engineering/Computer Science Building (ECS), Room 412
Victoria, BC
V8W 3p6 Canada

On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <ta...@cloudify.co> wrote:

> Tom, the specific problems we had were not with installation, but rather in
> running workflows. Have you tried to install the Hello World example?
>
> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tn...@gmail.com>
> wrote:
>
> >
> >         I took an action during the grooming to verify the installation
> of
> > the latest PIP artifacts.
> > I was able to install successfully on Ubuntu 16.04 LTS just now.
> >
> >         —Tom
> >
> >
> >
>

Re: ARIA-354 Verified

Posted by Tal Liron <ta...@cloudify.co>.
Tom, the specific problems we had were not with installation, but rather in
running workflows. Have you tried to install the Hello World example?

On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <tn...@gmail.com>
wrote:

>
>         I took an action during the grooming to verify the installation of
> the latest PIP artifacts.
> I was able to install successfully on Ubuntu 16.04 LTS just now.
>
>         —Tom
>
>
>