cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Stevens <>
Subject Re: Error running Ddeploysvr
Date Tue, 23 Apr 2013 17:39:15 GMT
Thanks for responding Prasanna.  Because I am working on CentOs, python2.6
is the default python install.  I have python2.7 installed, but I have to
access it with python2.7 instead of python.  I believe there are actually
problems with CentOs if I change the 'python' command to point to python2.7
(so I have been told, but I will try it).

Is it possible to run this marvin.sync command from the command line
specifying the version of python to use?



ps - this fails right now because python2.6 is my default:

[root@cs4-devcloud incubator-cloudstack]# mvn -Pdeveloper,marvin.sync
-Dendpoint=localhost -pl :cloud-marvin
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...

[INFO] Building Apache CloudStack marvin 4.2.0-SNAPSHOT
[INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin
Traceback (most recent call last):
  File "", line 412, in <module>
  File "", line 366, in generateCodeFromJSON
    apiStream = urllib2.urlopen(endpointUrl)
  File "/usr/lib64/python2.6/", line 126, in urlopen
    return, data, timeout)
  File "/usr/lib64/python2.6/", line 391, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.6/", line 409, in _open
    '_open', req)
  File "/usr/lib64/python2.6/", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.6/", line 1190, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.6/", line 1165, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>
[INFO] Total time: 3.432s
[INFO] Finished at: Tue Apr 23 13:34:31 EDT 2013
[INFO] Final Memory: 13M/32M
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (generate-sources) on
project cloud-marvin: Command execution failed. Process exited with an
error: 1 (Exit value: 1) -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]

On Tue, Apr 23, 2013 at 1:16 PM, Prasanna Santhanam <> wrote:

> On Tue, Apr 23, 2013 at 10:40:58PM +0530, Prasanna Santhanam wrote:
> > You will need to update marvin since I changed the
> > cloudstackConnection class last week to get POST requests to work.
> >
> > When you startup the server using jetty:run you can do a marvin.sync
> > as follows:
> >
> >
> typo:
> $ sudo mvn -Pdeveloper,marvin.sync -Dendpoint=localhost -pl :cloud-marvin
> * marvin.sync
> ------------------------
> Powered by

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message