Indeed. Typo error.

cloudmonkey
☁ Apache CloudStack 🐵 cloudmonkey 4.0.0. Type help or ? to list commands.

🐵 cloudmonkey> set host 192.168.56.1
🐵 cloudmonkey> set port 8080
🐵 cloudmonkey> set apikey
CNWDL7rktnqHGa23b3nZPoK6eiN4b4yDN1DSRrrE3exv15ttbl07IZ1bfPl7qRI-FsbZDvcNw2wrdPFyZvNwHw
🐵 cloudmonkey> set secretkey
qyUYOathK81_lE_55t9Ijnc6Td6y0ssFaVY3cIuyhqlzG4MJDzRgcKl766gMfGqwXAXvmdAjPN-CzD6JGRiSeA
🐵 cloudmonkey> set prompt mycloudmonkey>
mycloudmonkey>list users
count = 1
user:
====
username = admin
account = admin
domainid = af84ff7e-7060-459b-bc98-af2621b0070c
firstname = Admin
created = 2012-12-03T09:30:22+0100
lastname = User
domain = ROOT
email = ad...@mailprovider.com
secretkey =
qyUYOathK81_lE_55t9Ijnc6Td6y0ssFaVY3cIuyhqlzG4MJDzRgcKl766gMfGqwXAXvmdAjPN-CzD6JGRiSeA
state = enabled
apikey =
CNWDL7rktnqHGa23b3nZPoK6eiN4b4yDN1DSRrrE3exv15ttbl07IZ1bfPl7qRI-FsbZDvcNw2wrdPFyZvNwHw
accounttype = 1
id = 927ee869-a635-4f03-9f72-be0430492877
accountid = 424a51da-8b78-4723-b3a3-1f62b35b9483


On Sun, Dec 2, 2012 at 7:26 PM, Rohit Yadav <rohit.ya...@citrix.com> wrote:

> set api and secret keys, read this so you understand how to use it:
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI
>
> ________________________________________
> From: Charles Moulliard [ch0...@gmail.com]
> Sent: Sunday, December 02, 2012 10:38 PM
> To: cloudstack-users@incubator.apache.org
> Subject: Re: CloudMonkey - Connection refused
>
> 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.ya...@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 [ch0...@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
>



-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Reply via email to