[ https://issues.apache.org/jira/browse/CLOUDSTACK-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691720#comment-13691720 ]
David Nalley commented on CLOUDSTACK-308: ----------------------------------------- Can this be fixed in 4.1.1 as well? > ec2-describe-instances - Instance type is always retuned as "m1.small" > ---------------------------------------------------------------------- > > Key: CLOUDSTACK-308 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-308 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: AWSAPI > Affects Versions: pre-4.0.0 > Environment: [root@vmwasfmgmt management]# cloud-sccs > Git Revision: 66daa1a2bc6e86adea265a8a0b8b512756c8f77c > Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git > Reporter: Sangeetha Hariharan > Assignee: Likitha Shetty > Fix For: 4.2.0 > > > ec2-describe-instances - Instance type is always retuned as "m1.small" > Using ec2 API call , Deploy a VM using instance-type as "m1.large" > Once instance is deployed , describe this instance using > ec2-describe-instances. > Instance type is always retuned as "m1.small" > [root@Host41-4 bin]# ./ec2-run-instances 6c7d0b07-9f04-4abd-8069-a4208870218e > --instance-type m1.large --connection-timeout 300 --request-timeout 00 > RESERVATION 84b79c96-93b1-474d-bf24-1a3f3b8e171d:hello > default > INSTANCE ac7703ca-68bc-437f-a687-45f7e0af7158 > 6c7d0b07-9f04-4abd-8069-a4208870218e running > m1.large 2012-10-09T22:39:39-0700 ZONE-RHEL-ASF > monitoring- 10.223.59.59 > XenServer > TAG instance ac7703ca-68bc-437f-a687-45f7e0af7158 > [root@Host41-4 bin]# ./ec2-describe-instances > ac7703ca-68bc-437f-a687-45f7e0af7158 > RESERVATION ac7703ca-68bc-437f-a687-45f7e0af7158 > 84b79c96-93b1-474d-bf24-1a3f3b8e171d:hello default > INSTANCE ac7703ca-68bc-437f-a687-45f7e0af7158 > 6c7d0b07-9f04-4abd-8069-a4208870218e running > m1.small 2012-10-09T22:39:39-0700 ZONE-RHEL-ASF > monitoring- 10.223.59.59 > XenServer > TAG instance ac7703ca-68bc-437f-a687-45f7e0af7158 > aws-api.logs: > 2012-10-09 22:47:08,829 DEBUG [auth.ec2.AuthenticationHandler] > (catalina-exec-int-3:null) X509 cert's uniqueId: EMAILADDRESS=ca, CN=ca, > OU=ca, O=ca, L=ca, ST=ca, C=CA, serial=11892681842750832289 > 2012-10-09 22:47:08,832 DEBUG [bridge.service.UserContext] > (catalina-exec-int-3:null) initializing a new [anonymous] UserContext! > 2012-10-09 22:47:08,833 DEBUG [cloud.stack.CloudStackClient] > (catalina-exec-int-3:null) Cloud API call + > [http://127.0.0.1:8080/client/api?command=listVirtualMachines&id=ac7703ca-68bc-437f-a687-45f7e0af7158&response=json&listall=true&apikey=9TAhE9nErO3FyFkA4sQIBcz6BwdjZL-J6whVeoQcNNDtzl2qbsHPaA_ebwEOU3X-sIE6ef2PGvuTPrEtdxLjew&signature=ELmVPZF1cvFSjkKCED%2F1mtjXTiw%3D] > 2012-10-09 22:47:08,853 DEBUG [cloud.stack.CloudStackClient] > (catalina-exec-int-3:null) Cloud API call + > [http://127.0.0.1:8080/client/api?command=listVirtualMachines&id=ac7703ca-68bc-437f-a687-45f7e0af7158&response=json&listall=true&apikey=9TAhE9nErO3FyFkA4sQIBcz6BwdjZL-J6whVeoQcNNDtzl2qbsHPaA_ebwEOU3X-sIE6ef2PGvuTPrEtdxLjew&signature=ELmVPZF1cvFSjkKCED%2F1mtjXTiw%3D] > returned: > {"listvirtualmachinesresponse":{"count":1,"virtualmachine":[{"id":"ac7703ca-68bc-437f-a687-45f7e0af7158","name":"ac7703ca-68bc-437f-a687-45f7e0af7158","displayname":"ac7703ca-68bc-437f-a687-45f7e0af7158","account":"hello","domainid":"84b79c96-93b1-474d-bf24-1a3f3b8e171d","domain":"ROOT","created":"2012-10-09T22:39:39-0700","state":"Running","haenable":false,"zoneid":"c2f29592-038e-4b7a-871c-34ae1c559439","zonename":"ZONE-RHEL-ASF","templateid":"6c7d0b07-9f04-4abd-8069-a4208870218e","templatename":"CentOS > 5.6(64-bit) no GUI (XenServer)","templatedisplaytext":"CentOS 5.6(64-bit) no > GUI > (XenServer)","passwordenabled":false,"serviceofferingid":"0c7970fc-b70c-460a-92e0-b4c4280f9d55","serviceofferingname":"m1.large","cpunumber":1,"cpuspeed":100,"memory":124,"cpuused":"0.19%","networkkbsread":2,"networkkbswrite":2,"guestosid":"b366c5fe-bfdf-47b5-b79f-103c6ce59e99","rootdeviceid":0,"rootdevicetype":"NetworkFilesystem","securitygroup":[{"id":"10b78f4f-91a6-47de-a4be-bf024b2a9948","name":"default","description":"Default > Security > Group"}],"nic":[{"id":"98ab6001-f32f-4017-9376-72bdfcdb51fa","networkid":"308de7fe-fe95-45cc-b1d7-3c440d501401","netmask":"255.255.255.192","gateway":"10.223.59.1","ipaddress":"10.223.59.59","traffictype":"Guest","type":"Shared","isdefault":true,"macaddress":"06:1e:e2:00:00:12"}],"hypervisor":"XenServer","tags":[]}]}} > 2012-10-09 22:47:08,856 WARN [core.ec2.EC2Engine] (catalina-exec-int-3:null) > No instanceType match for serviceOfferingId: > [0c7970fc-b70c-460a-92e0-b4c4280f9d55] -- 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