[
https://issues.apache.org/jira/browse/CLOUDSTACK-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650675#comment-13650675
]
Sudha Ponnaganti commented on CLOUDSTACK-2211:
----------------------------------------------
I see version is not set for the issue - set it to 4.2
> Error in deploysvr (No JSON object could be decoded)
> ----------------------------------------------------
>
> Key: CLOUDSTACK-2211
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2211
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Install and Setup
> Affects Versions: 4.2.0
> Environment: Mac OS X and Ubuntu 12.04, Python 2.7
> Reporter: Dharmesh Kakadia
> Labels: devcloud
> Fix For: 4.2.0
>
>
> I am setting up dev environment following :
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud
> but while running
> mvn -P developer -pl tools/devcloud -Ddeploysvr
> seeing this error
> Traceback (most recent call last):
> File "../marvin/marvin/deployDataCenter.py", line 469, in <module>
> deploy.deploy()
> File "../marvin/marvin/deployDataCenter.py", line 452, in deploy
> self.loadCfg()
> File "../marvin/marvin/deployDataCenter.py", line 409, in loadCfg
> apiKey, securityKey = self.registerApiKey()
> File "../marvin/marvin/deployDataCenter.py", line 349, in registerApiKey
> listuserRes = self.testClient.getApiClient().listUsers(listuser)
> File
> "/Users/GreatGod/cloudstack/cloudstack/tools/marvin/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 436, in listUsers
> response = self.connection.marvin_request(command,
> response_type=response, method=method)
> File
> "/Users/GreatGod/cloudstack/cloudstack/tools/marvin/marvin/cloudstackConnection.py",
> line 208, in marvin_request
> response = jsonHelper.getResultObj(response.json(), response_type)
> File "/Library/Python/2.7/site-packages/requests/models.py", line 638, in
> json
> return json.loads(self.text or self.content, **kwargs)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py",
> line 326, in loads
> return _default_decoder.decode(s)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py",
> line 360, in decode
> obj, end = self.raw_decode(s, idx=_w(s, 0).end())
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py",
> line 378, in raw_decode
> raise ValueError("No JSON object could be decoded")
> ValueError: No JSON object could be decoded
> I am using devcloud.cfg from the repo without any change.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira