I like the instructions here better:

http://www.cloudstack-china.org/wp-content/uploads/downloads/2012/12/cloudstack-inthebox-devcloud.pdf


On Wed, Apr 10, 2013 at 4:05 PM, Soheil Eizadi <seiz...@infoblox.com> wrote:

> I pulled the top of trunk today and had this same issue.
> $ git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
>
>
> I followed the instruction here to build:
> http://cloudstack.apache.org/develop/environment.html
>
>
> I am new to CloudStack if there is a more stable branch I should be
> working on please let me know.
> -Soheil
>
> Log:
> Administrators-MacBook-Pro-7:cloudstack seizadi$ mvn -P developer -pl
> tools/devcloud -Ddeploysvr
> Listening for transport dt_socket at address: 8787
> [INFO] Scanning for projects...
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack DevCloud 4.2.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 470, in <module>
>     deploy.deploy()
>   File "../marvin/marvin/deployDataCenter.py", line 453, in deploy
>     self.loadCfg()
>   File "../marvin/marvin/deployDataCenter.py", line 409, in loadCfg
>     apiKey, securityKey = self.registerApiKey()
>   File "../marvin/marvin/deployDataCenter.py", line 349, in registerApiKey
>     listuserRes = self.testClient.getApiClient().listUsers(listuser)
>   File
> "/Users/seizadi/cloudstack/cloudstack/tools/marvin/marvin/cloudstackAPI/clo
> udstackAPIClient.py", line 426, in listUsers
>     response = self.connection.make_request(command, response)
>   File
> "/Users/seizadi/cloudstack/cloudstack/tools/marvin/marvin/cloudstackConnect
> ion.py", line 176, in make_request
>     result = self.make_request_without_auth(commandName, requests)
>   File
> "/Users/seizadi/cloudstack/cloudstack/tools/marvin/marvin/cloudstackConnect
> ion.py", line 107, in make_request_without_auth
>     self.connection = urllib2.urlopen("%s://%s:%d%s?%s"%(self.protocol,
> self.mgtSvr, self.port, self.path, requestUrl))
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/url
> lib2.py", line 126, in urlopen
>     return _opener.open(url, data, timeout)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/url
> lib2.py", line 394, in open
>     response = self._open(req, data)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/url
> lib2.py", line 412, in _open
>     '_open', req)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/url
> lib2.py", line 372, in _call_chain
>     result = func(*args)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/url
> lib2.py", line 1199, in http_open
>     return self.do_open(httplib.HTTPConnection, req)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/url
> lib2.py", line 1174, in do_open
>     raise URLError(err)
> urllib2.URLError: <urlopen error [Errno 61] Connection refused>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 8.427s
> [INFO] Finished at: Wed Apr 10 12:21:26 PDT 2013
> [INFO] Final Memory: 21M/81M
> [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
>
>
>
>
>
> On 4/9/13 12:21 PM, "Mike Tutkowski" <mike.tutkow...@solidfire.com> wrote:
>
> >My mistake...once I updated my remote repo to
> >https://git-wip-us.apache.org/repos/asf/cloudstack.git and
> fetched/merged,
> >DevCloud2 worked again.
> >
> >
> >On Tue, Apr 9, 2013 at 12:20 PM, Mike Tutkowski <
> >mike.tutkow...@solidfire.com> wrote:
> >
> >> Hi,
> >>
> >> Any thoughts on this?
> >>
> >> I'm trying to set up DevCloud2 by running deployDataCenter (below) and
> >>get
> >> a HTTP 530 back.
> >>
> >> I even re-installed the DevCloud2 appliance to be sure there wasn't
> >> something weird going on with its current state.
> >>
> >> This works for me on 4.1.
> >>
> >> Thanks!
> >>
> >> mtutkowski-LT:incubator-cloudstack mtutkowski$ cd tools/devcloud ;
> >>python
> >> ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
> >> Traceback (most recent call last):
> >>   File "../marvin/marvin/deployDataCenter.py", line 455, in <module>
> >>     deploy.deploy()
> >>   File "../marvin/marvin/deployDataCenter.py", line 440, in deploy
> >>     self.createZones(self.config.zones)
> >>   File "../marvin/marvin/deployDataCenter.py", line 312, in createZones
> >>     self.createpods(zone.pods, zoneId, networkid)
> >>   File "../marvin/marvin/deployDataCenter.py", line 109, in createpods
> >>     self.createClusters(pod.clusters, zoneId, podId)
> >>   File "../marvin/marvin/deployDataCenter.py", line 73, in
> >>createClusters
> >>     cluster.hypervisor)
> >>   File "../marvin/marvin/deployDataCenter.py", line 53, in addHosts
> >>     self.apiClient.addHost(hostcmd)
> >>   File
> >>
> >>"/Users/mtutkowski/Documents/CloudStack/src/incubator-cloudstack/tools/ma
> >>rvin/marvin/cloudstackAPI/cloudstackAPIClient.py",
> >> line 1189, in addHost
> >>     response = self.connection.make_request(command, response)
> >>   File
> >>
> >>"/Users/mtutkowski/Documents/CloudStack/src/incubator-cloudstack/tools/ma
> >>rvin/marvin/cloudstackConnection.py",
> >> line 174, in make_request
> >>     result = self.make_request_with_auth(commandName, requests)
> >>   File
> >>
> >>"/Users/mtutkowski/Documents/CloudStack/src/incubator-cloudstack/tools/ma
> >>rvin/marvin/cloudstackConnection.py",
> >> line 88, in make_request_with_auth
> >>     raise e
> >> urllib2.HTTPError: HTTP Error 530: 530
> >>
> >> --
> >> *Mike Tutkowski*
> >> *Senior CloudStack Developer, SolidFire Inc.*
> >> e: mike.tutkow...@solidfire.com
> >> o: 303.746.7302
> >> Advancing the way the world uses the
> >>cloud<http://solidfire.com/solution/overview/?video=play>
> >> * *
> >>
> >
> >
> >
> >--
> >*Mike Tutkowski*
> >*Senior CloudStack Developer, SolidFire Inc.*
> >e: mike.tutkow...@solidfire.com
> >o: 303.746.7302
> >Advancing the way the world uses the
> >cloud<http://solidfire.com/solution/overview/?video=play>
> >* *
>
>


-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Reply via email to