Re: Trouble with deployDataCenter.py

2013-06-04 Thread Mike Tutkowski
Thanks, Prasanna! Just so that I know for future reference, do you think I just missed reading an e-mail that came out about this or was there some other way I should have detected this? Thanks again! On Mon, Jun 3, 2013 at 10:41 PM, Prasanna Santhanam wrote: > On Mon, Jun 03, 2013 at 01:10:2

Re: Trouble with deployDataCenter.py

2013-06-03 Thread Prasanna Santhanam
On Mon, Jun 03, 2013 at 01:10:20PM -0400, Will Stevens wrote: > Thanks Mike. Ya, I also did the same change locally and then did the > following to not track the hack in my branch. > > git update-index --assume-unchanged > tools/marvin/marvin/cloudstackConnection.py > > Thanks for submitting a p

Re: Trouble with deployDataCenter.py

2013-06-03 Thread Wei ZHOU
I just built the latest source code, and deployed on devcloud , everything is ok. -Wei 2013/6/3 Will Stevens > Has anyone else experience this? I just pulled in the master code into my > branch and now I am getting this in my dev environment. > > [DEBUG] Executing command line: python ../marv

Re: Trouble with deployDataCenter.py

2013-06-03 Thread Mike Tutkowski
Ah, OK. I tend to re-deploy daily. :) On Mon, Jun 3, 2013 at 11:19 AM, Will Stevens wrote: > I think a lot of people use DevCloud but they don't redeploy very often so > bugs like this don't get noticed. I use DevCloud all the time. > > > On Mon, Jun 3, 2013 at 1:07 PM, Mike Tutkowski < > mike

Re: Trouble with deployDataCenter.py

2013-06-03 Thread Will Stevens
I think a lot of people use DevCloud but they don't redeploy very often so bugs like this don't get noticed. I use DevCloud all the time. On Mon, Jun 3, 2013 at 1:07 PM, Mike Tutkowski wrote: > Surprisingly this has been like this for a long time. > > It kind of makes me wonder if anyone uses

Re: Trouble with deployDataCenter.py

2013-06-03 Thread Will Stevens
Thanks Mike. Ya, I also did the same change locally and then did the following to not track the hack in my branch. git update-index --assume-unchanged tools/marvin/marvin/cloudstackConnection.py Thanks for submitting a patch for that. Cheers, Will On Mon, Jun 3, 2013 at 1:05 PM, Mike Tutko

Re: Trouble with deployDataCenter.py

2013-06-03 Thread Mike Tutkowski
Surprisingly this has been like this for a long time. It kind of makes me wonder if anyone uses DevCloud. I use it all the time. If others were using it, I would have expected this to be corrected like a month or two ago. I am "alone" in using DevCloud? On Mon, Jun 3, 2013 at 11:05 AM, Mike Tut

Re: Trouble with deployDataCenter.py

2013-06-03 Thread Mike Tutkowski
In cloudstackConnection.py, I made the following change: -def marvin_request(self, cmd, response_type=None, method='GET'): +def marvin_request(self, cmd, response_type=None, method='GET', data=''): On Mon, Jun 3, 2013 at 11:03 AM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: >

Re: Trouble with deployDataCenter.py

2013-06-03 Thread Mike Tutkowski
I have fixed this in a patch I submitted last week. I'm not sure when it began, but I noticed it a long time ago and had just sent out an e-mail then and corrected it in my sandbox. Let me see if I can find what I did to fix it. On Mon, Jun 3, 2013 at 10:09 AM, Will Stevens wrote: > Has anyon

Re: Trouble with deployDataCenter.py

2013-06-03 Thread Will Stevens
Has anyone else experience this? I just pulled in the master code into my branch and now I am getting this in my dev environment. [DEBUG] Executing command line: python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg Traceback (most recent call last): File "../marvin/marvin/deployDataCente

Re: Trouble with deployDataCenter.py

2013-05-06 Thread Mike Tutkowski
It looks like the marvin_request method in cloudstackConnection.py does not have a parameter named 'data'. I changed the signature locally to the following and it works now: def marvin_request(self, cmd, response_type=None, method='GET', data=''): On Mon, May 6, 2013 at 2:59 PM, Mike Tutkowski

Re: Trouble with deployDataCenter.py

2013-05-06 Thread Mike Tutkowski
I don't have much Python experience, but it looks like we're trying to pass in a named parameter that doesn't exist on the receiving side. Perhaps I need to update a Python package? def listUsers(self, command, postdata={}): response = listUsersResponse() response = self.con

Trouble with deployDataCenter.py

2013-05-06 Thread Mike Tutkowski
Hi, I just updated to the latest today and ran deployDataCenter.py to build a DevCloud2 environment. The script is having trouble. Any thoughts on this? Has this worked recently for anyone else? Thanks! mtutkowski-LT:devcloud mtutkowski$ python ../marvin/marvin/deployDataCenter.py -i devcloud.c