Ahmad Emneina created CLOUDSTACK-717:
----------------------------------------
Summary: cloudmonkey fails to parse/print response
Key: CLOUDSTACK-717
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-717
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Cloudmonkey
Affects Versions: 4.0.0
Environment: Running locally on an OS X machine 10.6
Python 2.6
Reporter: Ahmad Emneina
Fix For: 4.0.1
The simian seems to be bailing on printing the response it gets from a
deployvm. here is the relevant cloudmonkey log line:
2012-12-28 13:48:09,385 - cloudstackConnection.py:81 - [INFO] got response:
{
"queryasyncjobresultresponse": {
"accountid": "b5e7e4be-8306-4edb-be0d-7b4b35e88ae4",
"userid": "9b703ae8-d002-4e30-b07f-59d5d9800e8d",
"cmd": "com.cloud.api.commands.DeployVMCmd",
"jobstatus": 1,
"jobprocstatus": 0,
"jobresultcode": 0,
"jobresulttype": "object",
"jobresult": {
"virtualmachine": {
"id": "1e57c4b4-420a-4013-abef-721487ca85c6",
"name": "1e57c4b4-420a-4013-abef-721487ca85c6",
"displayname": "1e57c4b4-420a-4013-abef-721487ca85c6",
"account": "admin",
"domainid": "0276336a-e0ed-451b-9351-b675461e93e0",
"domain": "ROOT",
"created": "2012-12-28T13:47:52-0800",
"state": "Running",
"haenable": false,
"zoneid": "8d0c49a6-679b-4652-aadb-d94eb5885f50",
"zonename": "Santa Clara Zone",
"hostid": "a7266cef-a8f8-4c0f-bf8c-12161d2a0685",
"hostname": "xenserver-340-2",
"templateid": "059eed9a-aa1c-49f6-9556-f9c28850bdfd",
"templatename": "CentOS 6.3 - 64bit (pwen)",
"templatedisplaytext": "CentOS-64bit (pwen)",
"passwordenabled": true,
"serviceofferingid": "c4f1c73e-7d1a-4b73-b477-bc2e936d7fbd",
"serviceofferingname": "Large compute",
"cpunumber": 2,
"cpuspeed": 2000,
"memory": 4096,
"guestosid": "f1a43619-88c0-4100-a9c8-274de10f8c45",
"rootdeviceid": 0,
"rootdevicetype": "NetworkFilesystem",
"securitygroup": [],
"password": "**MASKING**",
"nic": [
{
"id": "8c8e1858-7771-4857-8759-bae28b3cd301",
"networkid": "945fc2df-497c-450b-91b2-7f4993edcd0b",
"netmask": "255.255.255.0",
"gateway": "10.1.1.1",
"ipaddress": "10.1.1.16",
"isolationuri": "vlan://1181",
"broadcasturi": "vlan://1181",
"traffictype": "Guest",
"type": "Isolated",
"isdefault": true,
"macaddress": "02:00:23:4e:00:11"
}
],
"hypervisor": "XenServer",
"instancename": "i-2-13596-Demo5",
"tags": []
}
},
"created": "2012-12-28T13:47:52-0800",
"jobid": "aa7cd763-e8fc-4d5d-9ff3-d323c55a9109"
}
}
The deploy succeeds, but in the cli I get:
🙈 Error on parsing and printing 'deployvirtualmachineresponse'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira