Re: [cloudmonkey] username / password support

2013-10-17 Thread Rohit Yadav
gt; >Rohit Yadav > >Sent: Wednesday, October 16, 2013 10:50 AM > >To: d...@cloudstack.apache.org > >Cc: users@cloudstack.apache.org > >Subject: Re: [cloudmonkey] username / password support > > > >I never intended to have support for password as I thought peo

Re: [cloudmonkey] username / password support

2013-10-16 Thread Chiradeep Vittal
[mailto:rohityada...@gmail.com] On Behalf Of >Rohit Yadav >Sent: Wednesday, October 16, 2013 10:50 AM >To: d...@cloudstack.apache.org >Cc: users@cloudstack.apache.org >Subject: Re: [cloudmonkey] username / password support > >I never intended to have support for password as I thought p

RE: [cloudmonkey] username / password support

2013-10-16 Thread Chiradeep Vittal
g used etc), that's probably a separate patch. -Original Message- From: rohityada...@gmail.com [mailto:rohityada...@gmail.com] On Behalf Of Rohit Yadav Sent: Wednesday, October 16, 2013 10:50 AM To: d...@cloudstack.apache.org Cc: users@cloudstack.apache.org Subject: Re: [cloudmonkey] user

Re: [cloudmonkey] username / password support

2013-10-16 Thread Rohit Yadav
I never intended to have support for password as I thought people will end up using and storing plain text username/password, keys (specific for cloudmonkey) are revokable :) Maybe we can use usernames/password initially to create keys or maybe let users decided what they want. If this could be ref

Re: [cloudmonkey] username / password support

2013-10-16 Thread Chiradeep Vittal
You can leave that blank. That is just the way the generic config manager works. If you leave out apikey and secret key too it will complain. On 10/15/13 9:58 PM, "Prasanna Santhanam" wrote: >I prefer requests too. May be we can later switch over all of >cloudmonkey to use requests just like mar

Re: [cloudmonkey] username / password support

2013-10-15 Thread Prasanna Santhanam
I prefer requests too. May be we can later switch over all of cloudmonkey to use requests just like marvin. I tested out the changes with a user account and everything works fine. But startup of cloudmonkey seems to force one to put in the username, passwd in cloudmonkey/config. On Wed, Oct 16, 20

Re: [cloudmonkey] username / password support

2013-10-15 Thread Chiradeep Vittal
Sorry, urllib2 and cookiejar looked just too painful. On 10/15/13 9:26 PM, "Prasanna Santhanam" wrote: > >I fixed this temporarily by adding the requests as a dependency. But >may be we could do the login using urllib2 itself to avoid the >requests dependency. > >+1 to username,password login. I

Re: [cloudmonkey] username / password support

2013-10-15 Thread Chiradeep Vittal
Aha, thanks. Can you 'pip install requests' ? On 10/15/13 8:38 PM, "Ryan Lei" wrote: >I was unable to run cloudmonkey after applying your update. >My commands were: > >$ git checkout username_password_support >$ git pull >$ python setup.py build >$ python setup.py install >$ cloudmonkey > >The

Re: [cloudmonkey] username / password support

2013-10-15 Thread Prasanna Santhanam
I fixed this temporarily by adding the requests as a dependency. But may be we could do the login using urllib2 itself to avoid the requests dependency. +1 to username,password login. I need to add that to marvin too. On Wed, Oct 16, 2013 at 11:38:40AM +0800, Ryan Lei wrote: > I was unable to ru

Re: [cloudmonkey] username / password support

2013-10-15 Thread Ryan Lei
I was unable to run cloudmonkey after applying your update. My commands were: $ git checkout username_password_support $ git pull $ python setup.py build $ python setup.py install $ cloudmonkey Then I got this import error: Import error in cloudmonkey.requester : No module named requests Switchi