Il 02/07/2015 11:55, Sebastien Goasguen ha scritto:
Marcus in cc wrote devcloud-kvm a while back,

he might be able to help.
Thank you.

I found the log of the command:

   2015-07-02 03:55:46,424 - DEBUG - Parsing Test data successful
   2015-07-02 03:55:46,424 - DEBUG - Payload: {'account': 'admin',
   'command': 'listUsers', 'response': 'json'}
   2015-07-02 03:55:46,424 - DEBUG - ========Sending GET Cmd :
   listUsers=======
   2015-07-02 03:55:46,434 - ERROR - __sendGetReqToCS : Exception
   Occurred: ('Connection aborted.', error(111, 'Connection refused'))
   Traceback (most recent call last):
      File
   
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
   line 189, in __sendGetReqToCS
        verify=self.httpsFlag)
      File
   
"/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/api.py",
   line 69, in get
        return request('get', url, params=params, **kwargs)
      File
   
"/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/api.py",
   line 50, in request
        response = session.request(method=method, url=url, **kwargs)
      File
   
"/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/sessions.py",
   line 465, in request
        resp = self.send(prep, **send_kwargs)
      File
   
"/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/sessions.py",
   line 573, in send
        r = adapter.send(request, **kwargs)
      File
   
"/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/adapters.py",
   line 415, in send
        raise ConnectionError(err, request=request)
   ConnectionError: ('Connection aborted.', error(111, 'Connection
   refused'))
   2015-07-02 03:55:46,435 - ERROR - marvinRequest : CmdName:
   <marvin.cloudstackAPI.listUsers.listUsersCmd object at 0x1dcdd50>
   Exception: ['Traceback (most recent call last):\n', '  File
   
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
   line 364, in marvinRequest\n    raise self.__lastError\n',
   "ConnectionError: ('Connection aborted.', error(111, 'Connection
   refused'))\n"]
   Traceback (most recent call last):
      File
   
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
   line 364, in marvinRequest
        raise self.__lastError
   ConnectionError: ('Connection aborted.', error(111, 'Connection
   refused'))
   2015-07-02 03:55:46,436 - ERROR -  Exception Occurred Under
   __createApiClient: ['Traceback (most recent call last):\n', ' File
   
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackTestClient.py",
   line 144, in __createApiClient\n    list_user_res =
   self.__apiClient.listUsers(list_user)\n', '  File
   
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackAPI/cloudstackAPIClient.py",
   line 594, in listUsers\n    response =
   self.connection.marvinRequest(command, response_type=response,
   method=method)\n', '  File
   
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
   line 379, in marvinRequest\n    raise e\n', "ConnectionError:
   ('Connection aborted.', error(111, 'Connection refused'))\n"]
   Traceback (most recent call last):
      File
   
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackTestClient.py",
   line 144, in __createApiClient
        list_user_res = self.__apiClient.listUsers(list_user)
      File
   
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackAPI/cloudstackAPIClient.py",
   line 594, in listUsers
        response = self.connection.marvinRequest(command,
   response_type=response, method=method)
      File
   
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
   line 379, in marvinRequest
        raise e
   ConnectionError: ('Connection aborted.', error(111, 'Connection
   refused'))
   2015-07-02 03:55:46,436 - ERROR - ==== Test Client Creation Failed ====

I'm not sure to understand, it seems to try an API call, but the management server is up and running (I can see the login screen). Maybe there's some other service not started?

Thanks again,
Fabio

Reply via email to