Return-Path: X-Original-To: apmail-brooklyn-dev-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8351417446 for ; Mon, 31 Aug 2015 06:08:02 +0000 (UTC) Received: (qmail 2569 invoked by uid 500); 31 Aug 2015 06:08:02 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 2531 invoked by uid 500); 31 Aug 2015 06:08:02 -0000 Mailing-List: contact dev-help@brooklyn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.incubator.apache.org Delivered-To: mailing list dev@brooklyn.incubator.apache.org Received: (qmail 2519 invoked by uid 99); 31 Aug 2015 06:08:01 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2015 06:08:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 58F17C0BE6 for ; Mon, 31 Aug 2015 06:08:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.381 X-Spam-Level: *** X-Spam-Status: No, score=3.381 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, KAM_LOTSOFHASH=0.25, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 42vcnqjYqbXh for ; Mon, 31 Aug 2015 06:07:51 +0000 (UTC) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com [209.85.217.170]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 397DA2142E for ; Mon, 31 Aug 2015 06:07:51 +0000 (UTC) Received: by lbbsx3 with SMTP id sx3so54632913lbb.0 for ; Sun, 30 Aug 2015 23:02:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ztbpvYIgap2/DTM5IBCWcX78I2WggLOY2Wgac9+6NcI=; b=XBZLBwFomzbY2wnkhsjq5ytjfxYIcUSgYzMfEoHUdJ72gog+mRD9YJr3nVHoEr85n+ 54stQ9+33Px7JEp0tTScIIJV1GEkm2j04vt6kqcNsqxfolV0CC0Q17qu68ho23dPbPpH LAxSkBIZUmur8QmySLdoz0pdjgn6Is4OgM2clflUQQYZ7/ZRHNL+MZsziH4RRJpon+yG BCp4JBDUoXs/e7cAqBxwRDav8RPvX3EfKGseNyj66jYRqdl1tugmbNxcxrTqP6pR3DZ6 xpaeF0PNevQxTLHbD3oFgBZsVG5TgWyc7r8Q11eGfmG9RC8DWWbUopYDia1AhgbHlGuk MrFg== X-Received: by 10.112.163.102 with SMTP id yh6mr9515490lbb.54.1441000963624; Sun, 30 Aug 2015 23:02:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.96.132 with HTTP; Sun, 30 Aug 2015 23:02:24 -0700 (PDT) In-Reply-To: References: From: Gowri LN Date: Mon, 31 Aug 2015 11:32:24 +0530 Message-ID: Subject: Re: Yaml blueprint for openstack - HP Cloud To: dev@brooklyn.incubator.apache.org Content-Type: multipart/alternative; boundary=089e011832968ed334051e952ef8 --089e011832968ed334051e952ef8 Content-Type: text/plain; charset=UTF-8 Hi , I found this link and I added > brooklyn.location.jclouds.hpcloud-compute.identity = projectname:username > brooklyn.location.jclouds.hpcloud-compute.credential = password in Brooklyn.properties. Now, I am getting the following error Error invoking start at EmptySoftwareProcessImpl{id=DnL6EWl6}: Not authorized to access cloud JcloudsLocation[hpcloud-compute:My project name:username/hpcloud-compute@qyl5eK6d] to resolve PortableTemplateBuilder[ports=[22], imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$ImageChooserFromOrdering@b1821e, minRam=2048]: org.jclouds.rest.AuthorizationException: POST https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens HTTP/1.1 -> HTTP/1.1 401 Unauthorized What am I missing here ? And also,How can I specify a region through yaml ? Is it in same way as for AWS ? Can anyone help me with this? Thanks, Gowri On Mon, Aug 31, 2015 at 9:47 AM, Gowri LN wrote: > Hi All, > > I was trying to launch a simple yaml on HP Public cloud. Following is my > blueprint: > > name: simple-vm > location: > jclouds:hpcloud-compute > identity:ID > credential:MY Secret key > services: > - type: brooklyn.entity.basic.EmptySoftwareProcess > name: VM > > I got ID and Secret key values from Manage keys section of my HP Public > Cloud account. But I got the following error > > Illegal parameter for 'location' (jclouds:hpcloud-compute identity:...... > credential:...............); not resolvable: > java.util.NoSuchElementException: Cloud provider/API type hpcloud-compute > identity is not supported by jclouds > > > Also, [1] suggests that I need to provide tenant name:username for > identity . > What is tenant name in HP Cloud? Is it domain Id or project name ? > > > Is HP's Helion (public /private ) cloud supported by Brooklyn ? If > yes,then > can anyone please suggest sample yaml ( mainly location details ) ? > > Link [2] doesnot list Hp public cloud as supported . > > > > [1] : > https://github.com/apache/incubator-brooklyn/blob/2aac052fbde38b566f5d70efa0d241b0488c98f4/docs/guide/start/brooklyn.properties > > [2] > https://github.com/apache/incubator-brooklyn/blob/9595ddc943fa9cb00f86a20e030cffd07bded69b/docs/guide/yaml/setting-locations.md > > Thanks, > Gowri > --089e011832968ed334051e952ef8--