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 1995D18BAB for ; Mon, 24 Aug 2015 10:41:49 +0000 (UTC) Received: (qmail 42803 invoked by uid 500); 24 Aug 2015 10:41:49 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 42765 invoked by uid 500); 24 Aug 2015 10:41:49 -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 42753 invoked by uid 99); 24 Aug 2015 10:41:48 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2015 10:41:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 37E7B1AABEC for ; Mon, 24 Aug 2015 10:41:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.099 X-Spam-Level: X-Spam-Status: No, score=-0.099 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=cloudsoftcorp.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id vYALe4tSnPu6 for ; Mon, 24 Aug 2015 10:41:37 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 0B760506F7 for ; Mon, 24 Aug 2015 10:41:37 +0000 (UTC) Received: by wicja10 with SMTP id ja10so68081512wic.1 for ; Mon, 24 Aug 2015 03:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudsoftcorp.com; s=google; h=from:message-id:date:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=pJvx96LC9qF/NMQJfmYC7LairRiVV+J9j8yFnnkzJSU=; b=f1FWbXINIBSQ7KgDbhLOxlOyHC9BndCODK048ZH0HQqxKLpGXm+V8itM4qCs54QzSJ ypwanBB6ClG2nlOMg6GFVTiw1WsgDADACOvQuyoHaM9Z2+hcJa2A9c6EDbT6LPsx0gkQ V8FiduKIrNgb1lfL2FZl/IxC2ZV0e2jbDADFY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=pJvx96LC9qF/NMQJfmYC7LairRiVV+J9j8yFnnkzJSU=; b=k63iiKu9xJCCyRjSgdXSTlYny87rSJnjgLaAkSJJ+x5zVD2SBi9W/NuEc39rfJIfim nGO+nTqC2lhm5RllboGYEnPn4IkRdd7yFE7zXaYtQTseHRoCAjYD6XtNEBMYYLSQoTsD LX1B63uHhfa+4jsRb+y8GxYT7NDIczYa08g5axpOWAuaWNzNh62l7ncExFUraWd3ffQv Yh2vHdYP63tSpLG3raM5O22t5ymxmzezslbKMari38xKDr9N9YWSFuzFyZoN6rsIa3Py O+e3o54Q8p1fgU+qDlJ+ag6tdRh8GAWLx8J96C/U4bILCrwLm7115XH/gQoSnG0hPSAS l2yA== X-Gm-Message-State: ALoCoQnmX/S8++uOLXJHZMDpmVR+gyazroipZrSibcuu3lW6WLJAOd6VVyD+6wBsXNr/TwSjO5TJclxwmCe2HSWisujHdSokLlEnurdRicuJX+Dsns4lgowsZvi8nJVamFcF2cPs8VkXqeUsTUBH+5boj2N7DTRtCw== X-Received: by 10.194.185.146 with SMTP id fc18mr37947626wjc.46.1440412890204; Mon, 24 Aug 2015 03:41:30 -0700 (PDT) Received: from almacretin.local ([87.246.78.46]) by smtp.googlemail.com with ESMTPSA id fz16sm15563381wic.3.2015.08.24.03.41.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Aug 2015 03:41:29 -0700 (PDT) From: Alex Heneveld X-Google-Original-From: Alex Heneveld Message-ID: <55DAF4D8.6020504@CloudsoftCorp.com> Date: Mon, 24 Aug 2015 11:41:28 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: dev@brooklyn.incubator.apache.org Subject: Re: Unable to ssh to any node of Riak in a Riak Cluster using extraSshPublicKeyUrls References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Hi Anamika- The `provisioning.properties` block which authorizes your public key has to be applied to the node, not the cluster. Indent the last three lines and let us know how you get on. Best Alex On 24/08/2015 10:49, Anamika Roychowdhury wrote: > Hi Andrea, > > I feel there is no problem with alignment. > For a single Riak Node , I am able to ssh, but the problem comes when I am > trying to ssh to the node which is under Riak Cluster. > > The YAML that I am using for a Riak Cluster is following: > > name: Riak-Cluster > location: > jclouds:aws-ec2: > credential: zN7YwJ4hhH6d3lbr9koS7az1ZPOtK+hPaf8+EyTW > identity: AKIAIVI6M354IOE3GU3Q > region: us-west-2 > services: > - type: brooklyn.entity.nosql.riak.RiakCluster > initialSize: 2 > memberSpec: > $brooklyn:entitySpec: > type: brooklyn.entity.nosql.riak.RiakNode > provisioning.properties: > extraSshPublicKeyUrls: > https://s3-us-west-2.amazonaws.com/gowribudal/Brooklyn_Stable.pub > > Is this the way I should provide ssh key for the cluster? > > On Mon, Aug 24, 2015 at 2:41 PM, Andrea Turli < > andrea.turli@cloudsoftcorp.com> wrote: > >> Hi Anamika, >> >> your blueprint looks correct to me but for a weird indentation in the >> extraSshPublicKeyUrls >> >> could you please try something like >> >> name: Riak-Node >> location: >> jclouds:aws-ec2: >> credential: My-Credential >> identity: My-Identity >> region: region >> services: >> - type: brooklyn.entity.nosql.riak.RiakNode >> provisioning.properties: >> extraSshPublicKeyUrls: >> https://s3-us-west-2.amazonaws.com/MyLocation/My_Public_Key.pub >> >> Let us know if that helps, >> Andrea >> >> On Mon, 24 Aug 2015 at 06:33 Anamika Roychowdhury > wrote: >> >>> Hi Team, >>> >>> I have deployed a Riak cluster using the following YAML: >>> >>> name: Riak-Cluster >>> location: >>> jclouds:aws-ec2: >>> credential: My-Credential >>> identity: My-Identity >>> region: region >>> services: >>> - type: brooklyn.entity.nosql.riak.RiakCluster >>> initialSize: 2 >>> memberSpec: >>> $brooklyn:entitySpec: >>> type: brooklyn.entity.nosql.riak.RiakNode >>> provisioning.properties: >>> extraSshPublicKeyUrls: >>> - https://s3-us-west-2.amazonaws.com/MyLocation/My_Public_Key.pub >>> >>> I am not able to ssh to any of the node that has been created under the >>> Riak cluster using the private key (PORT 22 is open) >>> >>> But , While I have deployed a single Riak node using the following >>> blueprint, I am able to ssh to the instance: >>> >>> name: Riak-Node >>> location: >>> jclouds:aws-ec2: >>> credential: My-Credential >>> identity: My-Identity >>> region: region >>> services: >>> - type: brooklyn.entity.nosql.riak.RiakNode >>> provisioning.properties: >>> extraSshPublicKeyUrls: >>> https://s3-us-west-2.amazonaws.com/MyLocation/My_Public_Key.pub >>> >>> Can anybody please tell me on where I'm going wrong or how should I >>> provide extraSshPublicKeyUrls >>> for the cluster , so that I can ssh to the cluster instances. >>> >> -- >> Cloudsoft Corporation Limited, Registered in Scotland No: SC349230. >> Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP >> >> This e-mail message is confidential and for use by the addressee only. If >> the message is received by anyone other than the addressee, please return >> the message to the sender by replying to it and then delete the message >> from your computer. Internet e-mails are not necessarily secure. Cloudsoft >> Corporation Limited does not accept responsibility for changes made to this >> message after it was sent. >> >> Whilst all reasonable care has been taken to avoid the transmission of >> viruses, it is the responsibility of the recipient to ensure that the >> onward transmission, opening or use of this message and any attachments >> will not adversely affect its systems or data. No responsibility is >> accepted by Cloudsoft Corporation Limited in this regard and the recipient >> should carry out such virus and other checks as it considers appropriate. >> -- Cloudsoft Corporation Limited, Registered in Scotland No: SC349230. Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. Cloudsoft Corporation Limited does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by Cloudsoft Corporation Limited in this regard and the recipient should carry out such virus and other checks as it considers appropriate.