Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 824EDE69D for ; Sun, 2 Dec 2012 17:47:52 +0000 (UTC) Received: (qmail 52464 invoked by uid 500); 2 Dec 2012 17:47:52 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 52366 invoked by uid 500); 2 Dec 2012 17:47:51 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 52338 invoked by uid 99); 2 Dec 2012 17:47:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Dec 2012 17:47:50 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of runseb@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Dec 2012 17:47:43 +0000 Received: by mail-we0-f175.google.com with SMTP id z53so736746wey.6 for ; Sun, 02 Dec 2012 09:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=paDpndVkkv7iq0tSQeI6v4UZN3g7OWti9UYCQeU5tKg=; b=rTkb6kjH6SEAxqu51Q3FMQa1tNtQQMfHm3UoR9dH7AxJ4W/vVLYWWuc2ZIAi0Lh4lf 3Y7OWfxZKHP30cC9i17BnM+Pqo+WZIjIgjpC67Yfo653JlsDaLDEKle8DVRKryVDF3xs uFwlZk+eERbw4fNFrBTTpJQ/UgmRidKbukbgKhDHRoO8OKhvTkdX9nREworFsfvLwVio THnmp8PeZMS7rnBPYYKLIkr1li3oEl9/6KGDcYSaBu9ywnu6/YdR1/LItEk0OGlCcVi8 CCxccB72QBZmUY21vM1BQRSuDJuZQw1vkFMn0laMQ/Ak5XCnQ/5YZwRZEdY0Om8K+iq/ GLEg== Received: by 10.180.84.101 with SMTP id x5mr5951408wiy.18.1354470443525; Sun, 02 Dec 2012 09:47:23 -0800 (PST) Received: from air.home (ARennes-756-1-55-194.w2-14.abo.wanadoo.fr. [2.14.30.194]) by mx.google.com with ESMTPS id b1sm8842491wix.11.2012.12.02.09.47.22 (version=SSLv3 cipher=OTHER); Sun, 02 Dec 2012 09:47:23 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: CloudMonkey - Connection refused From: Sebastien Goasguen In-Reply-To: Date: Sun, 2 Dec 2012 18:47:27 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <0BCCCE152323764BB7FD6AE6D7A1D90601004B435B22@BANPMAILBOX01.citrite.net> To: cloudstack-users@incubator.apache.org X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org Charles, can you check that your secret key and api key have been set = properly. I think you should use : set apikey (lowercase) (did the same mistake before) On Dec 2, 2012, at 6:08 PM, Charles Moulliard wrote: > I was not using the good IP address. Now I get : >=20 > mycloudmonkey>set host 192.168.56.1 > mycloudmonkey>list users > HTTP Error 401: Unauthorized >=20 >=20 > On Sun, Dec 2, 2012 at 9:24 AM, Rohit Yadav = wrote: >=20 >> The host is the mgmt server host ip. Remember in this way, = cloudmonkey is >> just another client for CloudStack, a client should never connect to = a >> hypervisor host to make CS api calls. >> Is 56.10 where your mgmt server is running? If yes, are those ports = (end >> points) accessible? >>=20 >> Regards. >> ________________________________________ >> From: Charles Moulliard [ch007m@gmail.com] >> Sent: Saturday, December 01, 2012 11:05 PM >> To: cloudstack-users@incubator.apache.org >> Subject: CloudMonkey - Connection refused >>=20 >> Hi, >>=20 >> When I run the following Cloudmonkeys commands, I get this error : >>=20 >> =F0=9F=90=B5 cloudmonkey> set host 192.168.56.10 >> =F0=9F=90=B5 cloudmonkey> set port 8080 >> =F0=9F=90=B5 cloudmonkey> set apiKey >>=20 >> = seDi4nzFfadLNmMbtXExs_9CwFMzAMXkdNiy5ttzY44KEV9ltpDryrmfT5NTUS3QMbBQ_PRS_3= M1_3R_e57QZQ >> =F0=9F=90=B5 cloudmonkey> set secretkey >>=20 >> = 5G6G0M5gFfSH4_XkeuLjHloeGiwflfWy95LK0M1GHmN0JiYnm5o9hbg8SukD3BUEcJO6YwL3Gd= 2pkmnnDlaJ5A >> =F0=9F=90=B5 cloudmonkey> set prompt mycloudmonkey> >>=20 >> mycloudmonkey>list users >> Connection Error: >>=20 >> Is the connection refused because something is not configured on the = mngt >> server ? >>=20 >> Regards, >>=20 >> -- >> Charles Moulliard >> Apache Committer / Sr. Enterprise Architect (RedHat) >> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com >>=20 >=20 >=20 >=20 > --=20 > Charles Moulliard > Apache Committer / Sr. Enterprise Architect (RedHat) > Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com