scratch that, my fault, I was running two mgt servers.

No issue


On Jan 15, 2014, at 2:52 PM, sebgoa <run...@gmail.com> wrote:

> When using Edison new image and running the mgt server on my localhost, I 
> face an issue with deploying the DC with marvin:
> 
> $ python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
> Traceback (most recent call last):
>  File "../marvin/marvin/deployDataCenter.py", line 572, in <module>
>    deploy.deploy()
>  File "../marvin/marvin/deployDataCenter.py", line 556, in deploy
>    self.createZones(self.config.zones)
>  File "../marvin/marvin/deployDataCenter.py", line 385, in createZones
>    zoneresponse = self.apiClient.createZone(createzone)
>  File 
> "/Users/sebgoa/Documents/gitforks/cloudstack/tools/marvin/marvin/cloudstackAPI/cloudstackAPIClient.py",
>  line 1296, in createZone
>    response = self.connection.marvinRequest(command, response_type=response, 
> method=method)
>  File 
> "/Users/sebgoa/Documents/gitforks/cloudstack/tools/marvin/marvin/cloudstackConnection.py",
>  line 272, in marvinRequest
>    response = jsonHelper.getResultObj(response.json(), response_type)
>  File 
> "/Users/sebgoa/Documents/gitforks/cloudstack/tools/marvin/marvin/jsonHelper.py",
>  line 148, in getResultObj
>    raise cloudstackException.cloudstackAPIException(respname, errMsg)
> cloudstackException.cloudstackAPIException: Execute cmd: createzone failed, 
> due to: errorCode: 401, errorText:unable to verify user credentials and/or 
> request signature
> 
> 
> I built and deploy the db with:
> 
>    mvn -Pdeveloper,systemvm clean install
>    mvn -P developer -pl developer,tools/devcloud -Ddeploydb
> 
> run the mgt server with:
> 
>    mvn -pl client jetty:run
> 
> I am using devcloud as an hypervisor as opposed to running the mgt server 
> directly in devcloud.
> 
> Cloudmonkey works fine so it's not a problem with the api server. The 
> deploydatacenter script worked with the simulator.
> 
> 
> 
> -Sebastien

Reply via email to