Hi Fang
I have similar problems.
If I follow the instruction on the web site.
To compile Apache CloudStack, go to the cloudstack source folder and run:
mvn -P developer clean install
To deploy Apache CloudStack, run:
mvn -P developer -pl developer,tools/devcloud -Ddeploydb
Deploy the database next:
mvn -P developer -pl tools/devcloud -Ddeploysvr <------I will fail on
this one
It since that cloudstack/tools/marvin/marvin/cloudstackConnection.py will
try to connection to testing environment which doesn't exist
[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
"/Users/howie_yu/workspace/eclipse_workspace/juno_cloudstack/cloudstack/too
ls/marvin/marvin/cloudstackAPI/cloudstackAPIClient.py", line 358, in
listUsers
response = self.connection.make_request(command, response)
File
"/Users/howie_yu/workspace/eclipse_workspace/juno_cloudstack/cloudstack/too
ls/marvin/marvin/cloudstackConnection.py", line 177, in make_request
result = self.make_request_without_auth(commandName, requests)
File
"/Users/howie_yu/workspace/eclipse_workspace/juno_cloudstack/cloudstack/too
ls/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/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/li
b/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File
"/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/li
b/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File
"/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/li
b/python2.7/urllib2.py", line 418, in _open
'_open', req)
File
"/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/li
b/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File
"/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/li
b/python2.7/urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File
"/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/li
b/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 61] Connection refused>
On 12/12/5 上午9:21, "Fang Wang" <[email protected]> wrote:
>Hi all,
>
>Does any one have the similar problem? I am building the latest master
>branch on Windows platform
>(with Cygwin), and build failed with the errors:
>
>[INFO] Apache CloudStack Developer Tools: marvin ......... FAILURE
>[0.158s]
>[INFO] Apache CloudStack Developer Tools: cloudmonkey cli SKIPPED
>[INFO]
>------------------------------------------------------------------------
>[INFO] BUILD FAILURE
>[INFO]
>------------------------------------------------------------------------
>[INFO] Total time: 10:28.807s
>[INFO] Finished at: Tue Dec 04 17:16:54 PST 2012
>[INFO] Final Memory: 34M/145M
>[INFO]
>------------------------------------------------------------------------
>[ERROR] Failed to execute goal
>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on project
>cloud-marvin: Command execution failed. Cannot run program "python" (in
>directory "C:\src\asf-acl\incubator-cloudstack\tools\marvin\marvin"):
>CreateProcess error=2, The system cannot find the file specified -> [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
>[ERROR]
>[ERROR] After correcting the problems, you can resume the build with the
>command
>[ERROR] mvn <goals> -rf :cloud-marvin
>
>I'll follow the hint the rerun maven with the -X switch. But would like
>to check if anyone else has some experience.
>
>Thanks,
>-Fang
>
>
<table class="TM_EMAIL_NOTICE"><tr><td><pre>
TREND MICRO EMAIL NOTICE
The information contained in this email and any attachments is confidential
and may be subject to copyright or other intellectual property protection.
If you are not the intended recipient, you are not authorized to use or
disclose this information, and we request that you notify us by reply mail or
telephone and delete the original message from your mail system.
</pre></td></tr></table>