You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ariatosca.apache.org by "Przemyslaw Wyszkowski (JIRA)" <ji...@apache.org> on 2017/12/11 11:03:00 UTC

[jira] [Commented] (ARIA-321) Create a Clearwater example (for single existing node)

    [ https://issues.apache.org/jira/browse/ARIA-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16285762#comment-16285762 ] 

Przemyslaw Wyszkowski commented on ARIA-321:
--------------------------------------------

Hello [~emblemparade],

I am trying to run the Clearwater example using Aria version 0.1.1 - is it supposed to run on this version?
Here is the error I am getting:
{code}
$ aria service-templates store clearwater-single-existing.yaml cw
Storing service template cw...
Validation issues:
  4: capability definition changes type from "tosca.capabilities.Container" to "clearwater.Container" in "clearwater.HostBase"
     @"/home/pimol/temp/aria-tosca/incubator-ariatosca/examples/clearwater/types/clearwater.yaml":687:9
  4: capability definition changes type from "tosca.capabilities.Container" to "clearwater.Container" in "clearwater.Host"
     @"/home/pimol/temp/aria-tosca/incubator-ariatosca/examples/clearwater/types/clearwater.yaml":714:9
  4: assignment to undefined property "reduce_cassandra_mem_usage" in "host"
     @"/home/pimol/temp/aria-tosca/incubator-ariatosca/examples/clearwater/clearwater-single-existing.yaml":115:11
  4: assignment to undefined property "hostname" in "host"
     @"/home/pimol/temp/aria-tosca/incubator-ariatosca/examples/clearwater/clearwater-single-existing.yaml":116:23
  4: assignment to undefined property "ssh.user" in "host"
     @"/home/pimol/temp/aria-tosca/incubator-ariatosca/examples/clearwater/clearwater-single-existing.yaml":117:23
  4: assignment to undefined property "ssh.password" in "host"
     @"/home/pimol/temp/aria-tosca/incubator-ariatosca/examples/clearwater/clearwater-single-existing.yaml":118:27
  4: assignment to undefined property "max_log_directory_size" in "host"
     @"/home/pimol/temp/aria-tosca/incubator-ariatosca/examples/clearwater/clearwater-single-existing.yaml":119:37
Failed to parse service template
{code}
I am running this command from the /home/pimol/temp/aria-tosca/incubator-ariatosca/examples/clearwater folder. I've tried to set the ARIA_WORKDIR=`pwd` as well, but it doesn't help either. I am very new to Aria and TOSCA in general - perhaps there is something simple and stupid I am missing here?

Just to clarify - the reason I am using 0.1.1 and not the latest master code is that it fails completely just by trying to run the basic "aria" CLI:
{code}
$ aria
Traceback (most recent call last):
  File "/usr/local/bin/aria", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/home/pimol/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3036, in <module>
    @_call_aside
  File "/home/pimol/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3020, in _call_aside
    f(*args, **kwargs)
  File "/home/pimol/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3049, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/pimol/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 656, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/home/pimol/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 669, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/home/pimol/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 854, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'ruamel.yaml<0.16,>=0.15' distribution was not found and is required by apache-ariatosca
{code}

> Create a Clearwater example (for single existing node)
> ------------------------------------------------------
>
>                 Key: ARIA-321
>                 URL: https://issues.apache.org/jira/browse/ARIA-321
>             Project: AriaTosca
>          Issue Type: Story
>            Reporter: Ran Ziv
>            Assignee: Tal Liron
>             Fix For: 0.2.0
>
>
> Create an NFV use-case example for the Clearwater IMS



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)