Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E28AE566 for ; Thu, 14 Feb 2013 10:48:14 +0000 (UTC) Received: (qmail 65526 invoked by uid 500); 14 Feb 2013 10:48:14 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 65473 invoked by uid 500); 14 Feb 2013 10:48:13 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 65447 invoked by uid 99); 14 Feb 2013 10:48:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2013 10:48:13 +0000 Date: Thu, 14 Feb 2013 10:48:12 +0000 (UTC) From: "Sowmya Krishnan (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-1272) Autoscale: createAutoScaleVmProfile fails due to unable to retrieve Service Offering id MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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