Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 12712200CA4 for ; Wed, 7 Jun 2017 10:53:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1106F160BD0; Wed, 7 Jun 2017 08:53:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3085D160BB6 for ; Wed, 7 Jun 2017 10:53:44 +0200 (CEST) Received: (qmail 25955 invoked by uid 500); 7 Jun 2017 08:53:43 -0000 Mailing-List: contact dev-help@ariatosca.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ariatosca.incubator.apache.org Delivered-To: mailing list dev@ariatosca.incubator.apache.org Received: (qmail 25914 invoked by uid 99); 7 Jun 2017 08:53:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2017 08:53:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 69797D0126 for ; Wed, 7 Jun 2017 08:53:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.88 X-Spam-Level: * X-Spam-Status: No, score=1.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gigaspaces.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id gMGSDroa1mdF for ; Wed, 7 Jun 2017 08:53:38 +0000 (UTC) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 1D17E5F30B for ; Wed, 7 Jun 2017 08:53:38 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id s3so2856926oia.0 for ; Wed, 07 Jun 2017 01:53:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gigaspaces.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=8sPw6caR15Vn70KjBBo6ZB+oWXouz4kEomRcd76RJsg=; b=bk9mcftpJXWYHkgrYnLhjkxD0UaI9BtJ3h0ZmZ8OELHRW33uGic/PTTrpN/UjhjTKs Y/jZJ84eutIxKI1sheugaeaEkUTn53/b72WmVBnT4dLvXk6I5EGpwj/7NUmEttE9VU0d GNrUIGuHnCXI9JyTYU4DkRtIwLSDhQDE0Wq4QwWxCWkoa3sRUJ2TqRuDV6UrRQHzTjRt MfTEYBPAl+udfSXXapQQEJikR8hUNIPk72xMegkfxm6vFM4cpZzDcftkndwkEKrz4n21 aQp6UczLVOjgkmRRSd9hry73tYNQ0ZnZxkhGRnEt11kwXqpNJHQF0iplwvmlEO9Z7wfR espw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=8sPw6caR15Vn70KjBBo6ZB+oWXouz4kEomRcd76RJsg=; b=GbhhPxEOeV5JRZ1gkX6MHixrpQZ+FeqJN2re4/olSitPMaQoGWt2AtAmWpC3exXOOT 4APUVXdvjR49ncgd7bmMGVZviDCFLv28Rlw2k3BkTx7KdlbLtyHERxZiIfw+MV+L/cje AltVGO9swUegjpG2Ld2ovRKcRAtD0fTsTvlYgt1wsZBiI/sTCsMINzdFDn6CWO5QRawE M4MxTd0U8T76jzsEJ//x15OIcbKciukU12pglTXqli8kJh4m3S3lW6Tv4q9ME2mitvew eWxmf25CTXsEf13Ih5qHrWUfq2ZtarLhwrLz21WogvBM7bmPVSe9hQRdtluq+cG7o7l8 s7+g== X-Gm-Message-State: AODbwcA214tMelfUCOWhQpDpSX0h26GLt+w9Oof6dG54BHOxwxHp9N4x 323kh4uA7pp97WzabXsA/8xMgJLsgXmb X-Received: by 10.202.81.134 with SMTP id f128mr4110224oib.152.1496825616560; Wed, 07 Jun 2017 01:53:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.13.136 with HTTP; Wed, 7 Jun 2017 01:53:35 -0700 (PDT) In-Reply-To: References: From: Ran Ziv Date: Wed, 7 Jun 2017 11:53:35 +0300 Message-ID: Subject: Re: How can I use aria CLI options correctly? To: dev@ariatosca.incubator.apache.org Content-Type: multipart/alternative; boundary="001a113d7f542a8f5605515adfbd" archived-at: Wed, 07 Jun 2017 08:53:45 -0000 --001a113d7f542a8f5605515adfbd Content-Type: text/plain; charset="UTF-8" Hi Dave, Unfortunately, the README is currently much outddated. That is why the "aria parse" command raises an invalid command error. We're working on updating the quick start guide, and hopefully it'll be up to date early next week, although that too isn't going to provide a full documentation at this time to ARIA but rather only an introduction. In the meanwhile however, we'll be glad to help over on this mailing list. The "parse" command indeed no longer exists; Similar functionality can be found under "aria service-templates show", but first one has to use "aria service-templates store", like so: *aria service-templates store node-cellar.yaml nodecellar* *aria service-templates show nodecellar -f* To actually run workflows etc., you'd have to first create a service for a given service-template, e.g.: *aria service-templates store examples/hello-world/helloworld.yaml hello* *aria services create hello-service -t hello* *aria executions start install -s hello-service* hope this helps. Ran On Wed, Jun 7, 2017 at 4:59 AM, Chen, Wei D wrote: > Dear developers, > > I am currently learning ARIA, and try to follow the quickstack guide from > this post (https://github.com/apache/incubator-ariatosca), but I am lost > there since the CLI option mentioned in the guide is supported yet. > > It said the below command can create a service instance, but seems like > "parse" is not a valid option. > - aria parse blueprints/tosca/node-cellar/node-cellar.yaml > > This is help manual I can see: > $ aria -h > Usage: aria [OPTIONS] COMMAND [ARGS]... > > ARIA's Command Line Interface > > To activate bash-completion. Run: eval "$(_ARIA_COMPLETE=source aria)" > > ARIA's working directory resides by default in ~/.aria. To change it, set > the environment variable ARIA_WORKDIR to something else (e.g. /tmp/). > > Options: > -v, --verbose Show verbose output. You can supply this up to three times > (i.e. -vvv) > --version Display the version and exit > -h, --help Show this message and exit. > > Commands: > executions Handle workflow executions > logs Show logs from workflow executions > node-templates Handle a service template's node templates > nodes Handle a service's nodes > plugins Handle plugins > reset Reset ARIA's working directory > service-templates Handle service templates on the manager > services Handle services > workflows Handle service workflows > > There is no "parse" option list there. I have also tried the installation > via 'pip' with version 0.1, and this is what I can see: > $ aria node-cellar.yaml > Validation issues: > 0: location: aria-1.0 > ReaderNotFoundError: location: aria-1.0 > > > So, what the error here means? How can I fix it? > > This is how the imports defined in the "node-cellar.yaml" from the code > base. > imports: > - types/openstack.yaml > - types/nodejs.yaml > - types/mongodb.yaml > - types/nginx.yaml > - aria-1.0 > > Thank you very much! > > Best Regards, > Dave Chen > > > > > > --001a113d7f542a8f5605515adfbd--