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