I think it's one of the common errors, when you are deploying a basic zone 
(which is being done by this command), make sure your mgmt server is running.
This command calls marvin's deployDataCenter.py and gives it devcloud.cfg from 
tools/devcloud to deploy a basic zone.

Regards.

On 18-Dec-2012, at 9:04 AM, James Martin <jmar...@basho.com> wrote:

> Looks like the last stage of the /opt/cloudstack/buildcloudstack.sh
> script is failing in the devcloud creation environment:
> 
> /opt/cloudstack/apache-maven-3.0.4/bin/mvn -P developer -pl
> tools/devcloud -Ddeploysvr
> 
> 
> [INFO] Building Apache CloudStack Developer Tools 4.1.0-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @
> cloud-devcloud ---
> [INFO]
> [INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor)
> @ cloud-devcloud ---
> [INFO]
> [INFO] --- exec-maven-plugin:1.2.1:exec (default) @ cloud-devcloud ---
> Traceback (most recent call last):
>  File "../marvin/marvin/deployDataCenter.py", line 435, in <module>
>    deploy.deploy()
>  File "../marvin/marvin/deployDataCenter.py", line 418, in deploy
>    self.loadCfg()
>  File "../marvin/marvin/deployDataCenter.py", line 394, in loadCfg
>    apiKey, securityKey = self.registerApiKey()
>  File "../marvin/marvin/deployDataCenter.py", line 334, in registerApiKey
>    listuserRes = self.testClient.getApiClient().listUsers(listuser)
>  File 
> "/opt/cloudstack/incubator-cloudstack/tools/marvin/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 360, in listUsers
>    response = self.connection.make_request(command, response)
>  File 
> "/opt/cloudstack/incubator-cloudstack/tools/marvin/marvin/cloudstackConnection.py",
> line 177, in make_request
>    result = self.make_request_without_auth(commandName, requests)
>  File 
> "/opt/cloudstack/incubator-cloudstack/tools/marvin/marvin/cloudstackConnection.py",
> line 108, in make_request_without_auth
>    self.connection =
> urllib2.urlopen("%s://%s:%d%s?%s"%(self.protocol, self.mgtSvr,
> self.port, self.path, requestUrl))
>  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
>    return _opener.open(url, data, timeout)
>  File "/usr/lib/python2.7/urllib2.py", line 400, in open
>    response = self._open(req, data)
>  File "/usr/lib/python2.7/urllib2.py", line 418, in _open
>    '_open', req)
>  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
>    result = func(*args)
>  File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
>    return self.do_open(httplib.HTTPConnection, req)
>  File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
>    raise URLError(err)
> urllib2.URLError: <urlopen error [Errno 111] Connection refused>
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 2.688s
> [INFO] Finished at: Tue Dec 18 14:26:48 UTC 2012
> [INFO] Final Memory: 12M/29M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default) on project
> cloud-devcloud: Command execution failed. Process exited with an
> error: 1 (Exit value: 1) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> 
> 
> - James

Reply via email to