cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <daan.hoogl...@gmail.com>
Subject devcloud script deployDataCentre.py not working
Date Wed, 07 May 2014 19:32:34 GMT
I am setting up a test env on my laptop using devcloud2 v4.3. I am
running the ms v4.4 in eclipse and the db on my laptop. I get the
following error:

daan:~/cloudstack-4.4/cloudstack (4.4)> python
tools/marvin/marvin/deployDataCenter.py -i
tools/devcloud/devcloud-advanced.cfg
Traceback (most recent call last):
  File "tools/marvin/marvin/deployDataCenter.py", line 579, in <module>
    deploy.deploy()
  File "tools/marvin/marvin/deployDataCenter.py", line 561, in deploy
    self.loadCfg()
  File "tools/marvin/marvin/deployDataCenter.py", line 523, in loadCfg
    mgtDetails.apiKey, mgtDetails.securityKey = self.registerApiKey()
  File "tools/marvin/marvin/deployDataCenter.py", line 492, in registerApiKey
    listuserRes = self.testClient.getApiClient().listUsers(listuser)
  File "/Users/daan/cloudstack-4.4/cloudstack/tools/marvin/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 600, in listUsers
    response = self.connection.marvinRequest(command,
response_type=response, method=method)
  File "/Users/daan/cloudstack-4.4/cloudstack/tools/marvin/marvin/cloudstackConnection.py",
line 266, in marvinRequest
    method=method)
  File "/Users/daan/cloudstack-4.4/cloudstack/tools/marvin/marvin/cloudstackConnection.py",
line 196, in request
    raise c
requests.exceptions.ConnectionError:
HTTPConnectionPool(host='192.168.56.10', port=8096): Max retries
exceeded with url:
/client/api?account=admin&command=listUsers&response=json (Caused by
<class 'socket.error'>: [Errno 61] Connection refused)

telnet port 8091 locally on my laptop works and from the devcloud to
my laptop as well but the port is not opened on the dev. So it makes
sense that the connection is refused. Not that it is opened. I set the
'host' config item to the virtualbox gateway address, 192.168.56.1.
That didn't help. I don't see what config I should change.

What should I change? Where didn't I look?

-- 
Daan

Mime
View raw message