Dharmesh Kakadia created CLOUDSTACK-2210:
--------------------------------------------
Summary: Error in deploysvr
Key: CLOUDSTACK-2210
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2210
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Install and Setup
Environment: Mac OS X and Ubuntu 12.04, Python 2.7
Reporter: Dharmesh Kakadia
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