cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Goasguen <run...@gmail.com>
Subject Re: issue with devcloud on 4.3
Date Fri, 01 Aug 2014 14:43:38 GMT
Will,

you might want to try:

https://github.com/imduffy15/GSoC-2014

I find it more reliable and transparent than devcloud.

On Jul 31, 2014, at 2:06 PM, Will Stevens <wstevens@cloudops.com> wrote:

> I am trying to use devcloud to deploy my xenserver (I do this all the
> time).  I am getting this same issue with the 4.3 branch.  I am only
> running one management server though.  Seb, did you change anything else to
> get this working?
> 
> On my server I am seeing the following:
> 
> [c.c.a.ApiServer] (1577211684@qtp-2141586529-0:ctx-f4c0925b ctx-d359475e)
> User signature: /4oTXI4bf/08rcwXMFRzjxIUhSE= is not equaled to computed
> signature: nwAfc2oiJMXEw3a+ZeB5IUYebrQ=
> In my vmops.log file I have the following:
> 
> 2014-07-31 13:55:12,301 DEBUG [c.c.a.ApiServlet]
> (1577211684@qtp-2141586529-0:ctx-f4c0925b) ===START===  172.16.254.5 -- GET
> localstorageenabled=true&apiKey=aY95GUE5WstroERiG7-ZSckobEiFSu7jSAL3fck4OaR-dKD4kgDE6kClMPaIa13rXAnD6qfHmqO4B6k74iZpJw&typeInfo=localstorageenabled&typeInfo=domain&typeInfo=domainid&typeInfo=name&typeInfo=guestcidraddress&typeInfo=dns2&typeInfo=dns1&typeInfo=allocationstate&typeInfo=securitygroupenabled&typeInfo=ip6dns2&typeInfo=ip6dns1&typeInfo=networktype&typeInfo=internaldns1&typeInfo=internaldns2&name=dev_zone&guestcidraddress=10.1.1.0%2F24&dns1=8.8.8.8&internaldns1=172.16.254.2&command=createZone&signature=%2F4oTXI4bf%2F08rcwXMFRzjxIUhSE%3D&networktype=Advanced&response=json
> 2014-07-31 13:55:12,328 INFO  [c.c.a.ApiServer]
> (1577211684@qtp-2141586529-0:ctx-f4c0925b
> ctx-d359475e) User signature: /4oTXI4bf/08rcwXMFRzjxIUhSE= is not equaled
> to computed signature: nwAfc2oiJMXEw3a+ZeB5IUYebrQ=
> 2014-07-31 13:55:12,336 DEBUG [c.c.a.ApiServlet]
> (1577211684@qtp-2141586529-0:ctx-f4c0925b ctx-d359475e) ===END===
> 172.16.254.5 -- GET
> localstorageenabled=true&apiKey=aY95GUE5WstroERiG7-ZSckobEiFSu7jSAL3fck4OaR-dKD4kgDE6kClMPaIa13rXAnD6qfHmqO4B6k74iZpJw&typeInfo=localstorageenabled&typeInfo=domain&typeInfo=domainid&typeInfo=name&typeInfo=guestcidraddress&typeInfo=dns2&typeInfo=dns1&typeInfo=allocationstate&typeInfo=securitygroupenabled&typeInfo=ip6dns2&typeInfo=ip6dns1&typeInfo=networktype&typeInfo=internaldns1&typeInfo=internaldns2&name=dev_zone&guestcidraddress=10.1.1.0%2F24&dns1=8.8.8.8&internaldns1=172.16.254.2&command=createZone&signature=%2F4oTXI4bf%2F08rcwXMFRzjxIUhSE%3D&networktype=Advanced&response=json
> 
> Any ideas why this is happening?  I have the 8096 setup in the CS config
> (which is what devcloud is configured to use)...
> 
> Cheers,
> 
> Will
> 
> 
> 
> 
> 
> 
> 
> *Will STEVENS*
> Lead Developer
> 
> *CloudOps* *| *Cloud Solutions Experts
> 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> w cloudops.com *|* tw @CloudOps_
> 
> 
> On Wed, Jan 15, 2014 at 8:52 AM, sebgoa <runseb@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


Mime
View raw message