cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Goasguen <run...@gmail.com>
Subject Re: CloudMonkey - Connection refused
Date Sun, 02 Dec 2012 17:47:27 GMT
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 <ch007m@gmail.com> wrote:

> I was not using the good IP address. Now I get :
> 
> mycloudmonkey>set host 192.168.56.1
> mycloudmonkey>list users
> HTTP Error 401: Unauthorized
> 
> 
> On Sun, Dec 2, 2012 at 9:24 AM, Rohit Yadav <rohit.yadav@citrix.com> wrote:
> 
>> 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?
>> 
>> 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
>> 
>> Hi,
>> 
>> When I run the following Cloudmonkeys commands, I get this error :
>> 
>> 🐵 cloudmonkey> set host 192.168.56.10
>> 🐵 cloudmonkey> set port 8080
>> 🐵 cloudmonkey> set apiKey
>> 
>> seDi4nzFfadLNmMbtXExs_9CwFMzAMXkdNiy5ttzY44KEV9ltpDryrmfT5NTUS3QMbBQ_PRS_3M1_3R_e57QZQ
>> 🐵 cloudmonkey> set secretkey
>> 
>> 5G6G0M5gFfSH4_XkeuLjHloeGiwflfWy95LK0M1GHmN0JiYnm5o9hbg8SukD3BUEcJO6YwL3Gd2pkmnnDlaJ5A
>> 🐵 cloudmonkey> set prompt mycloudmonkey>
>> 
>> mycloudmonkey>list users
>> Connection Error: <urlopen error [Errno 111] Connection refused>
>> 
>> Is the connection refused because something is not configured on the mngt
>> server ?
>> 
>> Regards,
>> 
>> --
>> Charles Moulliard
>> Apache Committer / Sr. Enterprise Architect (RedHat)
>> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
>> 
> 
> 
> 
> -- 
> Charles Moulliard
> Apache Committer / Sr. Enterprise Architect (RedHat)
> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com


Mime
View raw message