Sowmya Krishnan created CLOUDSTACK-1272: -------------------------------------------
Summary: Autoscale: createAutoScaleVmProfile fails due to unable to retrieve Service Offering id Key: CLOUDSTACK-1272 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1272 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: API Affects Versions: 4.1.0 Environment: RHEL 6.3 Reporter: Sowmya Krishnan Assignee: Vijay Venkatachalam Priority: Critical Fix For: 4.1.0 Autoscale VM Profile creation fails while trying to retrieve specified service offering. Although the specified offering exists in disk offering table. Seems it's trying to retrieve from service offering table? mysql> select * from disk_offering where id =1 \G *************************** 1. row *************************** id: 1 domain_id: NULL name: Small Instance uuid: 7a1c09ce-0a55-423b-883c-50b3c1defa3a display_text: Small Instance disk_size: 0 type: Service tags: NULL recreatable: 0 use_local_storage: 0 unique_name: Cloud.Com-Small Instance system_use: 0 customized: 1 removed: NULL created: 2013-02-14 07:07:20 sort_key: 0 1 row in set (0.00 sec) 2013-02-14 15:49:18,924 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===START=== 10.144.7.15 -- GET command=createAutoScaleVmProfile&response=json&sessionkey=U6QkYDyoyisMgCCWdu1mVK NbWNc%3D&zoneid=d23a5cce-f9c4-4d7a-b9f1-147c648b016f&serviceofferingid=7a1c09ce-0a55-423b-883c-50b3c1defa3a&templateid=3e16868b-12ad-43ce-a84d-e29afb01b247&destroyvmgraceperiod=30&counterpa ram%5B0%5D.name=snmpcommunity&counterparam%5B0%5D.value=public&counterparam%5B1%5D.name=snmpport&counterparam%5B1%5D.value=161&autoscaleuserid=29fd244e-7675-11e2-9990-ca9c098803af&_=1360837 161072 2013-02-14 15:49:18,987 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-2:null) Object entity uuid = 7a1c09ce-0a55-423b-883c-50b3c1defa3a does not exist in the database. 2013-02-14 15:49:18,988 INFO [cloud.api.ApiServer] (catalina-exec-2:null) Unable to execute API command autoscalevmprofile due to invalid value. Invalid parameter value=7a1c09ce-0a55-423b- 883c-50b3c1defa3a due to incorrect long value format, or entity was not found as it may have been deleted, or due to incorrect parameter annotation for the field in api cmd. 2013-02-14 15:49:18,989 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===END=== 10.144.7.15 -- GET command=createAutoScaleVmProfile&response=json&sessionkey=U6QkYDyoyisMgCCWdu1mVKNb WNc%3D&zoneid=d23a5cce-f9c4-4d7a-b9f1-147c648b016f&serviceofferingid=7a1c09ce-0a55-423b-883c-50b3c1defa3a&templateid=3e16868b-12ad-43ce-a84d-e29afb01b247&destroyvmgraceperiod=30&counterpara m%5B0%5D.name=snmpcommunity&counterparam%5B0%5D.value=public&counterparam%5B1%5D.name=snmpport&counterparam%5B1%5D.value=161&autoscaleuserid=29fd244e-7675-11e2-9990-ca9c098803af&_=136083716 1072 -- 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