You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Wei Zhou (JIRA)" <ji...@apache.org> on 2013/04/26 16:06:20 UTC

[jira] [Commented] (CLOUDSTACK-2211) Error in deploysvr

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642867#comment-13642867 ] 

Wei Zhou commented on CLOUDSTACK-2211:
--------------------------------------

I meet this issue before.
I run this command before, and Ctrl+C to break it. When I run the command again, I will get this error message.
It is not an real issue of cloudstack.
try reboot devcloud, or restore to original (you'd better take a snapshot when before using devcloud)
                
> Error in deploysvr 
> -------------------
>
>                 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
>         Environment: Mac OS X and Ubuntu 12.04, Python 2.7
>            Reporter: Dharmesh Kakadia
>              Labels: devcloud
>
> 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