Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A1231042C for ; Mon, 22 Apr 2013 11:09:41 +0000 (UTC) Received: (qmail 47802 invoked by uid 500); 22 Apr 2013 11:09:41 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 47687 invoked by uid 500); 22 Apr 2013 11:09:40 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 47664 invoked by uid 500); 22 Apr 2013 11:09:40 -0000 Delivered-To: apmail-incubator-cloudstack-dev@incubator.apache.org Received: (qmail 47644 invoked by uid 99); 22 Apr 2013 11:09:39 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Apr 2013 11:09:39 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 81FDA1C2C74; Mon, 22 Apr 2013 11:09:36 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7851817404570510849==" MIME-Version: 1.0 Subject: Review Request: fix the sting formatting error in cloudConnection.py From: "SrikanteswaraRao Talluri" To: "Prasanna Santhanam" Cc: "cloudstack" , "SrikanteswaraRao Talluri" Date: Mon, 22 Apr 2013 11:09:36 -0000 Message-ID: <20130422110936.22503.14148@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "SrikanteswaraRao Talluri" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/10702/ X-Sender: "SrikanteswaraRao Talluri" Reply-To: "SrikanteswaraRao Talluri" --===============7851817404570510849== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/10702/ ----------------------------------------------------------- Review request for cloudstack and Prasanna Santhanam. Description ------- fix the sting formatting error in cloudConnection.py error seen: Traceback (most recent call last): File "/usr/local/bin/nosetests-2.7", line 9, in load_entry_point('nose=3D=3D1.2.1', 'console_scripts', 'nosetests-2.7')= () File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/co= re.py", line 118, in __init__ **extra_args) File "/usr/local/lib/python2.7/unittest/main.py", line 94, in __init__ self.parseArgs(argv) File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/co= re.py", line 135, in parseArgs self.config.configure(argv, doc=3Dself.usage()) File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/co= nfig.py", line 338, in configure self.plugins.configure(options, self) File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/pl= ugins/manager.py", line 284, in configure cfg(options, config) File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/pl= ugins/manager.py", line 99, in __call__ return self.call(*arg, **kw) File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/pl= ugins/manager.py", line 167, in simple result =3D meth(*arg, **kw) File "/usr/local/lib/python2.7/site-packages/marvin_nose-0.1.0-py2.7.egg/= marvinPlugin.py", line 42, in configure deploy.loadCfg() if options.load else deploy.deploy() File "/usr/local/lib/python2.7/site-packages/marvin/deployDataCenter.py",= line 452, in deploy self.loadCfg() File "/usr/local/lib/python2.7/site-packages/marvin/deployDataCenter.py",= line 409, in loadCfg apiKey, securityKey =3D self.registerApiKey() File "/usr/local/lib/python2.7/site-packages/marvin/deployDataCenter.py",= line 349, in registerApiKey listuserRes =3D self.testClient.getApiClient().listUsers(listuser) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudst= ackAPIClient.py", line 436, in listUsers response =3D self.connection.marvin_request(command, data=3Dpostdata, r= esponse_type=3Dresponse) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.= py", line 212, in marvin_request cmdname, auth=3DFalse, payload=3Dpayload, data=3Ddata) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.= py", line 141, in request (self.baseurl, c)) TypeError: not all arguments converted during string formatting = This addresses bug CLOUDSTACK-2135. Diffs ----- tools/marvin/marvin/cloudstackConnection.py 14b12e7 = Diff: https://reviews.apache.org/r/10702/diff/ Testing ------- tested Thanks, SrikanteswaraRao Talluri --===============7851817404570510849==--